Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/xattr.c __vfs_setxattr_noperm() -> __vfs_setxattr()

Type Parameter Key Value
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dentry->d_inode->i_opflags 8-u16max
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 1 dentry->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 1 dentry->d_op->d_compare 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_delete 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_hash 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 1 dentry->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 1 dentry->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_release 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_revalidate 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 1 dentry->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 1 dentry->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 1 dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dentry->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dentry->d_parent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 1 dentry->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 1 dentry->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 1 dentry->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 1 dentry->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 1 dentry->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 1 dentry->d_parent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 1 dentry->d_parent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 1 dentry->d_parent->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 1 dentry->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 1 dentry->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 1 dentry->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 1 dentry->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 1 dentry->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 1 dentry->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 1 dentry->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 1 dentry->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 1 dentry->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 2 inode 4096-ptr_max
PARAM_VALUE 2 inode->i_opflags 8-u16max
BUF_SIZE 1 dentry (-1),1-s32max
BUF_SIZE 1 dentry (-1),1-s32max
BUF_SIZE 3 name (-1),1-s32max
BUF_SIZE 3 name (-1),1-s32max
BUF_SIZE 4 value (-1)-s32max
BUF_SIZE 4 value (-1)-s32max
CAPPED_DATA 1 dentry 1
DATA_SOURCE 0 idmap $0
DATA_SOURCE 1 dentry $1
DATA_SOURCE 3 name $2
DATA_SOURCE 4 value $3
DATA_SOURCE 5 size $4
DATA_SOURCE 6 flags $5
STR_LEN 0 idmap (-1),12-14,16
STR_LEN 0 idmap (-1),12-14,16
STR_LEN 1 dentry (-1),12
STR_LEN 1 dentry (-1),12
BIT_INFO 2 inode->i_opflags 0x8,0xffff
NOSPEC 5 size
NOSPEC 5 size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 dentry->d_inode->i_mode 0-u16max
USER_DATA 1 dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
USER_DATA 2 inode->i_mode 0-u16max
USER_DATA 2 inode->i_size (-9223372036854775807)-(-4),0-s64max
USER_DATA 5 size 0-65536
USER_DATA 6 flags 0-2
NO_OVERFLOW_SIMPLE 1 dentry->d_sb->s_blocksize
NO_OVERFLOW_SIMPLE 1 dentry->d_sb->s_blocksize_bits
NO_OVERFLOW_SIMPLE 1 dentry->dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 1 dentry->moved->d_inode->i_size
NO_OVERFLOW_SIMPLE 4 *value
UNITS 1 dentry unit_jiffy
UNITS 4 value unit_byte
UNITS 5 size unit_byte
USER_PTR 4 value
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 1 &dentry->d_inode->i_rwsem

fs/ecryptfs/mmap.c ecryptfs_write_inode_size_to_xattr() -> __vfs_setxattr()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode->i_opflags 8-u16max
PARAM_VALUE 1 dentry->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dentry->d_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 2 inode 4096-ptr_max
PARAM_VALUE 2 inode->i_opflags 8-u16max
PARAM_VALUE 2 inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 2 inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 2 inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 2 inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 3 name 5970400167591530496
PARAM_VALUE 4 value 1-u64max
PARAM_VALUE 5 size 0-s32max
PARAM_VALUE 6 flags 0
BUF_SIZE 3 name 14
DATA_SOURCE 4 value r kmem_cache_alloc_noprof
STR_LEN 0 idmap 13
PARAM_COMPARE 1 dentry->d_inode == $2
PARAM_COMPARE 2 inode == $1->d_inode
BIT_INFO 2 inode->i_opflags 0x8,0xffffffffffffffff
TERMINATED 3 name 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ecryptfs/crypto.c ecryptfs_write_metadata_to_xattr() -> __vfs_setxattr()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode->i_opflags 8-u16max
PARAM_VALUE 1 dentry->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dentry->d_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 2 inode 4096-ptr_max
PARAM_VALUE 2 inode->i_opflags 8-u16max
PARAM_VALUE 2 inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 2 inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 2 inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 2 inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 3 name 5970400167591530496
PARAM_VALUE 4 value 18379471554275704832,18446612682070032384
PARAM_VALUE 4 *value 0
PARAM_VALUE 6 flags 0
BUF_SIZE 1 dentry 1-s32max
BUF_SIZE 1 dentry 1-s32max
BUF_SIZE 3 name 14
DATA_SOURCE 4 value $2
DATA_SOURCE 5 size $3
STR_LEN 0 idmap 13
PARAM_COMPARE 1 dentry->d_inode == $2
PARAM_COMPARE 2 inode == $1->d_inode
BIT_INFO 2 inode->i_opflags 0x8,0xffffffffffffffff
TERMINATED 3 name 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 2 &inode->i_rwsem
HALF_LOCKED2 &crypt_stat->cs_mutex
HALF_LOCKED2 &ecryptfs_dentry->d_lockref.lock
TYPE_LOCK (struct inode)->i_rwsem

fs/bpf_fs_kfuncs.c bpf_set_dentry_xattr_locked() -> __vfs_setxattr()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dentry->d_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 2 inode 4096-ptr_max
PARAM_VALUE 4 value 1-u64max
DATA_SOURCE 1 dentry $0
DATA_SOURCE 3 name $1
DATA_SOURCE 4 value r __bpf_dynptr_data
DATA_SOURCE 5 size r __bpf_dynptr_size
DATA_SOURCE 6 flags $3
PARAM_COMPARE 1 dentry->d_inode == $2
PARAM_COMPARE 2 inode == $1->d_inode
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem