Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/smb/server/vfs_cache.c __ksmbd_inode_close() -> ksmbd_vfs_remove_xattr()

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 3 get_write 1
RX_PATH
TASK_NOT_RUNNING

fs/smb/server/smb2pdu.c smb2_remove_smb_xattrs() -> ksmbd_vfs_remove_xattr()

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_io_list.next 4096-ptr_max
PARAM_VALUE 1 path->dentry->d_inode->i_io_list.prev 4096-ptr_max
PARAM_VALUE 1 path->dentry->d_inode->i_io_list.prev->next 4096-ptr_max
PARAM_VALUE 1 path->dentry->d_inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 path->dentry->d_inode->i_mapping->host->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648,2712
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->list.next 2212933610777083904
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.dep_map->name 0-255
PARAM_VALUE 1 path->dentry->d_inode->i_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 1 path->dentry->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 path->dentry->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
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->dentry->d_inode->i_sb->s_iflags 16384-u64max
PARAM_VALUE 1 path->dentry->d_inode->i_wb->dwork->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 path->dentry->d_inode->i_wb->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_acl->a_refcount.refs.counter s32min-s32max
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_data.nr_thps.counter s32min-s32max
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_default_acl->a_refcount.refs.counter s32min-s32max
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->id 0-4294967295
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->rcu.flags 0-4294967295
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->rcu.is_hard 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->rcu.is_lazy 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->rcu.is_queued 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->rcu.is_soft 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->work.flags 0-4294967295
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->work.is_hard 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->work.is_lazy 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->work.is_queued 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_private->work.is_soft 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_sb->s_fs_info->xa_cache.ht->tbl->nest 0-4294967295
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_sb->s_fs_info->xa_cache.ht->tbl->size 0-4294967295
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_security->flags 0-4294967295
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_security->is_hard 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_security->is_lazy 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_security->is_queued 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_security->is_soft 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_hard 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_lazy 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_queued 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_soft 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.flags 0-4294967295
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_hard 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_lazy 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_queued 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_soft 0-1
PARAM_VALUE 1 path->dentry->d_parent->d_fsdata->management_timer.flags 0-4294967295
PARAM_VALUE 1 path->dentry->d_parent->d_hash.next->pprev 4096-ptr_max
PARAM_VALUE 1 path->mnt 4096-ptr_max
PARAM_VALUE 1 path->mnt->mnt_sb->s_readonly_remount 0
PARAM_VALUE 1 *path->dentry->d_parent->d_inode->i_hash.next->pprev 1-u64max
PARAM_VALUE 1 *path->dentry->d_parent->d_inode->i_sb->s_fs_info->nm_info->nat_root.xa_head (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 *path->dentry->d_parent->d_inode->i_wb->dwork.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 2 attr_name 4096-ptr_max
PARAM_VALUE 3 get_write 1
CAPPED_DATA 1 path->dentry 1
CAPPED_DATA 1 path->dentry->d_inode->i_sb->s_time_max 1
DATA_SOURCE 1 path $0

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

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_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 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 3 get_write $3
TERMINATED 2 attr_name 1
LOCK2 &pool->lock

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

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_lock.rlock.dep_map->name 0-255
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.dep_map->name 0-255
PARAM_VALUE 1 path->dentry->d_inode->i_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 1 path->dentry->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 path->dentry->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
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 16,4096-u64max
PARAM_VALUE 3 get_write 1
CAPPED_DATA 1 path->dentry 1
CAPPED_DATA 1 path->dentry->d_inode->i_sb->s_time_max 1
DATA_SOURCE 0 idmap $0
DATA_SOURCE 1 path $1
HALF_LOCKED2 &pool->lock