Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ceph/xattr.c __build_xattrs() -> __set_xattr()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->i_ceph_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ci->i_xattrs.blob 4096-ptr_max
PARAM_VALUE 0 ci->i_xattrs.blob->vec.iov_base 0-ptr_max
PARAM_VALUE 0 ci->i_xattrs.blob->vec.iov_len 5-u64max
PARAM_VALUE 0 ci->i_xattrs.index_version 0
PARAM_VALUE 0 ci->i_xattrs.version 1-u64max
PARAM_VALUE 0 ci->netfs.inode.i_sb 4096-ptr_max
PARAM_VALUE 5 flags 0
PARAM_VALUE 6 update_xattr 0
PARAM_VALUE 7 newxattr 4096-ptr_max
CAPPED_DATA 0 ci->i_xattrs.version 1
DATA_SOURCE 0 ci r ceph_inode
DATA_SOURCE 4 val_len r ceph_decode_32
PARAM_COMPARE 0 ci->i_xattrs.index_version < $0->i_xattrs.version
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 name_len s32min-s32max
USER_DATA 4 val_len s32min-s32max
UNITS 1 name unit_byte
UNITS 3 val unit_byte
LOCK2 &ci->i_ceph_lock
LOCK2 0 &ci->i_ceph_lock
TYPE_LOCK (struct ceph_inode_info)->i_ceph_lock

fs/ceph/xattr.c __ceph_setxattr() -> __set_xattr()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->i_auth_cap 0,4096-ptr_max
PARAM_VALUE 0 ci->i_caps.rb_node 0,4096-ptr_max
PARAM_VALUE 0 ci->i_ceph_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ci->i_xattrs.prealloc_blob 4096-ptr_max
PARAM_VALUE 0 ci->i_xattrs.version 1-u64max
PARAM_VALUE 0 ci->netfs.inode.i_sb 4096-ptr_max
PARAM_VALUE 1 name 1-u64max
PARAM_VALUE 2 name_len 0-1010101
PARAM_VALUE 6 update_xattr (-1),1
PARAM_VALUE 7 newxattr 5338309152213069824
PARAM_VALUE 7 *newxattr 4096-ptr_max
BUF_SIZE 0 ci->i_xattrs.prealloc_blob (-1),32
BUF_SIZE 1 name 1-1010102
BUF_SIZE 1 name 1-1010102
BUF_SIZE 3 val s32min-s32max
CAPPED_DATA 2 name_len 1
CAPPED_DATA 4 val_len 1
DATA_SOURCE 0 ci r ceph_inode
DATA_SOURCE 1 name r kmemdup_noprof
DATA_SOURCE 2 name_len r __fortify_strlen
DATA_SOURCE 4 val_len $3
DATA_SOURCE 5 flags $4
FUZZY_MAX 6 update_xattr 1
BIT_INFO 6 update_xattr 0x1,0x1
NOSPEC 4 val_len
NOSPEC 4 val_len
HARD_MAX 6 update_xattr 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val_len 0-4000000[c]
USER_DATA 5 flags 0-2
LOCK2 0 &ci->i_ceph_lock
HALF_LOCKED2 &mdsc->snap_rwsem
TYPE_LOCK (struct ceph_inode_info)->i_ceph_lock