Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/memcontrol.c peak_open() -> of_peak()

Type Parameter Key Value
PARAM_VALUE 0 of 4096-ptr_max
PARAM_VALUE 0 of->priv 4096-ptr_max
BUF_SIZE 0 of 392
BUF_SIZE 0 of->file (-1),1-s32max
BUF_SIZE 0 of->kn s32min-(-2),1-s32max
BUF_SIZE 0 of->priv 160
BUF_SIZE 0 of->seq_file->private 392
DATA_SOURCE 0 of $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 of->file->f_flags 0-u32max
USER_DATA 0 of->file->f_mode 0,4-u32max

mm/memcontrol.c peak_release() -> of_peak()

Type Parameter Key Value
PARAM_VALUE 0 of 4096-ptr_max
BUF_SIZE 0 of s32min-(-1),1-s32max
BUF_SIZE 0 of s32min-(-1),1-s32max
CAPPED_DATA 0 of->kn->__parent 1
DATA_SOURCE 0 of $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 mutex
HALF_LOCKED2 &root->kernfs_rwsem

mm/memcontrol.c peak_show() -> of_peak()

Type Parameter Key Value
PARAM_VALUE 0 of 4096-ptr_max
BUF_SIZE 0 of s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 of unit_array_size
LOCK2 &sf->lock
TYPE_LOCK (struct seq_file)->lock

mm/memcontrol.c peak_write() -> of_peak()

Type Parameter Key Value
PARAM_VALUE 0 of 4096-ptr_max
BUF_SIZE 0 of s32min-(-2),1-s32max
BUF_SIZE 0 of s32min-(-2),1-s32max
CAPPED_DATA 0 of->kn->__parent 1
DATA_SOURCE 0 of $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &of->prealloc_mutex
TYPE_LOCK (struct kernfs_open_file)->mutex