Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/overlayfs/util.c ovl_check_metacopy_xattr() -> ovl_path_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | path | 4114910642188832768,8419746976520794112 |
| PARAM_VALUE | 1 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | ox | 7 |
| PARAM_VALUE | 3 | value | 0,2133434110362230784 |
| PARAM_VALUE | 4 | size | 0,68 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | path | $1 |
| DATA_SOURCE | 3 | value | $2 |
| FUZZY_MAX | 4 | size | 68 |
| BIT_INFO | 4 | size | 0x0,0x44 |
| HARD_MAX | 4 | size | 68 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ofs | unit_byte |
| UNITS | 4 | size | unit_byte |
fs/overlayfs/util.c ovl_get_dir_xattr_val() -> ovl_path_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | path | 499869265327333376,3889936344166371328,6543274882898526208,8419746976520794112 |
| PARAM_VALUE | 1 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | ox | 0,3 |
| PARAM_VALUE | 3 | value | 4719132578233556992 |
| PARAM_VALUE | 4 | size | 1 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | path | $1 |
| DATA_SOURCE | 2 | ox | $2 |
| HARD_MAX | 2 | ox | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ofs | unit_byte |
fs/overlayfs/util.c ovl_get_redirect_xattr() -> ovl_path_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 8419746976520794112 |
| PARAM_VALUE | 1 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | ox | 1 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | size | 0 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | path | $1 |
| UNITS | 0 | ofs | unit_byte |
fs/overlayfs/util.c ovl_get_redirect_xattr() -> ovl_path_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | path | 8419746976520794112 |
| PARAM_VALUE | 1 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry->d_inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | ox | 1 |
| PARAM_VALUE | 3 | value | 16,4096-ptr_max |
| PARAM_VALUE | 4 | size | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 3 | value | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | path | $1 |
| DATA_SOURCE | 3 | value | r _kzalloc_noprof |
| DATA_SOURCE | 4 | size | r ovl_path_getxattr |
| UNITS | 0 | ofs | unit_byte |
| UNITS | 4 | size | unit_byte |
fs/overlayfs/util.c ovl_init_uuid_xattr() -> ovl_path_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->config.fsync_mode | 1 |
| PARAM_VALUE | 0 | ofs->config.lowerdirs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->config.metacopy | 0 |
| PARAM_VALUE | 0 | ofs->config.nfs_export | 0 |
| PARAM_VALUE | 0 | ofs->config.redirect_mode | 2-3 |
| PARAM_VALUE | 0 | ofs->config.uuid | 1 |
| PARAM_VALUE | 0 | ofs->config.workdir | 0 |
| PARAM_VALUE | 0 | ofs->fs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->last_ino.counter | 1 |
| PARAM_VALUE | 0 | ofs->layers | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->namelen | 0-s64max |
| PARAM_VALUE | 0 | ofs->numlayer | 2-u32max |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->xino_mode | (-1)-s32max |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 2 | ox | 6 |
| PARAM_VALUE | 4 | size | 16 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs->config.lowerdirs | 8 |
| BUF_SIZE | 3 | value | 16 |
| DATA_SOURCE | 0 | ofs | $1 |
| DATA_SOURCE | 1 | path | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ofs->workbasedir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workbasedir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | ofs->workdir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workdir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workdir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_rdev | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workbasedir_trap->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir->dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir->moved->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_size | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/overlayfs/util.c ovl_init_uuid_xattr() -> ovl_path_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->config.fsync_mode | 1 |
| PARAM_VALUE | 0 | ofs->config.lowerdirs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->config.metacopy | 0 |
| PARAM_VALUE | 0 | ofs->config.nfs_export | 0 |
| PARAM_VALUE | 0 | ofs->config.redirect_mode | 2-3 |
| PARAM_VALUE | 0 | ofs->config.workdir | 0 |
| PARAM_VALUE | 0 | ofs->fs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->last_ino.counter | 1 |
| PARAM_VALUE | 0 | ofs->layers | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->namelen | 0-s64max |
| PARAM_VALUE | 0 | ofs->numlayer | 2-u32max |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->xino_mode | (-1)-s32max |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry->d_inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | ox | 3 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | size | 0 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs->config.lowerdirs | 8 |
| DATA_SOURCE | 0 | ofs | $1 |
| DATA_SOURCE | 1 | path | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ofs->workbasedir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workbasedir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | ofs->workdir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workdir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workdir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_rdev | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workbasedir_trap->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir->dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir->moved->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_size | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/overlayfs/util.c ovl_path_check_origin_xattr() -> ovl_path_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path | 1717100329362649088,2253267263229464576,5319246789548605440 |
| PARAM_VALUE | 2 | ox | 2 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | size | 0 |
| BUF_SIZE | 0 | ofs | (-1),1-s32max |
| BUF_SIZE | 0 | ofs | (-1),1-s32max |
| BUF_SIZE | 0 | ofs->config.lowerdirs | (-1),8 |
| BUF_SIZE | 0 | ofs->workdir | (-1),1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | path | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ofs->workbasedir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workbasedir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | ofs->workdir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workdir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workdir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_rdev | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_size | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | 0 | &ofs->workdir->d_lockref.lock |
fs/overlayfs/util.c ovl_path_check_xwhiteout_xattr() -> ovl_path_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->whiteout->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->whiteout->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workbasedir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ofs->workdir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path | 180084255840456704,235133925711282176,577429184572743680,6449465005263097856,8419746976520794112 |
| PARAM_VALUE | 1 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry->d_inode | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ox | 9 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | size | 0 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs->config.lowerdirs | (-1),8 |
| BUF_SIZE | 0 | ofs->workdir | (-1),1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | path | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ofs->workbasedir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workbasedir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workbasedir_trap->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | ofs->workdir_trap->__i_nlink | 1-u32max |
| USER_DATA | 0 | ofs->workdir_trap->i_blocks | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_bytes | 0-511[c] |
| USER_DATA | 0 | ofs->workdir_trap->i_ino | 0-u64max |
| USER_DATA | 0 | ofs->workdir_trap->i_rdev | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_size | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | 0 | &ofs->workdir->d_lockref.lock |