Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/rtc/rtc-isl1208.c isl1208_i2c_set_alarm() -> rtc_tm_sub()

Type Parameter Key Value
PARAM_VALUE 0 lhs 20449480456105988,5782819413759840260,7637157372424630276
PARAM_VALUE 0 lhs->tm_mday 1-32
PARAM_VALUE 0 lhs->tm_mon s32min-13
PARAM_VALUE 1 rhs 8908535588566306816
PARAM_VALUE 1 rhs->tm_hour 0-177
PARAM_VALUE 1 rhs->tm_mday 0-165
PARAM_VALUE 1 rhs->tm_min 0-165
PARAM_VALUE 1 rhs->tm_mon (-1)-164
PARAM_VALUE 1 rhs->tm_sec 0-165
PARAM_VALUE 1 rhs->tm_year 100-265
BUF_SIZE 0 lhs 36
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-sc27xx.c sprd_rtc_set_alarm() -> rtc_tm_sub()

Type Parameter Key Value
PARAM_VALUE 0 lhs 7022497934657228800
PARAM_VALUE 1 rhs 20449480456105988,5782819413759840260,7637157372424630276
PARAM_VALUE 1 rhs->tm_mday 1-32
PARAM_VALUE 1 rhs->tm_mon s32min-13
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-sunxi.c sunxi_rtc_setalarm() -> rtc_tm_sub()

Type Parameter Key Value
PARAM_VALUE 0 lhs 20449480456105988,5782819413759840260,7637157372424630276
PARAM_VALUE 0 lhs->tm_mday 1-32
PARAM_VALUE 0 lhs->tm_mon s32min-13
PARAM_VALUE 1 rhs 6667369221275734016
PARAM_VALUE 1 rhs->tm_hour 0-31
PARAM_VALUE 1 rhs->tm_mday 0-31
PARAM_VALUE 1 rhs->tm_min 0-63
PARAM_VALUE 1 rhs->tm_mon (-1)-14
PARAM_VALUE 1 rhs->tm_sec 0-63
BUF_SIZE 0 lhs 36
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-isl12022.c isl12022_rtc_set_alarm() -> rtc_tm_sub()

Type Parameter Key Value
PARAM_VALUE 0 lhs 20449480456105988,5782819413759840260,7637157372424630276
PARAM_VALUE 0 lhs->tm_mday 1-32
PARAM_VALUE 0 lhs->tm_mon s32min-13
PARAM_VALUE 1 rhs 1181208797480755200
PARAM_VALUE 1 rhs->tm_hour 0-165
PARAM_VALUE 1 rhs->tm_mday 0-165
PARAM_VALUE 1 rhs->tm_min 0-165
PARAM_VALUE 1 rhs->tm_mon (-1)-164
PARAM_VALUE 1 rhs->tm_sec 0-165
PARAM_VALUE 1 rhs->tm_year 100-265
BUF_SIZE 0 lhs 36
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-rzn1.c rzn1_rtc_alarm_irq_enable() -> rtc_tm_sub()

Type Parameter Key Value
PARAM_VALUE 0 lhs 4096-ptr_max
PARAM_VALUE 1 rhs 8747681634377367552
PARAM_VALUE 1 rhs->tm_hour 0-165
PARAM_VALUE 1 rhs->tm_mday 0-165
PARAM_VALUE 1 rhs->tm_min 0-165
PARAM_VALUE 1 rhs->tm_mon (-1)-164
PARAM_VALUE 1 rhs->tm_sec 0-165
PARAM_VALUE 1 rhs->tm_year 100-265
BUF_SIZE 0 lhs 36
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 rhs->tm_wday 0-15
LOCK2 &rtc->ctl1_access_lock
LOCK2 &rtc->ops_lock
LOCK2 irq
TYPE_LOCK (struct rtc_device)->ops_lock
TYPE_LOCK (struct rzn1_rtc)->ctl1_access_lock