Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/overlayfs/copy_up.c ovl_copy_xattr() -> ovl_do_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 3739070382198779904,7226701679351574544 |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode->i_op->listxattr | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 1-u64max |
| PARAM_VALUE | 2 | value | 0-18446744073709551614 |
| PARAM_VALUE | 3 | size | 0-s32max |
| BUF_SIZE | 1 | name | 1-9223372036854775807,u64max |
| BUF_SIZE | 1 | name | 1-9223372036854775807,u64max |
| BUF_SIZE | 2 | value | 0-s32max |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | path | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| BYTE_COUNT | 2 | ==value3 | 8050 |
fs/overlayfs/copy_up.c ovl_copy_xattr() -> ovl_do_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 3739070382198779904,7226701679351574544 |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | path->dentry->d_inode->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode->i_op->listxattr | 4096-ptr_max |
| PARAM_VALUE | 0 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 1-u64max |
| PARAM_VALUE | 2 | value | 0 |
| PARAM_VALUE | 3 | size | 0 |
| BUF_SIZE | 1 | name | 1-9223372036854775807,u64max |
| BUF_SIZE | 1 | name | 1-9223372036854775807,u64max |
| DATA_SOURCE | 0 | path | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/overlayfs/copy_up.c ovl_getxattr_value() -> ovl_do_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 5708348888096567296 |
| PARAM_VALUE | 0 | path->dentry | 1-u64max |
| PARAM_VALUE | 1 | name | 2631449223765061632 |
| PARAM_VALUE | 2 | value | 0 |
| PARAM_VALUE | 3 | size | 0 |
| BUF_SIZE | 1 | name | 20 |
| BUF_SIZE | 1 | name | 20 |
| DATA_SOURCE | 0 | path | $0 |
| DATA_SOURCE | 1 | name | $1 |
| STR_LEN | 0 | path | 19 |
| STR_LEN | 0 | path | 19 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/overlayfs/copy_up.c ovl_getxattr_value() -> ovl_do_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 5708348888096567296 |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 2631449223765061632 |
| PARAM_VALUE | 2 | value | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 1-4000000 |
| BUF_SIZE | 1 | name | 20 |
| BUF_SIZE | 1 | name | 20 |
| BUF_SIZE | 2 | value | 1-s32max |
| DATA_SOURCE | 0 | path | $0 |
| DATA_SOURCE | 1 | name | $1 |
| DATA_SOURCE | 2 | value | r _kzalloc_noprof |
| DATA_SOURCE | 3 | size | r ovl_do_getxattr |
| STR_LEN | 0 | path | 19 |
| STR_LEN | 0 | path | 19 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| BYTE_COUNT | 2 | ==value3 | 8050 |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/overlayfs/inode.c ovl_getxattr_upper() -> ovl_do_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 3420901612049854464 |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | value | 1164334029402009600 |
| PARAM_VALUE | 3 | size | 12 |
| BUF_SIZE | 2 | value | 13 |
| BUF_SIZE | 2 | value | 13 |
| DATA_SOURCE | 2 | value | $3 |
| DATA_SOURCE | 3 | size | $4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &ofs->workdir->d_lockref.lock | ||
| HALF_LOCKED2 | &upperdentry->d_lockref.lock |
fs/overlayfs/util.c ovl_getxattr_upper() -> ovl_do_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 8109236853162250240 |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | value | 4515388495969271808 |
| PARAM_VALUE | 3 | size | 32 |
| BUF_SIZE | 2 | value | 33 |
| BUF_SIZE | 2 | value | 33 |
| DATA_SOURCE | 2 | value | $3 |
| DATA_SOURCE | 3 | size | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/overlayfs/util.c ovl_path_getxattr() -> ovl_do_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 3 | size | 0-s32max |
| BUF_SIZE | 0 | path->dentry | (-1),1-s32max |
| BUF_SIZE | 2 | value | (-1),16 |
| BUF_SIZE | 2 | value | (-1),16 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 2 | value | $3 |
| DATA_SOURCE | 3 | size | $4 |
| FUZZY_MAX | 3 | size | 68 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
fs/overlayfs/namei.c ovl_getxattr_upper() -> ovl_do_getxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 6221606682605187072 |
| PARAM_VALUE | 3 | size | 0-3999997 |
| DATA_SOURCE | 2 | value | $3 |
| DATA_SOURCE | 3 | size | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ofs->workdir->d_lockref.lock | ||
| HALF_LOCKED2 | &upperdentry->d_lockref.lock |