Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- arch/powerpc/mm/book3s64/hash_utils.c, line 1304
- arch/x86/kernel/apic/vector.c, line 1119
- arch/x86/kernel/tsc_sync.c, line 107
- drivers/char/random.c
- drivers/cpufreq/powernv-cpufreq.c, line 689
- drivers/irqchip/irq-riscv-imsic-state.c, line 217
- drivers/tty/mips_ejtag_fdc.c
- kernel/sched/ext/sub.c, line 411
- kernel/time/clocksource.c, line 688
- kernel/time/timer.c, line 1343
- kernel/workqueue.c
Smatch caller information:
kernel/time/clocksource.c clocksource_start_watchdog() -> add_timer_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 3858974410868531200 |
| PARAM_VALUE | 0 | timer->entry.pprev | 0 |
| PARAM_VALUE | 0 | timer->flags | 0-4194302 |
| PARAM_VALUE | 1 | cpu | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | global &clocksource_mutex | ||
| LOCK2 | global &watchdog_lock |
arch/x86/kernel/apic/vector.c __vector_schedule_cleanup() -> add_timer_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 4096-ptr_max |
| PARAM_VALUE | 0 | timer->entry.pprev | 0 |
| PARAM_VALUE | 1 | cpu | 0-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &vector_lock |
drivers/char/random.c add_interrupt_randomness() -> add_timer_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 4096-ptr_max |
| PARAM_VALUE | 0 | timer->entry.pprev | 0 |
| PARAM_VALUE | 1 | cpu | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/char/random.c try_to_generate_entropy() -> add_timer_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 7385702182021050376 |
| PARAM_VALUE | 0 | timer->entry.pprev | 0 |
| PARAM_VALUE | 0 | timer->flags | 0-4194302 |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kernel/tsc_sync.c tsc_sync_check_timer_fn() -> add_timer_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 3010117610832285696 |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/workqueue.c __queue_delayed_work() -> add_timer_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-8192 |
| BUF_SIZE | 0 | timer | 88 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 1 | cpu | $0 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq_flags |
kernel/workqueue.c __queue_delayed_work() -> add_timer_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | s32min-8191,8193-s32max |
| BUF_SIZE | 0 | timer | 88 |
| DATA_SOURCE | 1 | cpu | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq_flags |