Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/rtc/rtc-sc27xx.c sprd_rtc_set_alarm() -> rtc_ktime_to_tm()

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

drivers/rtc/interface.c rtc_read_alarm() -> rtc_ktime_to_tm()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kt unit_array_size
LOCK2 &rtc->ops_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &seq->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/interface.c rtc_read_next_alarm() -> rtc_ktime_to_tm()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kt unit_array_size
LOCK2 &rtc->ops_lock
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock
TYPE_LOCK (struct rtc_device)->ops_lock

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

Type Parameter Key Value
PARAM_VALUE 0 kt (-9223372036854775807)-s64max
UNITS 0 kt unit_array_size
LOCK2 &rtc->ops_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rtc_device)->ops_lock

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

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

drivers/rtc/interface.c rtc_timer_remove() -> rtc_ktime_to_tm()

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

drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> rtc_ktime_to_tm()

Type Parameter Key Value
DATA_SOURCE 0 kt r ktime_sub_us
HALF_LOCKED2 &pool->lock