Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/remap_range.c fsnotify_file_area_perm() -> fsnotify_pre_content()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 1 *ppos 0-s64max
PARAM_VALUE 2 count 0-9223372036854775807
DATA_SOURCE 1 ppos $2
DATA_SOURCE 2 count $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ppos 0-s64max
USER_DATA 2 count 0-9223372036854775807
UNITS 2 count unit_byte
USER_PTR 1 ppos

mm/util.c fsnotify_mmap_perm() -> fsnotify_pre_content()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 1 *ppos s64min-(-4096),0,4096-s64max
DATA_SOURCE 2 count $3
RX_PATH
USER_DATA 1 *ppos s64min-(-4096),0,4096-s64max
USER_DATA 2 count 0-u64max
UNITS 2 count unit_byte
USER_PTR 1 ppos

fs/read_write.c fsnotify_file_area_perm() -> fsnotify_pre_content()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 1 ppos 0,4096-ptr_max
PARAM_VALUE 2 count 0-9223372036854775807
BUF_SIZE 1 ppos (-1),8
BUF_SIZE 1 ppos (-1),8
DATA_SOURCE 1 ppos $2
DATA_SOURCE 2 count $3
FUZZY_MAX 2 count 0
NOSPEC 1 *ppos
NOSPEC 2 count
NOSPEC 2 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ppos s64min-s64max
USER_DATA 2 count 0-9223372036854775807
UNITS 2 count unit_byte
USER_PTR 1 ppos
HALF_LOCKED2 &inode_out->i_rwsem

fs/readdir.c fsnotify_file_area_perm() -> fsnotify_pre_content()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 1 ppos 0
PARAM_VALUE 2 count 0
DATA_SOURCE 1 ppos $2
DATA_SOURCE 2 count $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/open.c fsnotify_file_area_perm() -> fsnotify_pre_content()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 1 *ppos 0-s64max
PARAM_VALUE 2 count 1-9223372036854775807
DATA_SOURCE 1 ppos $2
DATA_SOURCE 2 count $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ppos 0-s64max
USER_DATA 2 count 1-9223372036854775807
UNITS 2 count unit_byte
USER_PTR 1 ppos
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/open.c fsnotify_truncate_perm() -> fsnotify_pre_content()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->dentry 4096-ptr_max
PARAM_VALUE 0 path->dentry->d_inode 4096-ptr_max
PARAM_VALUE 0 path->dentry->d_inode->i_sb 4096-ptr_max
PARAM_VALUE 0 path->dentry->d_inode->i_sb->s_fsnotify_info 1-u64max
PARAM_VALUE 0 path->dentry->d_inode->i_sb->s_iflags 16384-u64max
PARAM_VALUE 2 count 0
DATA_SOURCE 0 path $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ppos (-9223372036854771712)-s64max
USER_PTR 1 ppos