Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

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

Type Parameter Key Value
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/nfs/getroot.c nfs_get_root() -> nfs_alloc_fattr_with_label()

Type Parameter Key Value
BUF_SIZE 0 server 1-s32max
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 server unit_byte
HALF_LOCKED2 &fc->uapi_mutex

fs/nfs/dir.c nfs_lookup() -> nfs_alloc_fattr_with_label()

Type Parameter Key Value
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir->i_rwsem

fs/nfs/dir.c nfs_lookup_revalidate_dentry() -> nfs_alloc_fattr_with_label()

Type Parameter Key Value
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir->i_rwsem

fs/nfs/dir.c nfs_readdir_xdr_to_array() -> nfs_alloc_fattr_with_label()

Type Parameter Key Value
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfs/export.c nfs_fh_to_dentry() -> nfs_alloc_fattr_with_label()

Type Parameter Key Value
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING

fs/nfs/export.c nfs_get_parent() -> nfs_alloc_fattr_with_label()

Type Parameter Key Value
PARAM_VALUE 0 server 4096-ptr_max
PARAM_VALUE 0 server->nfs_client 4096-ptr_max
PARAM_VALUE 0 server->nfs_client->rpc_ops 4096-ptr_max
PARAM_VALUE 0 server->nfs_client->rpc_ops->lookupp 2600999187014864896,8948517801979678720
BUF_SIZE 0 server 1-s32max
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 server unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock

fs/nfs/nfs4proc.c _nfs4_proc_link() -> nfs_alloc_fattr_with_label()

Type Parameter Key Value
BUF_SIZE 0 server 1-s32max
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 server unit_byte
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfs/nfs4proc.c nfs4_set_security_label() -> nfs_alloc_fattr_with_label()

Type Parameter Key Value
BUF_SIZE 0 server 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &unused->d_inode->i_rwsem