Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/xattr.c removexattr() -> vfs_removexattr()

Type Parameter Key Value
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,2632,2648
BUF_SIZE 2 name 256
BUF_SIZE 2 name 256
DATA_SOURCE 0 idmap $0
DATA_SOURCE 1 dentry $1
DATA_SOURCE 2 name $2

fs/overlayfs/copy_up.c ovl_do_removexattr() -> vfs_removexattr()

Type Parameter Key Value
PARAM_VALUE 1 dentry 1-u64max
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
CAPPED_DATA 1 dentry 1
DATA_SOURCE 1 dentry $1
DATA_SOURCE 2 name $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock

fs/cachefiles/xattr.c cachefiles_remove_object_xattr() -> vfs_removexattr()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 dentry->d_inode->i_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
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_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 name 813600791204503552
BUF_SIZE 2 name 22
DATA_SOURCE 1 dentry $2
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
HALF_LOCKED2 &ci->i_truncate_mutex
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_rwsem

fs/overlayfs/util.c ovl_do_removexattr() -> vfs_removexattr()

Type Parameter Key Value
BUF_SIZE 1 dentry (-1),1-s32max
BUF_SIZE 1 dentry (-1),1-s32max
DATA_SOURCE 1 dentry $1
DATA_SOURCE 2 name $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/overlayfs/super.c ovl_do_removexattr() -> vfs_removexattr()

Type Parameter Key Value
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 1 dentry->d_hash.pprev 0
PARAM_VALUE 1 dentry->d_inode 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode->i_op 0-1144202292485988351,1144202292485988353-u64max
PARAM_VALUE 1 dentry->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->handoff_set 1
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_sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 1 dentry->d_parent->d_fsdata->active.counter s32min-s32max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->cancellations_mtx.magic 0
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_flags 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_hash.pprev 0
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->__i_nlink 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_atime_nsec 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_blkbits 0-255
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_bytes 0-u16max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_ctime_nsec 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_dir_seq 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_flags 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_fsnotify_mask 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_generation 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_linklen s32min-s32max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_mode 0-u16max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_mtime_nsec 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_nlink 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_opflags 0-u16max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_rdev 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_hard 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_lazy 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_queued 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_soft 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.flags 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_hard 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_lazy 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_queued 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_soft 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb_frn_avg_time 0-u16max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb_frn_history 0-u16max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_wb_frn_winner s32min-s32max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_inode->i_write_hint 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->d_lockref.count s32min-s32max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->data->ref.refs.counter s32min-s32max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->head.first 0
PARAM_VALUE 1 dentry->d_parent->d_fsdata->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->lease_gen 0
PARAM_VALUE 1 dentry->d_parent->d_fsdata->lease_shared_gen 0
PARAM_VALUE 1 dentry->d_parent->d_fsdata->management_timer.flags 0-4294967295
PARAM_VALUE 1 dentry->d_parent->d_fsdata->management_timer.is_hard 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->management_timer.is_lazy 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->management_timer.is_queued 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->management_timer.is_soft 0-1
PARAM_VALUE 1 dentry->d_parent->d_fsdata->owner->refcnt.counter 0-s32max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->ref.refs.counter s32min-s32max
PARAM_VALUE 1 dentry->d_parent->d_fsdata->resv->lock.base.magic 0
PARAM_VALUE 1 dentry->d_parent->d_fsdata->waiters 0
PARAM_VALUE 1 dentry->d_sb->s_fs_info->s_bmap_bits 0-4294967295
PARAM_VALUE 1 dentry->d_sb->s_fs_info->s_bmap_count 0-4294967295
PARAM_VALUE 1 dentry->d_sb->s_fs_info->s_data_blksize 0-4294967295
PARAM_VALUE 1 dentry->d_sb->s_fs_info->s_hashsize s32min-s32max
PARAM_VALUE 1 dentry->d_sb->s_fs_info->s_last_bmap 0-4294967295
PARAM_VALUE 1 dentry->d_sb->s_fs_info->s_mode 0-u16max
PARAM_VALUE 1 dentry->d_sb->s_fs_info->s_partition_size s32min-s32max
PARAM_VALUE 1 dentry->d_sb->s_fs_info->s_reserved s32min-s32max
PARAM_VALUE 1 dentry->d_sb->s_fs_info->s_root_block 0-4294967295
PARAM_VALUE 1 dentry->d_sb->s_fs_info->work_queued s32min-s32max
PARAM_VALUE 1 dentry->waiters 0
PARAM_VALUE 1 *dentry->d_children.first->pprev 1-u64max
PARAM_VALUE 1 *dentry->d_parent->d_alias.next->pprev 1-u64max
PARAM_VALUE 1 *dentry->d_parent->d_fsdata->d_fsdata (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 *dentry->d_parent->d_fsdata->lease_session->s_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 *dentry->d_parent->d_fsdata->lease_session->s_auth.authorizer->session_key.krb5_tfms 0
PARAM_VALUE 1 *dentry->d_parent->d_inode->i_hash.next->pprev 1-u64max
PARAM_VALUE 1 *dentry->d_parent->d_inode->i_sb->s_fs_info->nm_info->nat_root.xa_head (-4611686018427387904)-4611686018427387903
BUF_SIZE 1 dentry (-1),1-s32max
BUF_SIZE 1 dentry (-1),1-s32max
CAPPED_DATA 1 dentry 1
DATA_SOURCE 1 dentry $1
DATA_SOURCE 2 name $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 dentry->dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 1 dentry->moved->d_inode->i_size
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

fs/overlayfs/readdir.c ovl_do_removexattr() -> vfs_removexattr()

Type Parameter Key Value
DATA_SOURCE 1 dentry $1
DATA_SOURCE 2 name $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/smb/server/vfs.c ksmbd_vfs_remove_xattr() -> vfs_removexattr()

Type Parameter Key Value
PARAM_VALUE 1 dentry->d_inode->i_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
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_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
PARAM_VALUE 2 name 1-u64max
BUF_SIZE 2 name (-1),256
BUF_SIZE 2 name (-1),256
DATA_SOURCE 0 idmap $0
DATA_SOURCE 2 name $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/overlayfs/xattrs.c ovl_do_removexattr() -> vfs_removexattr()

Type Parameter Key Value
PARAM_VALUE 2 name 4096-ptr_max
BUF_SIZE 2 name (-1),9-256
BUF_SIZE 2 name (-1),9-256
DATA_SOURCE 1 dentry $1
DATA_SOURCE 2 name $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem