Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rtc/interface.c __rtc_set_alarm() -> __rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->ops_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rtc->ops_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 tm 4272694683130732544
BUF_SIZE 0 rtc (-1),26
BUF_SIZE 0 rtc (-1),26
DATA_SOURCE 0 rtc $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/interface.c __rtc_set_alarm() -> __rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->features 4096-ptr_max
PARAM_VALUE 0 rtc->offset_secs s64min-(-1),1-s64max
PARAM_VALUE 0 rtc->ops 4096-ptr_max
PARAM_VALUE 0 rtc->ops->read_time 1-u64max
PARAM_VALUE 0 rtc->ops_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rtc->ops_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 tm 4272694683130732544
PARAM_VALUE 1 tm->tm_isdst 0
PARAM_VALUE 1 tm->tm_mday 1-31
PARAM_VALUE 1 tm->tm_mon (-10)-11
PARAM_VALUE 1 tm->tm_yday 1-366
BUF_SIZE 0 rtc (-1),26
BUF_SIZE 0 rtc (-1),26
CAPPED_DATA 0 rtc->range_min 1
CAPPED_DATA 0 rtc->start_secs 1
DATA_SOURCE 0 rtc $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/interface.c rtc_read_time() -> __rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 rtc->ops_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rtc->ops_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 tm 4096-ptr_max
BUF_SIZE 0 rtc s32min-(-1),1-s32max
BUF_SIZE 0 rtc s32min-(-1),1-s32max
CAPPED_DATA 0 &rtc->ops_lock 1
DATA_SOURCE 0 rtc $0
DATA_SOURCE 1 tm $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 rtc->char_dev.count
UNITS 0 rtc unit_array_size
LOCK2 0 &rtc->ops_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/interface.c rtc_timer_do_work() -> __rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->ops_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rtc->ops_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 tm 6128924479633453056
CAPPED_DATA 0 &rtc->ops_lock 1
LOCK2 0 &rtc->ops_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/interface.c rtc_timer_enqueue() -> __rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->ops_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rtc->ops_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 tm 7727953689276301312
BUF_SIZE 0 rtc (-1),26
BUF_SIZE 0 rtc (-1),26
DATA_SOURCE 0 rtc $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/interface.c rtc_update_irq_enable() -> __rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->features 4096-ptr_max
PARAM_VALUE 0 rtc->ops_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rtc->ops_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 tm 180594849700036608
BUF_SIZE 0 rtc (-1),26
BUF_SIZE 0 rtc (-1),26
CAPPED_DATA 0 &rtc->ops_lock 1
DATA_SOURCE 0 rtc $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock