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_show() -> show_cache_disable()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 slot 0
BUF_SIZE 0 ci s32min-(-2),1-s32max
BUF_SIZE 0 ci s32min-(-2),1-s32max
CAPPED_DATA 1 buf 1
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ci unit_byte
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_show() -> show_cache_disable()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 slot 1
BUF_SIZE 0 ci s32min-(-2),1-s32max
BUF_SIZE 0 ci s32min-(-2),1-s32max
CAPPED_DATA 1 buf 1
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ci unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex