Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/kernel/cpu/bugs.c cpu_bugs_smt_update() -> unprivileged_ebpf_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kernel/cpu/bugs.c spectre_v2_apply_mitigation() -> unprivileged_ebpf_enabled()
| Type | Parameter | Key | Value |
|---|
arch/x86/kernel/cpu/bugs.c spectre_v2_show_state() -> unprivileged_ebpf_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c spectre_v2_show_state() -> unprivileged_ebpf_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |