Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

fs/nfs/inode.c nfs_alloc_fattr_with_label() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/super.c nfs_statfs() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount

fs/nfs/nfs3proc.c __nfs3_proc_lookup() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs3proc.c nfs3_proc_access() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/nfs3proc.c nfs3_proc_link() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfs/nfs3proc.c nfs3_proc_link() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfs/nfs3proc.c nfs3_proc_readdir() -> nfs_alloc_fattr()

Type Parameter Key Value
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/nfs/nfs3proc.c nfs3_proc_readlink() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mapping->invalidate_lock

fs/nfs/nfs3proc.c nfs3_proc_remove() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &target->i_rwsem
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfs/nfs3proc.c nfs3_proc_rmdir() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfs/client.c nfs_create_server() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/nfs/client.c nfs_probe_server() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfs/namespace.c nfs_d_automount() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &path->dentry->d_lockref.lock

fs/nfs/nfs4getroot.c nfs4_get_rootfh() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs42proc.c _nfs42_proc_clone() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs42proc.c _nfs42_proc_fallocate() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/nfs/nfs42proc.c _nfs42_proc_removexattr() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &unused->d_inode->i_rwsem

fs/nfs/nfs42proc.c _nfs42_proc_setxattr() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &unused->d_inode->i_rwsem

fs/nfs/nfs4file.c __nfs42_ssc_open() -> nfs_alloc_fattr()

Type Parameter Key Value

fs/nfs/nfs4namespace.c nfs_do_refmount() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &parent->d_lockref.lock
HALF_LOCKED2 &path->dentry->d_lockref.lock

fs/nfs/nfs4proc.c _nfs4_discover_trunking() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs4proc.c _nfs4_proc_access() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/nfs3acl.c __nfs3_proc_setacls() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs3acl.c nfs3_get_acl() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/proc.c nfs_proc_symlink() -> nfs_alloc_fattr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs4state.c nfs4_try_migration() -> nfs_alloc_fattr()

Type Parameter Key Value