Defined in 2 files as a function:
Referenced in 4 files:
- kernel/module/main.c, line 518
- kernel/rcu/srcutree.c
- kernel/time/clocksource.c, line 688
- mm/percpu.c, line 2313
Smatch caller information:
mm/percpu.c __is_kernel_percpu_address() -> get_boot_cpu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags |
kernel/time/clocksource.c clocksource_start_watchdog() -> get_boot_cpu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &clocksource_mutex | ||
| LOCK2 | global &watchdog_lock |
kernel/rcu/srcutree.c srcu_barrier() -> get_boot_cpu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ssp->srcu_sup->srcu_barrier_mutex | ||
| TYPE_LOCK | (struct srcu_usage)->srcu_barrier_mutex |
kernel/rcu/srcutree.c srcu_gp_end() -> get_boot_cpu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &ssp->srcu_sup->srcu_gp_mutex | ||
| LOCK2 | &sup->srcu_cb_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct srcu_usage)->srcu_cb_mutex |
kernel/rcu/srcutree.c srcu_gp_start_if_needed() -> get_boot_cpu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/module/main.c __is_module_percpu_address() -> get_boot_cpu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | flags |