Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/time/alarmtimer.c alarmtimer_suspend() -> rtc_tm_to_ktime()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

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

Type Parameter Key Value
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/interface.c rtc_set_alarm() -> rtc_tm_to_ktime()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rtc->ops_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct rtc_device)->ops_lock

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

Type Parameter Key Value
LOCK2 &rtc->ops_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rtc_device)->ops_lock

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

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock