Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 16 files:

Smatch caller information:

fs/nfsd/nfsproc.c nfsd_proc_create() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write

fs/nfsd/nfsproc.c nfsd_proc_create() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/nfsproc.c nfsd_proc_setattr() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write

fs/nfsd/nfsproc.c nfsd_proc_symlink() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-526),(-22)

fs/nfsd/nfs2acl.c nfsacld_proc_getacl() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/nfs2acl.c nfsacld_proc_getacl() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/nfs2acl.c nfsacld_proc_setacl() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1),1-s32max

fs/nfsd/nfs4proc.c nfsd4_copy_notify() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12)

fs/nfsd/nfs4proc.c nfsd4_create_file() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write

fs/nfsd/nfs4proc.c nfsd4_create_file() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/nfs4proc.c nfsd4_do_copy() -> nfserrno()

Type Parameter Key Value
DATA_SOURCE 0 errno r _nfsd_copy_file_range
BIT_INFO 0 errno 0x0,0x7fffffffffffffff

fs/nfsd/nfs4proc.c nfsd4_seek() -> nfserrno()

Type Parameter Key Value
DATA_SOURCE 0 errno r vfs_llseek
BIT_INFO 0 errno 0x0,0x7fffffffffffffff

fs/nfsd/nfs4proc.c nfsd4_setattr() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write

fs/nfsd/nfs4proc.c nfsd4_setattr() -> nfserrno()

Type Parameter Key Value

fs/nfsd/nfs4proc.c nfsd4_setattr() -> nfserrno()

Type Parameter Key Value

fs/nfsd/nfs4proc.c nfsd4_setattr() -> nfserrno()

Type Parameter Key Value

fs/nfsd/nfs4proc.c nfsd4_vfs_create() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/filecache.c nfsd_file_do_acquire() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-0
BIT_INFO 0 errno 0x0,0x0
RX_PATH
TASK_NOT_RUNNING

fs/nfsd/filecache.c nfsd_file_do_acquire() -> nfserrno()

Type Parameter Key Value
DATA_SOURCE 0 errno r nfsd_open_verified
RX_PATH
TASK_NOT_RUNNING

fs/nfsd/blocklayout.c nfsd4_block_commit_blocks() -> nfserrno()

Type Parameter Key Value
HALF_LOCKED2 &ls->ls_mutex

fs/nfsd/blocklayout.c nfsd4_block_map_extent() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-7),(-5)-(-1),1-s32max
LOCK2 &ls->ls_mutex

fs/nfsd/blocklayout.c nfsd4_block_map_extent() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12)
DATA_SOURCE 0 errno r nfsd4_set_deviceid
LOCK2 &ls->ls_mutex

fs/nfsd/blocklayout.c nfsd4_block_proc_getdeviceinfo() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12),0

fs/nfsd/blocklayout.c nfsd4_block_proc_layoutget() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12)
LOCK2 &ls->ls_mutex

fs/nfsd/blocklayout.c nfsd4_scsi_proc_getdeviceinfo() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-0,2,24,65536,917504,983040

fs/nfsd/nfs4state.c nfs4_get_vfs_file() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-0

fs/nfsd/nfs4state.c nfsd4_deleg_getattr_conflict() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-0

fs/nfsd/nfs4state.c nfsd4_deleg_getattr_conflict() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-0

fs/nfsd/nfs4state.c nfsd4_deleg_getattr_conflict() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1),1-s32max
DATA_SOURCE 0 errno r cb_getattr_update_times

fs/nfsd/nfs4state.c nfsd4_lock() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-36),(-34)-(-12),(-10)-(-1),2-s32max
DATA_SOURCE 0 errno r vfs_lock_file
LOCK2 &stp->st_mutex

fs/nfsd/nfs4state.c nfsd4_locku() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1),1-s32max
DATA_SOURCE 0 errno r vfs_lock_file
LOCK2 &stp->st_mutex

fs/nfsd/nfs4state.c nfsd_test_lock() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-0
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfsd/nfs4state.c nfsd_test_lock() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-0,2-s32max
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfsd/blocklayoutxdr.c nfsd4_block_encode_getdeviceinfo() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-525)-(-524)
DATA_SOURCE 0 errno r nfsd4_block_encode_volume
BIT_INFO 0 errno 0x0,0x1f
HALF_LOCKED2 &nn->client_lock

fs/nfsd/nfs3proc.c nfsd3_create_file() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write

fs/nfsd/nfs3proc.c nfsd3_create_file() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/nfs3proc.c nfsd3_create_file() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1)
DATA_SOURCE 0 errno r vfs_create
BIT_INFO 0 errno 0x0,0x7fffffff

fs/nfsd/nfs3proc.c nfsd3_proc_symlink() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-526),(-22)

fs/nfsd/vfs.c nfsd4_clone_file_range() -> nfserrno()

Type Parameter Key Value
DATA_SOURCE 0 errno r vfs_clone_file_range
BIT_INFO 0 errno 0x0,0x7fffffffffffffff

fs/nfsd/vfs.c nfsd4_clone_file_range() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-22)

fs/nfsd/vfs.c nfsd4_clone_file_range() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1)
BIT_INFO 0 errno 0x0,0x7fffffff

fs/nfsd/vfs.c nfsd4_vfs_fallocate() -> nfserrno()

Type Parameter Key Value

fs/nfsd/vfs.c nfsd_buffered_readdir() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12)

fs/nfsd/vfs.c nfsd_buffered_readdir() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1),1-s32max
DATA_SOURCE 0 errno r iterate_dir

fs/nfsd/vfs.c nfsd_commit() -> nfserrno()

Type Parameter Key Value
DATA_SOURCE 0 errno r filemap_check_wb_err

fs/nfsd/vfs.c nfsd_commit() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-23),(-21)-(-1),1-s32max
DATA_SOURCE 0 errno r vfs_fsync_range

fs/nfsd/vfs.c nfsd_create() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write

fs/nfsd/vfs.c nfsd_create() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/vfs.c nfsd_create_locked() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1)

fs/nfsd/vfs.c nfsd_create_setattr() -> nfserrno()

Type Parameter Key Value

fs/nfsd/vfs.c nfsd_create_setattr() -> nfserrno()

Type Parameter Key Value

fs/nfsd/vfs.c nfsd_finish_read() -> nfserrno()

Type Parameter Key Value
DATA_SOURCE 0 errno $6
UNITS 0 errno unit_byte

fs/nfsd/vfs.c nfsd_get_write_access() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-26),0
HALF_LOCKED2 &fhp->fh_dentry->d_lockref.lock

fs/nfsd/vfs.c nfsd_link() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-17),(-15)-s32max

fs/nfsd/vfs.c nfsd_lookup_dentry() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno 1-s32max,18446744071562067968-u64max
HALF_LOCKED2 &dentry->d_lockref.lock

fs/nfsd/vfs.c nfsd_open() -> nfserrno()

Type Parameter Key Value
DATA_SOURCE 0 errno r __nfsd_open
HALF_LOCKED2 global &nlm_file_mutex

fs/nfsd/vfs.c nfsd_permission() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/nfsd/vfs.c nfsd_readdir() -> nfserrno()

Type Parameter Key Value
DATA_SOURCE 0 errno r vfs_llseek
BIT_INFO 0 errno 0x0,0x7fffffffffffffff

fs/nfsd/vfs.c nfsd_readlink() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/vfs.c nfsd_removexattr() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write

fs/nfsd/vfs.c nfsd_rename() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write
HALF_LOCKED2 &close_cached->d_lockref.lock

fs/nfsd/vfs.c nfsd_rename() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1),1-s32max
DATA_SOURCE 0 errno r start_renaming
HALF_LOCKED2 &close_cached->d_lockref.lock

fs/nfsd/vfs.c nfsd_rename() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-17),(-15)-s32max
HALF_LOCKED2 &close_cached->d_lockref.lock

fs/nfsd/vfs.c nfsd_setattr() -> nfserrno()

Type Parameter Key Value

fs/nfsd/vfs.c nfsd_setxattr() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write

fs/nfsd/vfs.c nfsd_symlink() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-30)
DATA_SOURCE 0 errno r fh_want_write

fs/nfsd/vfs.c nfsd_symlink() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/vfs.c nfsd_symlink() -> nfserrno()

Type Parameter Key Value
DATA_SOURCE 0 errno r vfs_symlink

fs/nfsd/vfs.c nfsd_symlink() -> nfserrno()

Type Parameter Key Value

fs/nfsd/vfs.c nfsd_unlink() -> nfserrno()

Type Parameter Key Value

fs/nfsd/vfs.c nfsd_vfs_write() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1)
HARD_MAX 0 errno (-1)

fs/nfsd/vfs.c nfsd_xattr_errno() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-62),(-60)-(-35),(-33)-(-8),(-6)-s32max
DATA_SOURCE 0 errno $0
UNITS 0 errno unit_byte
HALF_LOCKED2 &fhp->fh_dentry->d_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/nfsd/export.c exp_pseudoroot() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-110),(-12)-(-11),(-2)

fs/nfsd/flexfilelayout.c nfsd4_ff_proc_getdeviceinfo() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12)

fs/nfsd/flexfilelayout.c nfsd4_ff_proc_layoutget() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12)
LOCK2 &ls->ls_mutex

fs/nfsd/nfs3acl.c nfsd3_proc_getacl() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/nfs3acl.c nfsd3_proc_getacl() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/nfs3acl.c nfsd3_proc_setacl() -> nfserrno()

Type Parameter Key Value

fs/nfsd/nfs4idmap.c idmap_id_to_name() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-110),(-12)-(-11)
DATA_SOURCE 0 errno r idmap_lookup
BIT_INFO 0 errno 0x0,0x0

fs/nfsd/nfs4idmap.c idmap_name_to_id() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-110),(-12)-(-11)
DATA_SOURCE 0 errno r idmap_lookup
BIT_INFO 0 errno 0x0,0x0

fs/nfsd/nfs4xdr.c nfsd4_encode_entry4_fattr() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-1)

fs/nfsd/nfs4xdr.c nfsd4_encode_entry4_fattr() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-22),(-20)-(-1),1-s32max
DATA_SOURCE 0 errno r nfsd_cross_mnt

fs/nfsd/nfs4xdr.c nfsd4_encode_fattr4_mounted_on_fileid() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno s32min-(-1),1-s32max
DATA_SOURCE 0 errno r nfsd4_get_mounted_on_ino
LOCK2 &pool->lock

fs/nfsd/nfs4xdr.c nfsd4_encode_fs_locations4() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-110),(-12)-(-11),(-2)

fs/nfsd/nfs4xdr.c nfsd4_encode_readlink() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-7)
DATA_SOURCE 0 errno r svc_encode_result_payload
HALF_LOCKED2 &nn->client_lock

fs/nfsd/nfs4xdr.c nfsd4_encode_splice_read() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-7)
DATA_SOURCE 0 errno r svc_encode_result_payload
HALF_LOCKED2 &nn->client_lock

fs/nfsd/nfs4acl.c nfsd4_acl_to_attr() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12),0
DATA_SOURCE 0 errno r nfs4_acl_nfsv4_to_posix

fs/nfsd/nfsfh.c fh_getattr() -> nfserrno()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfsd/nfsfh.c nfsd_set_fh_dentry() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-110),(-12)-(-11)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fhp->fh_dentry->d_lockref.lock

fs/nfsd/nfsfh.c nfsd_set_fh_dentry() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fhp->fh_dentry->d_lockref.lock

fs/nfsd/nfsfh.c nfsd_set_fh_dentry() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-4095)-(-23),(-21)-(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fhp->fh_dentry->d_lockref.lock

fs/nfsd/nfsfh.c nfsd_setuser_and_check_port() -> nfserrno()

Type Parameter Key Value
PARAM_VALUE 0 errno (-12),0
RX_PATH
TASK_NOT_RUNNING