Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
Smatch caller information:
fs/xattr.c listxattr() -> vfs_listxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | list | 0-18446744073709551614 |
| PARAM_VALUE | 2 | size | 0-65536 |
| BUF_SIZE | 1 | list | 0-65536 |
| BUF_SIZE | 1 | list | 0-65536 |
| CAPPED_DATA | 2 | size | 1 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 0 | dentry | $0 |
| DATA_SOURCE | 2 | size | $2 [m] |
| FUZZY_MAX | 2 | size | 65536 |
| USER_DATA | 2 | size | 0-65536[c] |
| UNITS | 2 | size | unit_byte |
| BYTE_COUNT | 1 | ==list2 | 8050 |
fs/overlayfs/copy_up.c ovl_copy_xattr() -> vfs_listxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_inode->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_inode->i_op->listxattr | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 0 |
| PARAM_VALUE | 2 | size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/overlayfs/copy_up.c ovl_copy_xattr() -> vfs_listxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_inode->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_inode->i_op->listxattr | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 1-18446744073709551614 |
| PARAM_VALUE | 2 | size | 1-9223372036854775807 |
| BUF_SIZE | 1 | list | 1-9223372036854775807 |
| BUF_SIZE | 1 | list | 1-9223372036854775807 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 1 | list | r __kvmalloc_node_noprof |
| DATA_SOURCE | 2 | size | r vfs_listxattr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| BYTE_COUNT | 1 | ==list2 | 8050 |
fs/nfsd/vfs.c nfsd_listxattr() -> vfs_listxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | list | 0 |
| PARAM_VALUE | 2 | size | 0 |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfsd/vfs.c nfsd_listxattr() -> vfs_listxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | list | 1-18446744073709551614 |
| PARAM_VALUE | 2 | size | 1-65536 |
| BUF_SIZE | 1 | list | 1-65536 |
| BUF_SIZE | 1 | list | 1-65536 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 1 | list | r __kvmalloc_node_noprof |
| DATA_SOURCE | 2 | size | r vfs_listxattr |
| UNITS | 2 | size | unit_byte |
| BYTE_COUNT | 1 | ==list2 | 8050 |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/server/vfs.c ksmbd_vfs_listxattr() -> vfs_listxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dentry->d_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | list | 0 |
| PARAM_VALUE | 2 | size | 0 |
| DATA_SOURCE | 0 | dentry | $0 |
| NO_OVERFLOW_SIMPLE | 0 | dentry->dentry->d_inode->i_size | |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/vfs.c ksmbd_vfs_listxattr() -> vfs_listxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | list | 1-18446744073709551614 |
| PARAM_VALUE | 2 | size | 1-9223372036854775807 |
| BUF_SIZE | 1 | list | 1-9223372036854775807 |
| BUF_SIZE | 1 | list | 1-9223372036854775807 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 0 | dentry | $0 |
| DATA_SOURCE | 1 | list | r __kvmalloc_node_noprof |
| DATA_SOURCE | 2 | size | r vfs_listxattr |
| NO_OVERFLOW_SIMPLE | 0 | dentry->dentry->d_inode->i_size | |
| UNITS | 2 | size | unit_byte |
| BYTE_COUNT | 1 | ==list2 | 8050 |
| HALF_LOCKED2 | &pool->lock |
fs/overlayfs/xattrs.c ovl_listxattr() -> vfs_listxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | list | (-1)-s32max |
| BUF_SIZE | 1 | list | (-1)-s32max |
| DATA_SOURCE | 0 | dentry | r ovl_dentry_real |
| DATA_SOURCE | 1 | list | $1 |
| DATA_SOURCE | 2 | size | $2 |
| PARAM_COMPARE | 1 | list | == $2 |
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | size | 0-65536 |
| BYTE_COUNT | 1 | ==list2 | 8050 |