Documented in 1 files:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/smb/server/smb2pdu.c smb2_set_info_file() -> smb2_set_ea()

Type Parameter Key Value
PARAM_VALUE 1 buf_len 8-u32max
PARAM_VALUE 2 path 4096-ptr_max
PARAM_VALUE 3 get_write 1
UNITS 0 eabuf unit_byte
UNITS 1 buf_len unit_byte
LOCK2 &pool->lock

fs/smb/client/xattr.c cifs_xattr_set() -> (struct smb_version_operations)->set_EA()

Type Parameter Key Value
PARAM_VALUE 1 buf_len 4096-ptr_max
PARAM_VALUE 1 buf_len->ses 4096-ptr_max
PARAM_VALUE 1 buf_len->ses->server 4096-ptr_max
PARAM_VALUE 1 buf_len->ses->server->ops 4096-ptr_max
PARAM_VALUE 1 buf_len->ses->server->ops->set_EA 3006127908053323776,3346690649043267584
PARAM_VALUE 2 path 2811-ptr_max
PARAM_VALUE 3 get_write 4096-ptr_max
PARAM_VALUE 7 cifs_sb 4096-ptr_max
BUF_SIZE 4 ea_value (-1)-s32max
BUF_SIZE 4 ea_value (-1)-s32max
CAPPED_DATA 5 ea_value_len 1
CAPPED_DATA 5 ea_value_len 1
DATA_SOURCE 0 eabuf r _get_xid
DATA_SOURCE 2 path r build_path_from_dentry
DATA_SOURCE 3 get_write $4
DATA_SOURCE 4 ea_value $5
DATA_SOURCE 5 ea_value_len $6
STR_LEN 0 eabuf (-1)-0
STR_LEN 4 ea_value (-1)-0
CONTAINER 1 -736-160-296-208+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 5 ea_value_len 0-u16max[c]
NO_OVERFLOW_SIMPLE 4 *ea_value
USER_PTR 4 ea_value
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem