Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kernel/cpu/amd_cache_disable.c cache_disable_0_store() -> store_cache_disable()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 count 1-1000000000
PARAM_VALUE 3 slot 0
BUF_SIZE 0 ci s32min-(-2),1-s32max
BUF_SIZE 0 ci s32min-(-2),1-s32max
CAPPED_DATA 2 count 1
CAPPED_DATA 2 count 1
DATA_SOURCE 1 buf $2
DATA_SOURCE 2 count $3
NOSPEC 2 count
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ci unit_byte
ELEM_LAST 1 ==buf2 8052
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 cache_disable_1_store() -> store_cache_disable()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 count 1-1000000000
PARAM_VALUE 3 slot 1
BUF_SIZE 0 ci s32min-(-2),1-s32max
BUF_SIZE 0 ci s32min-(-2),1-s32max
CAPPED_DATA 2 count 1
CAPPED_DATA 2 count 1
DATA_SOURCE 1 buf $2
DATA_SOURCE 2 count $3
NOSPEC 2 count
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ci unit_byte
ELEM_LAST 1 ==buf2 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex