Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ext4/sysfs.c ext4_generic_attr_show() -> calc_ptr()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 1 sbi 4096-ptr_max
DATA_SOURCE 0 a $0
DATA_SOURCE 1 sbi $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

fs/ext4/sysfs.c ext4_generic_attr_store() -> calc_ptr()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 1 sbi 4096-ptr_max
DATA_SOURCE 0 a $0
DATA_SOURCE 1 sbi $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