Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/kernel/cpu/amd_cache_disable.c amd_set_l3_disable_slot() -> amd_get_l3_disable_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | slot | 0-1 |
| DATA_SOURCE | 0 | nb | $0 |
| DATA_SOURCE | 1 | slot | $2 |
| CAPABLE | 0 | 21 | |
| HARD_MAX | 1 | slot | 1 |
| 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/amd_cache_disable.c amd_set_l3_disable_slot() -> amd_get_l3_disable_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->misc | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->misc->error_state | 0-2,4-u32max |
| PARAM_VALUE | 1 | slot | 0-1 |
| DATA_SOURCE | 0 | nb | $0 |
| FUZZY_MAX | 1 | slot | 1 |
| CAPABLE | 0 | 21 | |
| HARD_MAX | 1 | slot | 1 |
| 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/amd_cache_disable.c show_cache_disable() -> amd_get_l3_disable_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | slot | 0-1 |
| DATA_SOURCE | 1 | slot | $2 |
| HARD_MAX | 1 | slot | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |