Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 8
PARAM_VALUE 1 maxsize 32
BUF_SIZE 0 fhp 416
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 8
PARAM_VALUE 1 maxsize 32
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 maxsize 32
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 4346260137917243392
PARAM_VALUE 1 maxsize 32
NOCHECK_CALL

fs/nfsd/nfs4proc.c do_open_lookup() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 maxsize 128
DATA_SOURCE 0 fhp r _kmalloc_noprof
NOCHECK_CALL

fs/nfsd/nfs4proc.c nfsd4_create() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 2660420143121321984
PARAM_VALUE 1 maxsize 128
NOCHECK_CALL

fs/nfsd/nfs4proc.c nfsd4_do_lookupp() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 5785862607992180736
PARAM_VALUE 1 maxsize 128
NOCHECK_CALL

fs/nfsd/nfs4proc.c nfsd4_proc_compound() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 40
PARAM_VALUE 1 maxsize 128
BUF_SIZE 0 fhp 416
NOCHECK_CALL

fs/nfsd/nfs4proc.c nfsd4_proc_compound() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 456
PARAM_VALUE 1 maxsize 128
BUF_SIZE 0 fhp 416
NOCHECK_CALL

fs/nfsd/nfsxdr.c svcxdr_decode_fhandle() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 1 maxsize 32
DATA_SOURCE 0 fhp $1
NOCHECK_CALL

fs/nfsd/nfs3proc.c nfsd3_proc_create() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 maxsize 64

fs/nfsd/nfs3proc.c nfsd3_proc_lookup() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 maxsize 64
NOCHECK_CALL

fs/nfsd/nfs3proc.c nfsd3_proc_mkdir() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 maxsize 64
NOCHECK_CALL

fs/nfsd/nfs3proc.c nfsd3_proc_mknod() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 maxsize 64
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 maxsize 64
NOCHECK_CALL

fs/nfsd/localio.c nfsd_open_local_fh() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 8760854972978135040
PARAM_VALUE 1 maxsize 128
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfsd/export.c exp_rootfh() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 3584129559051624448
PARAM_VALUE 1 maxsize 32-64
CAPPED_DATA 1 maxsize 1
DATA_SOURCE 1 maxsize $4
NOSPEC 1 maxsize
NOSPEC 1 maxsize
NOCHECK_CALL
USER_DATA 1 maxsize 32-63[c]

fs/nfsd/nfs3xdr.c svcxdr_decode_nfs_fh3() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 1 maxsize 64
DATA_SOURCE 0 fhp $1
NOCHECK_CALL

fs/nfsd/nfs3xdr.c svcxdr_encode_entry3_plus() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 4096-ptr_max
PARAM_VALUE 1 maxsize 64
BUF_SIZE 0 fhp 416
NOCHECK_CALL

fs/nfsd/lockd.c nlm_fopen() -> fh_init()

Type Parameter Key Value
PARAM_VALUE 0 fhp 3746514281511374848
PARAM_VALUE 1 maxsize 0
NOCHECK_CALL
LOCK2 global &nlm_file_mutex
HALF_LOCKED2 &file->f_mutex