Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/rtc/interface.c
- include/linux/posix-timers.h, line 73
- kernel/time/alarmtimer.c, line 154
- kernel/time/timer_migration.c, line 867
- lib/timerqueue.c, line 42
Smatch caller information:
kernel/time/posix-cpu-timers.c cpu_timer_enqueue() -> timerqueue_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | head | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &timer->it_lock | ||
| HALF_LOCKED2 | irq |
kernel/time/timer_migration.c tmigr_update_events() -> timerqueue_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &group->lock | ||
| HALF_LOCKED2 | &child->lock | ||
| TYPE_LOCK | (struct tmigr_group)->lock |
kernel/time/alarmtimer.c alarmtimer_enqueue() -> timerqueue_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | node->expires | 0-9223372035999999999[c] |
| LOCK2 | &base->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &ctx->wqh.lock | ||
| HALF_LOCKED2 | &timr->it_lock | ||
| TYPE_LOCK | (struct alarm_base)->lock |
drivers/rtc/interface.c rtc_initialize_alarm() -> timerqueue_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->expires | (-9223372036854775807)-s64max |
| NOCHECK_CALL | |||
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/interface.c rtc_timer_do_work() -> timerqueue_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->rb_root.rb_root.rb_node | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &rtc->ops_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/interface.c rtc_timer_enqueue() -> timerqueue_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |