Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/gfs2/dir.c gfs2_dir_read() -> gfs2_set_cookies()

Type Parameter Key Value
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data->mh_type 4,6
PARAM_VALUE 2 leaf_nr 0
PARAM_VALUE 3 darr 4096-ptr_max
PARAM_VALUE 4 entries 1-u32max
BUF_SIZE 0 sdp 1-s32max
BUF_SIZE 0 sdp 1-s32max
BUF_SIZE 3 darr 768
BUF_SIZE 3 darr 768
CAPPED_DATA 1 bh->b_size 1
CAPPED_DATA 4 entries 1
DATA_SOURCE 3 darr r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sdp unit_byte

fs/gfs2/dir.c gfs2_dir_read_leaf() -> gfs2_set_cookies()

Type Parameter Key Value
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data 4096-ptr_max
PARAM_VALUE 1 bh->b_data->lf_entries 1-u16max
PARAM_VALUE 1 bh->b_data->mh_type 4,6
PARAM_VALUE 1 bh->b_size 144-u32max
PARAM_VALUE 3 darr 4096-ptr_max
PARAM_VALUE 4 entries 1-u16max
BUF_SIZE 0 sdp 1-s32max
BUF_SIZE 0 sdp 1-s32max
CAPPED_DATA 1 bh->b_size 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sdp unit_byte
HALF_LOCKED2 &inode->i_rwsem