Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/rtc/class.c, line 32
- drivers/rtc/interface.c
- kernel/time/alarmtimer.c, line 245
- kernel/time/posix-cpu-timers.c
- kernel/time/timer_migration.c, line 606
Smatch caller information:
kernel/time/posix-cpu-timers.c cleanup_timerqueue() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| DATA_SOURCE | 0 | head | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &sighand->siglock | ||
| HALF_LOCKED2 | global &tasklist_lock | ||
| TYPE_LOCK | (struct sighand_struct)->siglock |
kernel/time/posix-cpu-timers.c cleanup_timerqueue() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| DATA_SOURCE | 0 | head | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &sighand->siglock | ||
| HALF_LOCKED2 | global &tasklist_lock | ||
| TYPE_LOCK | (struct sighand_struct)->siglock |
kernel/time/posix-cpu-timers.c collect_timerqueue() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| DATA_SOURCE | 0 | head | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cw->mutex | ||
| LOCK2 | &tsk->sighand->siglock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu | ||
| TYPE_LOCK | (struct posix_cputimers_work)->mutex | ||
| TYPE_LOCK | (struct sighand_struct)->siglock |
kernel/time/posix-cpu-timers.c collect_timerqueue() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| DATA_SOURCE | 0 | head | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cw->mutex | ||
| LOCK2 | &tsk->sighand->siglock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu | ||
| TYPE_LOCK | (struct posix_cputimers_work)->mutex | ||
| TYPE_LOCK | (struct sighand_struct)->siglock |
drivers/rtc/class.c rtc_device_release() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| BUF_SIZE | 0 | head | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/class.c rtc_device_release() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| BUF_SIZE | 0 | head | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
kernel/time/timer_migration.c tmigr_next_groupevt() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &group->lock | ||
| HALF_LOCKED2 | &group->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct tmigr_group)->lock |
kernel/time/timer_migration.c tmigr_next_groupevt() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &group->lock | ||
| HALF_LOCKED2 | &group->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct tmigr_group)->lock |
kernel/time/alarmtimer.c alarmtimer_suspend() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &base->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct alarm_base)->lock |
drivers/rtc/interface.c rtc_read_next_alarm() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| LOCK2 | &rtc->ops_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/interface.c rtc_timer_do_work() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| LOCK2 | &rtc->ops_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/interface.c rtc_timer_enqueue() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/interface.c rtc_timer_remove() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/interface.c rtc_timer_remove() -> timerqueue_getnext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |