Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/platform/x86/amd/pmc/pmc.c amd_pmc_verify_czn_rtc() -> 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->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rtc->owner 0,4096-ptr_max
PARAM_VALUE 0 rtc->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 rtc->owner->state 0-1,3-u32max
PARAM_VALUE 1 tm 2495788706947489792
DATA_SOURCE 0 rtc r rtc_class_open
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock

drivers/rtc/proc.c rtc_proc_show() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 tm 6992799668254384128
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_array_size
LOCK2 &seq->lock
TYPE_LOCK (struct seq_file)->lock

drivers/rtc/class.c rtc_hctosys() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 rtc->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 rtc->dev.parent->class 0,4096-ptr_max
PARAM_VALUE 0 rtc->dev.parent->driver 0,4096-ptr_max
PARAM_VALUE 0 rtc->ops 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 1 tm 1262655540885934080
DATA_SOURCE 0 rtc $0
NO_OVERFLOW_SIMPLE 0 rtc->char_dev.count

drivers/rtc/class.c rtc_resume() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 tm 4727267135201431552
RX_PATH
TASK_NOT_RUNNING

drivers/rtc/class.c rtc_suspend() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 tm 1393813106920665088
RX_PATH
TASK_NOT_RUNNING

drivers/rtc/sysfs.c date_show() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 1 tm 1995518984275963904
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/rtc/sysfs.c since_epoch_show() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 1 tm 2976671632434667520
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/rtc/sysfs.c time_show() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 1 tm 5541202086121431040
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/rtc/sysfs.c wakealarm_store() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 1 tm 5708819620589129732
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/rtc/dev.c rtc_dev_ioctl() -> 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-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->usage.refs.counter s32min-s32max
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 1 tm 5131844922220883968
BUF_SIZE 0 rtc (-1),26
BUF_SIZE 0 rtc (-1),26
CAPPED_DATA 0 &rtc->ops_lock 1
RX_PATH
TASK_NOT_RUNNING

drivers/rtc/dev.c rtc_dev_ioctl() -> 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-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->usage.refs.counter s32min-s32max
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 1 tm 5131844922220883968
BUF_SIZE 0 rtc (-1),26
BUF_SIZE 0 rtc (-1),26
CAPPED_DATA 0 &rtc->ops_lock 1
RX_PATH
TASK_NOT_RUNNING

drivers/rtc/dev.c rtc_uie_task() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 tm 6357338738717433856
HALF_LOCKED2 &pool->lock

drivers/rtc/dev.c set_uie() -> 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-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 1 tm 4803094613472329728
BUF_SIZE 0 rtc (-1),26
BUF_SIZE 0 rtc (-1),26
DATA_SOURCE 0 rtc $0
RX_PATH
TASK_NOT_RUNNING

kernel/time/alarmtimer.c alarmtimer_suspend() -> 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->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rtc->timerqueue.rb_root.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 1 tm 6572686813137915904
DATA_SOURCE 0 rtc r alarmtimer_get_rtcdev
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/power/suspend_test.c test_wakealarm() -> rtc_read_time()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->owner 0,4096-ptr_max
PARAM_VALUE 0 rtc->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 rtc->owner->state 0-1,3-u32max
PARAM_VALUE 1 tm 433456976781529092
DATA_SOURCE 0 rtc $0

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

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->ops 4096-ptr_max
PARAM_VALUE 1 tm 2098562572887838720
DATA_SOURCE 0 rtc $0

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

Type Parameter Key Value
PARAM_VALUE 0 rtc 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_alarm 1-u64max
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.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 tm 2569622413760032768
CAPPED_DATA 0 rtc->start_secs 1
DATA_SOURCE 0 rtc $0

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

Type Parameter Key Value
PARAM_VALUE 0 rtc 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_alarm 1-u64max
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.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 rtc->ops_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rtc->ops_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 tm 5421251623206739968
CAPPED_DATA 0 rtc->start_secs 1
DATA_SOURCE 0 rtc $0