Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/smb/server/smb2pdu.c smb2_rename() -> ksmbd_vfs_setxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | attr_name | 1-u64max |
| PARAM_VALUE | 2 | *attr_name | 0-255 |
| PARAM_VALUE | 3 | attr_value | 0 |
| PARAM_VALUE | 4 | attr_size | 0 |
| PARAM_VALUE | 5 | flags | 0 |
| PARAM_VALUE | 6 | get_write | 1 |
| LOCK2 | &pool->lock |
fs/smb/server/smb2pdu.c smb2_set_ea() -> ksmbd_vfs_setxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | path->dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path->dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | attr_name | 4096-ptr_max |
| PARAM_VALUE | 3 | attr_value | 4096-ptr_max |
| PARAM_VALUE | 4 | attr_size | 1-u16max |
| PARAM_VALUE | 5 | flags | 0 |
| PARAM_VALUE | 6 | get_write | 1 |
| BUF_SIZE | 2 | attr_name | 256 |
| BUF_SIZE | 2 | attr_name | 256 |
| DATA_SOURCE | 1 | path | $2 |
| DATA_SOURCE | 2 | attr_name | r _kmalloc_noprof |
| DATA_SOURCE | 6 | get_write | $3 |
| TERMINATED | 2 | attr_name | 1 |
| UNITS | 3 | attr_value | unit_byte |
| UNITS | 4 | attr_size | unit_byte |
| LOCK2 | &pool->lock |
fs/smb/server/smb2pdu.c smb2_set_stream_name_xattr() -> ksmbd_vfs_setxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | attr_name | 1-u64max |
| PARAM_VALUE | 2 | *attr_name | 0-255 |
| PARAM_VALUE | 3 | attr_value | 0 |
| PARAM_VALUE | 4 | attr_size | 0 |
| PARAM_VALUE | 5 | flags | 0 |
| PARAM_VALUE | 6 | get_write | 0 |
| DATA_SOURCE | 1 | path | $0 |
fs/smb/server/vfs.c ksmbd_vfs_set_dos_attrib_xattr() -> ksmbd_vfs_setxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | attr_name | 8427755963048714240 |
| PARAM_VALUE | 3 | attr_value | 1-u64max |
| PARAM_VALUE | 4 | attr_size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 5 | flags | 0 |
| PARAM_VALUE | 6 | get_write | 1 |
| BUF_SIZE | 2 | attr_name | 15 |
| BUF_SIZE | 3 | attr_value | 1024,2048 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | path | $1 |
| DATA_SOURCE | 6 | get_write | $3 |
| STR_LEN | 0 | idmap | 14 |
| UNITS | 4 | attr_size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/vfs.c ksmbd_vfs_set_sd_xattr() -> ksmbd_vfs_setxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | path->dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path->dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | path->dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | attr_name | 5605002343727824896 |
| PARAM_VALUE | 3 | attr_value | 1-u64max |
| PARAM_VALUE | 4 | attr_size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 5 | flags | 0 |
| BUF_SIZE | 2 | attr_name | 15 |
| CAPPED_DATA | 1 | path->dentry | 1 |
| DATA_SOURCE | 0 | idmap | $1 |
| DATA_SOURCE | 1 | path | $2 |
| DATA_SOURCE | 6 | get_write | $5 |
| STR_LEN | 0 | idmap | 14 |
| NO_OVERFLOW_SIMPLE | 4 | attr_size | |
| UNITS | 4 | attr_size | unit_byte |
fs/smb/server/vfs.c ksmbd_vfs_stream_write() -> ksmbd_vfs_setxattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | attr_name | 1-u64max |
| PARAM_VALUE | 3 | attr_value | 4096-ptr_max |
| PARAM_VALUE | 3 | *attr_value | 0-255 |
| PARAM_VALUE | 4 | attr_size | 0-65536 |
| PARAM_VALUE | 5 | flags | 0 |
| PARAM_VALUE | 6 | get_write | 1 |
| BUF_SIZE | 3 | attr_value | 1-65536,u64max |
| BUF_SIZE | 3 | attr_value | 1-65536,u64max |
| CAPPED_DATA | 4 | attr_size | 1 |
| CAPPED_DATA | 4 | attr_size | 1 |
| DATA_SOURCE | 0 | idmap | r file_mnt_idmap |
| FUZZY_MAX | 4 | attr_size | 65536 |
| BIT_INFO | 4 | attr_size | 0x0,0x1ffffffff |
| USER_DATA | 4 | attr_size | 0-65536[c] |
| UNITS | 4 | attr_size | unit_byte |
| BYTE_COUNT | 3 | ==attr_value4 | 8050 |
| LOCK2 | &pool->lock |