Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 8,4096-ptr_max
PARAM_VALUE 1 stat 4096-ptr_max
HALF_LOCKED2 &dchild->d_lockref.lock

fs/nfsd/nfsproc.c nfsd_proc_getattr() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 stat 4096-ptr_max

fs/nfsd/nfsproc.c nfsd_proc_lookup() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_flags 0
PARAM_VALUE 0 fhp->fh_maxsize 32
PARAM_VALUE 1 stat 4096-ptr_max
BIT_INFO 0 fhp 0x8,0xffffffffffffffff
MEM_ZERO 0 fhp

fs/nfsd/nfsproc.c nfsd_proc_mkdir() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_flags 0
PARAM_VALUE 0 fhp->fh_maxsize 32
PARAM_VALUE 1 stat 4096-ptr_max
MEM_ZERO 0 fhp

fs/nfsd/nfsproc.c nfsd_proc_read() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_64bit_cookies 1
PARAM_VALUE 0 fhp->fh_no_atomic_attr 1
PARAM_VALUE 0 fhp->fh_use_wgather 1
PARAM_VALUE 1 stat 4096-ptr_max

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_post_attr.attributes 0,4096,2097152,2101248
PARAM_VALUE 0 fhp->fh_post_attr.attributes_mask 2101248
PARAM_VALUE 0 fhp->fh_post_attr.result_mask 2015,2047
PARAM_VALUE 0 fhp->fh_post_saved 1
PARAM_VALUE 0 fhp->fh_pre_saved 1
PARAM_VALUE 1 stat 4096-ptr_max

fs/nfsd/nfsproc.c nfsd_proc_write() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_64bit_cookies 1
PARAM_VALUE 0 fhp->fh_export 4096-ptr_max
PARAM_VALUE 0 fhp->fh_no_atomic_attr 1
PARAM_VALUE 0 fhp->fh_use_wgather 1
PARAM_VALUE 1 stat 4096-ptr_max

fs/nfsd/nfs2acl.c nfsacld_proc_access() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry 4096-ptr_max
PARAM_VALUE 1 stat 4096-ptr_max

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry 4096-ptr_max
PARAM_VALUE 1 stat 4096-ptr_max
BUF_SIZE 0 fhp 416

fs/nfsd/nfs2acl.c nfsacld_proc_getattr() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 stat 4096-ptr_max

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 fhp->fh_dentry->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 fhp->fh_dentry->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 fhp->fh_export 4096-ptr_max
PARAM_VALUE 0 fhp->fh_export->ex_path.mnt 4096-ptr_max
PARAM_VALUE 0 fhp->fh_export->ex_path.mnt->mnt_sb 4096-ptr_max
PARAM_VALUE 0 fhp->fh_want_write 0
PARAM_VALUE 1 stat 4096-ptr_max
BUF_SIZE 0 fhp 416

fs/nfsd/filecache.c nfsd_file_get_dio_attrs() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry->d_inode 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 fhp->fh_export 4096-ptr_max
PARAM_VALUE 1 stat 5755221120336408576
BUF_SIZE 0 fhp (-1),416
BUF_SIZE 0 fhp (-1),416
DATA_SOURCE 0 fhp $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 fhp->fh_post_attr.ino

fs/nfsd/nfs3proc.c nfsd3_proc_getattr() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 stat 4096-ptr_max

fs/nfsd/nfs3xdr.c svcxdr_encode_post_op_attr() -> fh_getattr()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry->d_inode 1-u64max
PARAM_VALUE 0 fhp->fh_no_wcc 0
PARAM_VALUE 1 stat 2299854295556304896
BUF_SIZE 0 fhp (-1),416
BUF_SIZE 0 fhp (-1),416
CAPPED_DATA 0 fhp 1
DATA_SOURCE 0 fhp $2

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 fhp->fh_no_wcc 0
PARAM_VALUE 1 stat 4096-ptr_max
BUF_SIZE 0 fhp (-1),416
BUF_SIZE 0 fhp (-1),416
CAPPED_DATA 0 fhp 1
DATA_SOURCE 0 fhp $0
NO_OVERFLOW_SIMPLE 0 fhp->fh_post_attr.ino
NO_OVERFLOW_SIMPLE 1 stat->ino
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 0 &fhp->fh_dentry->d_inode->i_rwsem
HALF_LOCKED2 0 &fhp->fh_dentry->d_lockref.lock

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fhp->fh_dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 fhp->fh_no_wcc 0
PARAM_VALUE 0 fhp->fh_pre_saved 0
PARAM_VALUE 1 stat 1670313227768426496
BUF_SIZE 0 fhp (-1),416
BUF_SIZE 0 fhp (-1),416
CAPPED_DATA 0 fhp 1
DATA_SOURCE 0 fhp $0
NO_OVERFLOW_SIMPLE 0 fhp->fh_post_attr.ino
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 0 &fhp->fh_dentry->d_inode->i_rwsem
HALF_LOCKED2 0 &fhp->fh_dentry->d_lockref.lock