Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rtc/proc.c rtc_proc_add_device() -> is_rtc_hctosys()

Type Parameter Key Value
PARAM_VALUE 0 rtc 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
DATA_SOURCE 0 rtc $0
NO_OVERFLOW_SIMPLE 0 rtc->char_dev.count

drivers/rtc/proc.c rtc_proc_del_device() -> is_rtc_hctosys()

Type Parameter Key Value
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
DATA_SOURCE 0 rtc $0
LOCK2 0 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock