Defined in 1 files as a function:
Defined in 1 files as a enum:
Referenced in 3 files:
Smatch caller information:
fs/overlayfs/copy_up.c ovl_removexattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 7 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/overlayfs/copy_up.c ovl_setxattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 5 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| CAPPED_DATA | 0 | ofs->casefold | 1 |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/overlayfs/inode.c ovl_getxattr_upper() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 4 |
| 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 | ox | $2 |
| 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_mapping->host->i_bytes | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &upperdentry->d_lockref.lock | ||
| HALF_LOCKED2 | 0 | &ofs->workdir->d_lockref.lock |
fs/overlayfs/inode.c ovl_setxattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ox | 4 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $2 |
| STR_LEN | 0 | ofs | 12 |
| STR_LEN | 0 | ofs | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/overlayfs/util.c ovl_check_setxattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 0-3,7-8 |
| BUF_SIZE | 0 | ofs | (-1),1-s32max |
| BUF_SIZE | 0 | ofs | (-1),1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $2 |
| STR_LEN | 0 | ofs | (-1)-1010101 |
| STR_LEN | 0 | ofs | (-1)-1010101 |
| HARD_MAX | 1 | ox | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ofs | unit_byte |
fs/overlayfs/util.c ovl_getxattr_upper() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 8 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ofs | unit_byte |
fs/overlayfs/util.c ovl_path_getxattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ox | 0-3,6-7,9 |
| 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 | ox | $2 |
| HARD_MAX | 1 | ox | 9 |
| 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->moved->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_mapping->host->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_removexattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ox | 8 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/overlayfs/util.c ovl_setxattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 0-3,6-8 |
| BUF_SIZE | 0 | ofs | (-1),1-s32max |
| BUF_SIZE | 0 | ofs | (-1),1-s32max |
| BUF_SIZE | 0 | ofs->config.lowerdirs | (-1),8 |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $2 |
| STR_LEN | 0 | ofs | (-1)-1010101 |
| STR_LEN | 0 | ofs | (-1)-1010101 |
| HARD_MAX | 1 | ox | 8 |
| 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_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workbasedir_trap->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir->moved->d_inode->i_size | |
| UNITS | 0 | ofs | unit_byte |
fs/overlayfs/super.c ovl_removexattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 0 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs->config.lowerdirs | 8 |
| BUF_SIZE | 0 | ofs->workdir | (-1),1-s32max |
| CAPPED_DATA | 0 | ofs->casefold | 1 |
| CAPPED_DATA | 0 | ofs->workbasedir | 1 |
| CAPPED_DATA | 0 | ofs->workdir | 1 |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $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 | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/overlayfs/super.c ovl_setxattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 0 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs->config.lowerdirs | 8 |
| BUF_SIZE | 0 | ofs->workdir | (-1),1-s32max |
| CAPPED_DATA | 0 | ofs->casefold | 1 |
| CAPPED_DATA | 0 | ofs->workbasedir | 1 |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $2 |
| STR_LEN | 0 | ofs | 1 |
| STR_LEN | 0 | ofs | 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->workbasedir_trap->i_size | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/overlayfs/readdir.c ovl_removexattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 3 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | ox | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/overlayfs/namei.c ovl_getxattr_upper() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 2,5 |
| 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 | ox | $2 |
| HARD_MAX | 1 | ox | 5 |
| 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_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_size | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &upperdentry->d_lockref.lock | ||
| HALF_LOCKED2 | 0 | &ofs->workdir->d_lockref.lock |
fs/overlayfs/namei.c ovl_setxattr() -> ovl_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | ox | 2,5 |
| 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 | ox | $2 |
| HARD_MAX | 1 | ox | 5 |
| 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_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ofs->workdir_trap->i_size | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | 0 | &ofs->workdir->d_lockref.lock |