Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/rtc/interface.c __rtc_read_alarm() -> rtc_add_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->offset_secs | s64min-(-1),1-s64max |
| PARAM_VALUE | 1 | tm | 2412595738338004996 |
| PARAM_VALUE | 1 | tm->tm_isdst | (-1)-0 |
| PARAM_VALUE | 1 | tm->tm_mday | (-1),1-31 |
| PARAM_VALUE | 1 | tm->tm_mon | (-10)-13 |
| PARAM_VALUE | 1 | tm->tm_yday | (-1),1-366 |
| CAPPED_DATA | 0 | rtc->start_secs | 1 |
| DATA_SOURCE | 0 | rtc | $0 |
| NOCHECK_CALL |
drivers/rtc/interface.c __rtc_read_time() -> rtc_add_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | tm | 4096-ptr_max |
| PARAM_VALUE | 1 | tm->tm_isdst | 0 |
| PARAM_VALUE | 1 | tm->tm_mday | 0 |
| PARAM_VALUE | 1 | tm->tm_mon | 0 |
| PARAM_VALUE | 1 | tm->tm_yday | 0 |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| DATA_SOURCE | 1 | tm | $1 |
| MEM_ZERO | 1 | tm | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rtc->char_dev.count | |
| UNITS | 0 | rtc | unit_array_size |
| LOCK2 | 0 | &rtc->ops_lock | |
| TYPE_LOCK | (struct rtc_device)->ops_lock |