fhp               913 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fhp = file->private_data;
fhp               914 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2 *vp = fhp->pdi->v4lp;
fhp               915 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_hdw *hdw = fhp->channel.mc_head->hdw;
fhp               919 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	if (fhp->rhp) {
fhp               922 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		sp = pvr2_ioread_get_stream(fhp->rhp);
fhp               924 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		pvr2_ioread_destroy(fhp->rhp);
fhp               925 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		fhp->rhp = NULL;
fhp               928 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	v4l2_fh_del(&fhp->fh);
fhp               929 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	v4l2_fh_exit(&fhp->fh);
fhp               932 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	pvr2_channel_done(&fhp->channel);
fhp               934 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		   "Destroying pvr_v4l2_fh id=%p",fhp);
fhp               935 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	if (fhp->input_map) {
fhp               936 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		kfree(fhp->input_map);
fhp               937 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		fhp->input_map = NULL;
fhp               939 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	kfree(fhp);
fhp               953 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_fh *fhp;
fhp               973 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	fhp = kzalloc(sizeof(*fhp),GFP_KERNEL);
fhp               974 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	if (!fhp) {
fhp               978 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	v4l2_fh_init(&fhp->fh, &dip->devbase);
fhp               979 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	init_waitqueue_head(&fhp->wait_data);
fhp               980 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	fhp->pdi = dip;
fhp               982 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	pvr2_trace(PVR2_TRACE_STRUCT,"Creating pvr_v4l2_fh id=%p",fhp);
fhp               983 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	pvr2_channel_init(&fhp->channel,vp->channel.mc_head);
fhp               997 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	ret = pvr2_channel_limit_inputs(&fhp->channel,input_mask);
fhp               999 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		pvr2_channel_done(&fhp->channel);
fhp              1002 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 			   fhp);
fhp              1003 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		v4l2_fh_exit(&fhp->fh);
fhp              1004 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		kfree(fhp);
fhp              1013 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	fhp->input_cnt = input_cnt;
fhp              1014 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	fhp->input_map = kzalloc(input_cnt,GFP_KERNEL);
fhp              1015 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	if (!fhp->input_map) {
fhp              1016 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		pvr2_channel_done(&fhp->channel);
fhp              1019 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 			   fhp);
fhp              1020 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		v4l2_fh_exit(&fhp->fh);
fhp              1021 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		kfree(fhp);
fhp              1027 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		fhp->input_map[input_cnt++] = idx;
fhp              1030 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	fhp->file = file;
fhp              1031 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	file->private_data = fhp;
fhp              1033 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	fhp->fw_mode_flag = pvr2_hdw_cpufw_get_enabled(hdw);
fhp              1034 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	v4l2_fh_add(&fhp->fh);
fhp              1040 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static void pvr2_v4l2_notify(struct pvr2_v4l2_fh *fhp)
fhp              1042 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	wake_up(&fhp->wait_data);
fhp                48 fs/freevxfs/vxfs_fshead.c vxfs_dumpfsh(struct vxfs_fsh *fhp)
fhp                52 fs/freevxfs/vxfs_fshead.c 	printk("version: %u\n", fhp->fsh_version);
fhp                53 fs/freevxfs/vxfs_fshead.c 	printk("fsindex: %u\n", fhp->fsh_fsindex);
fhp                55 fs/freevxfs/vxfs_fshead.c 			fhp->fsh_iauino, fhp->fsh_ninodes);
fhp                57 fs/freevxfs/vxfs_fshead.c 			fhp->fsh_maxinode, fhp->fsh_lctino);
fhp                58 fs/freevxfs/vxfs_fshead.c 	printk("nau: %u\n", fhp->fsh_nau);
fhp                60 fs/freevxfs/vxfs_fshead.c 			fhp->fsh_ilistino[0], fhp->fsh_ilistino[1]);
fhp                83 fs/freevxfs/vxfs_fshead.c 		struct vxfs_fsh		*fhp;
fhp                85 fs/freevxfs/vxfs_fshead.c 		if (!(fhp = kmalloc(sizeof(*fhp), GFP_KERNEL)))
fhp                87 fs/freevxfs/vxfs_fshead.c 		memcpy(fhp, bp->b_data, sizeof(*fhp));
fhp                90 fs/freevxfs/vxfs_fshead.c 		return (fhp);
fhp                38 fs/lockd/svcsubs.c 	u32 *fhp = (u32*)f->data;
fhp                42 fs/lockd/svcsubs.c 		msg, fhp[0], fhp[1], fhp[2], fhp[3],
fhp                43 fs/lockd/svcsubs.c 		fhp[4], fhp[5], fhp[6], fhp[7]);
fhp                48 fs/nfsd/acl.h  __be32 nfsd4_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp                24 fs/nfsd/blocklayout.c nfsd4_block_proc_layoutget(struct inode *inode, const struct svc_fh *fhp,
fhp                99 fs/nfsd/blocklayout.c 	error = nfsd4_set_deviceid(&bex->vol_id, fhp, device_generation);
fhp              1090 fs/nfsd/export.c exp_pseudoroot(struct svc_rqst *rqstp, struct svc_fh *fhp)
fhp              1098 fs/nfsd/export.c 	rv = fh_compose(fhp, exp, exp->ex_path.dentry, NULL);
fhp               786 fs/nfsd/filecache.c nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               797 fs/nfsd/filecache.c 	status = fh_verify(rqstp, fhp, S_IFREG,
fhp               802 fs/nfsd/filecache.c 	inode = d_inode(fhp->fh_dentry);
fhp               882 fs/nfsd/filecache.c 		status = nfsd_open_verified(rqstp, fhp, S_IFREG,
fhp                58 fs/nfsd/filecache.h __be32 nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp                22 fs/nfsd/flexfilelayout.c nfsd4_ff_proc_layoutget(struct inode *inode, const struct svc_fh *fhp,
fhp                59 fs/nfsd/flexfilelayout.c 	error = nfsd4_set_deviceid(&fl->deviceid, fhp, device_generation);
fhp                63 fs/nfsd/flexfilelayout.c 	fl->fh.size = fhp->fh_handle.fh_size;
fhp                64 fs/nfsd/flexfilelayout.c 	memcpy(fl->fh.data, &fhp->fh_handle.fh_base, fl->fh.size);
fhp                50 fs/nfsd/nfs3xdr.c decode_fh(__be32 *p, struct svc_fh *fhp)
fhp                53 fs/nfsd/nfs3xdr.c 	fh_init(fhp, NFS3_FHSIZE);
fhp                58 fs/nfsd/nfs3xdr.c 	memcpy(&fhp->fh_handle.fh_base, p, size);
fhp                59 fs/nfsd/nfs3xdr.c 	fhp->fh_handle.fh_size = size;
fhp                64 fs/nfsd/nfs3xdr.c __be32 *nfs3svc_decode_fh(__be32 *p, struct svc_fh *fhp)
fhp                66 fs/nfsd/nfs3xdr.c 	return decode_fh(p, fhp);
fhp                70 fs/nfsd/nfs3xdr.c encode_fh(__be32 *p, struct svc_fh *fhp)
fhp                72 fs/nfsd/nfs3xdr.c 	unsigned int size = fhp->fh_handle.fh_size;
fhp                75 fs/nfsd/nfs3xdr.c 	memcpy(p, &fhp->fh_handle.fh_base, size);
fhp               144 fs/nfsd/nfs3xdr.c static __be32 *encode_fsid(__be32 *p, struct svc_fh *fhp)
fhp               147 fs/nfsd/nfs3xdr.c 	switch(fsid_source(fhp)) {
fhp               151 fs/nfsd/nfs3xdr.c 				     (fhp->fh_dentry->d_sb->s_dev));
fhp               154 fs/nfsd/nfs3xdr.c 		p = xdr_encode_hyper(p, (u64) fhp->fh_export->ex_fsid);
fhp               157 fs/nfsd/nfs3xdr.c 		f = ((u64*)fhp->fh_export->ex_uuid)[0];
fhp               158 fs/nfsd/nfs3xdr.c 		f ^= ((u64*)fhp->fh_export->ex_uuid)[1];
fhp               166 fs/nfsd/nfs3xdr.c encode_fattr3(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp,
fhp               184 fs/nfsd/nfs3xdr.c 	p = encode_fsid(p, fhp);
fhp               197 fs/nfsd/nfs3xdr.c encode_saved_post_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp)
fhp               201 fs/nfsd/nfs3xdr.c 	return encode_fattr3(rqstp, p, fhp, &fhp->fh_post_attr);
fhp               210 fs/nfsd/nfs3xdr.c encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp)
fhp               212 fs/nfsd/nfs3xdr.c 	struct dentry *dentry = fhp->fh_dentry;
fhp               217 fs/nfsd/nfs3xdr.c 		err = fh_getattr(fhp, &stat);
fhp               221 fs/nfsd/nfs3xdr.c 			return encode_fattr3(rqstp, p, fhp, &stat);
fhp               230 fs/nfsd/nfs3xdr.c nfs3svc_encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp)
fhp               232 fs/nfsd/nfs3xdr.c 	return encode_post_op_attr(rqstp, p, fhp);
fhp               239 fs/nfsd/nfs3xdr.c encode_wcc_data(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp)
fhp               241 fs/nfsd/nfs3xdr.c 	struct dentry	*dentry = fhp->fh_dentry;
fhp               243 fs/nfsd/nfs3xdr.c 	if (dentry && d_really_is_positive(dentry) && fhp->fh_post_saved) {
fhp               244 fs/nfsd/nfs3xdr.c 		if (fhp->fh_pre_saved) {
fhp               246 fs/nfsd/nfs3xdr.c 			p = xdr_encode_hyper(p, (u64) fhp->fh_pre_size);
fhp               247 fs/nfsd/nfs3xdr.c 			p = encode_time3(p, &fhp->fh_pre_mtime);
fhp               248 fs/nfsd/nfs3xdr.c 			p = encode_time3(p, &fhp->fh_pre_ctime);
fhp               252 fs/nfsd/nfs3xdr.c 		return encode_saved_post_attr(rqstp, p, fhp);
fhp               256 fs/nfsd/nfs3xdr.c 	return encode_post_op_attr(rqstp, p, fhp);
fhp               262 fs/nfsd/nfs3xdr.c void fill_pre_wcc(struct svc_fh *fhp)
fhp               268 fs/nfsd/nfs3xdr.c 	if (fhp->fh_pre_saved)
fhp               271 fs/nfsd/nfs3xdr.c 	inode = d_inode(fhp->fh_dentry);
fhp               272 fs/nfsd/nfs3xdr.c 	err = fh_getattr(fhp, &stat);
fhp               280 fs/nfsd/nfs3xdr.c 	fhp->fh_pre_mtime = timespec64_to_timespec(stat.mtime);
fhp               281 fs/nfsd/nfs3xdr.c 	fhp->fh_pre_ctime = timespec64_to_timespec(stat.ctime);
fhp               282 fs/nfsd/nfs3xdr.c 	fhp->fh_pre_size  = stat.size;
fhp               283 fs/nfsd/nfs3xdr.c 	fhp->fh_pre_change = nfsd4_change_attribute(&stat, inode);
fhp               284 fs/nfsd/nfs3xdr.c 	fhp->fh_pre_saved = true;
fhp               290 fs/nfsd/nfs3xdr.c void fill_post_wcc(struct svc_fh *fhp)
fhp               294 fs/nfsd/nfs3xdr.c 	if (fhp->fh_post_saved)
fhp               297 fs/nfsd/nfs3xdr.c 	err = fh_getattr(fhp, &fhp->fh_post_attr);
fhp               298 fs/nfsd/nfs3xdr.c 	fhp->fh_post_change = nfsd4_change_attribute(&fhp->fh_post_attr,
fhp               299 fs/nfsd/nfs3xdr.c 						     d_inode(fhp->fh_dentry));
fhp               301 fs/nfsd/nfs3xdr.c 		fhp->fh_post_saved = false;
fhp               303 fs/nfsd/nfs3xdr.c 		fhp->fh_post_attr.ctime = d_inode(fhp->fh_dentry)->i_ctime;
fhp               305 fs/nfsd/nfs3xdr.c 		fhp->fh_post_saved = true;
fhp               847 fs/nfsd/nfs3xdr.c compose_entry_fh(struct nfsd3_readdirres *cd, struct svc_fh *fhp,
fhp               875 fs/nfsd/nfs3xdr.c 	rv = fh_compose(fhp, exp, dchild, &cd->fh);
fhp               755 fs/nfsd/nfs4acl.c nfsd4_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               766 fs/nfsd/nfs4acl.c 	error = fh_verify(rqstp, fhp, 0, NFSD_MAY_SATTR);
fhp               770 fs/nfsd/nfs4acl.c 	dentry = fhp->fh_dentry;
fhp               782 fs/nfsd/nfs4acl.c 	fh_lock(fhp);
fhp               793 fs/nfsd/nfs4acl.c 	fh_unlock(fhp);
fhp                56 fs/nfsd/nfs4layouts.c nfsd4_alloc_devid_map(const struct svc_fh *fhp)
fhp                58 fs/nfsd/nfs4layouts.c 	const struct knfsd_fh *fh = &fhp->fh_handle;
fhp                71 fs/nfsd/nfs4layouts.c 	if (fhp->fh_export->ex_devid_map)
fhp                82 fs/nfsd/nfs4layouts.c 			fhp->fh_export->ex_devid_map = old;
fhp                89 fs/nfsd/nfs4layouts.c 	fhp->fh_export->ex_devid_map = map;
fhp               112 fs/nfsd/nfs4layouts.c nfsd4_set_deviceid(struct nfsd4_deviceid *id, const struct svc_fh *fhp,
fhp               115 fs/nfsd/nfs4layouts.c 	if (!fhp->fh_export->ex_devid_map) {
fhp               116 fs/nfsd/nfs4layouts.c 		nfsd4_alloc_devid_map(fhp);
fhp               117 fs/nfsd/nfs4layouts.c 		if (!fhp->fh_export->ex_devid_map)
fhp               121 fs/nfsd/nfs4layouts.c 	id->fsid_idx = fhp->fh_export->ex_devid_map->idx;
fhp               150 fs/nfsd/nfs4proc.c do_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               155 fs/nfsd/nfs4proc.c 	status = nfsd4_set_nfs4_acl(rqstp, fhp, acl);
fhp              5345 fs/nfsd/nfs4state.c static inline __be32 nfs4_check_fh(struct svc_fh *fhp, struct nfs4_stid *stp)
fhp              5347 fs/nfsd/nfs4state.c 	if (!fh_match(&fhp->fh_handle, &stp->sc_file->fi_fhandle))
fhp              5581 fs/nfsd/nfs4state.c nfs4_check_file(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfs4_stid *s,
fhp              5590 fs/nfsd/nfs4state.c 		status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry,
fhp              5597 fs/nfsd/nfs4state.c 		status = nfsd_file_acquire(rqstp, fhp, acc, &nf);
fhp              5611 fs/nfsd/nfs4state.c 		struct nfsd4_compound_state *cstate, struct svc_fh *fhp,
fhp              5614 fs/nfsd/nfs4state.c 	struct inode *ino = d_inode(fhp->fh_dentry);
fhp              5627 fs/nfsd/nfs4state.c 		status = check_special_stateids(net, fhp, stateid, flags);
fhp              5655 fs/nfsd/nfs4state.c 	status = nfs4_check_fh(fhp, s);
fhp              5659 fs/nfsd/nfs4state.c 		status = nfs4_check_file(rqstp, fhp, s, nfp, flags);
fhp              6631 fs/nfsd/nfs4state.c static __be32 nfsd_test_lock(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file_lock *lock)
fhp              6634 fs/nfsd/nfs4state.c 	__be32 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_READ, &nf);
fhp              2402 fs/nfsd/nfs4xdr.c nfsd4_encode_fattr(struct xdr_stream *xdr, struct svc_fh *fhp,
fhp              2456 fs/nfsd/nfs4xdr.c 	if ((bmval0 & (FATTR4_WORD0_FILEHANDLE | FATTR4_WORD0_FSID)) && !fhp) {
fhp              2465 fs/nfsd/nfs4xdr.c 		fhp = tempfh;
fhp              2590 fs/nfsd/nfs4xdr.c 		} else switch(fsid_source(fhp)) {
fhp              2687 fs/nfsd/nfs4xdr.c 		p = xdr_reserve_space(xdr, fhp->fh_handle.fh_size + 4);
fhp              2690 fs/nfsd/nfs4xdr.c 		p = xdr_encode_opaque(p, &fhp->fh_handle.fh_base,
fhp              2691 fs/nfsd/nfs4xdr.c 					fhp->fh_handle.fh_size);
fhp              2961 fs/nfsd/nfs4xdr.c 			struct svc_fh *fhp, struct svc_export *exp,
fhp              2970 fs/nfsd/nfs4xdr.c 	ret = nfsd4_encode_fattr(&xdr, fhp, exp, dentry, bmval, rqstp,
fhp              3238 fs/nfsd/nfs4xdr.c 	struct svc_fh *fhp = getattr->ga_fhp;
fhp              3241 fs/nfsd/nfs4xdr.c 	return nfsd4_encode_fattr(xdr, fhp, fhp->fh_export, fhp->fh_dentry,
fhp              3249 fs/nfsd/nfs4xdr.c 	struct svc_fh *fhp = *fhpp;
fhp              3253 fs/nfsd/nfs4xdr.c 	len = fhp->fh_handle.fh_size;
fhp              3257 fs/nfsd/nfs4xdr.c 	p = xdr_encode_opaque(p, &fhp->fh_handle.fh_base, len);
fhp               152 fs/nfsd/nfsfh.c static __be32 nfsd_set_fh_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp)
fhp               154 fs/nfsd/nfsfh.c 	struct knfsd_fh	*fh = &fhp->fh_handle;
fhp               285 fs/nfsd/nfsfh.c 	fhp->fh_dentry = dentry;
fhp               286 fs/nfsd/nfsfh.c 	fhp->fh_export = exp;
fhp               321 fs/nfsd/nfsfh.c fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int access)
fhp               327 fs/nfsd/nfsfh.c 	dprintk("nfsd: fh_verify(%s)\n", SVCFH_fmt(fhp));
fhp               329 fs/nfsd/nfsfh.c 	if (!fhp->fh_dentry) {
fhp               330 fs/nfsd/nfsfh.c 		error = nfsd_set_fh_dentry(rqstp, fhp);
fhp               334 fs/nfsd/nfsfh.c 	dentry = fhp->fh_dentry;
fhp               335 fs/nfsd/nfsfh.c 	exp = fhp->fh_export;
fhp               408 fs/nfsd/nfsfh.c static void _fh_update(struct svc_fh *fhp, struct svc_export *exp,
fhp               413 fs/nfsd/nfsfh.c 			(fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1);
fhp               414 fs/nfsd/nfsfh.c 		int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4;
fhp               417 fs/nfsd/nfsfh.c 		fhp->fh_handle.fh_fileid_type =
fhp               419 fs/nfsd/nfsfh.c 		fhp->fh_handle.fh_size += maxsize * 4;
fhp               421 fs/nfsd/nfsfh.c 		fhp->fh_handle.fh_fileid_type = FILEID_ROOT;
fhp               474 fs/nfsd/nfsfh.c static void set_version_and_fsid_type(struct svc_fh *fhp, struct svc_export *exp, struct svc_fh *ref_fh)
fhp               507 fs/nfsd/nfsfh.c 		if (fhp->fh_maxsize >= 64) {
fhp               523 fs/nfsd/nfsfh.c 	fhp->fh_handle.fh_version = version;
fhp               525 fs/nfsd/nfsfh.c 		fhp->fh_handle.fh_fsid_type = fsid_type;
fhp               529 fs/nfsd/nfsfh.c fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry,
fhp               553 fs/nfsd/nfsfh.c 	set_version_and_fsid_type(fhp, exp, ref_fh);
fhp               555 fs/nfsd/nfsfh.c 	if (ref_fh == fhp)
fhp               558 fs/nfsd/nfsfh.c 	if (fhp->fh_locked || fhp->fh_dentry) {
fhp               562 fs/nfsd/nfsfh.c 	if (fhp->fh_maxsize < NFS_FHSIZE)
fhp               564 fs/nfsd/nfsfh.c 		       fhp->fh_maxsize,
fhp               567 fs/nfsd/nfsfh.c 	fhp->fh_dentry = dget(dentry); /* our internal copy */
fhp               568 fs/nfsd/nfsfh.c 	fhp->fh_export = exp_get(exp);
fhp               570 fs/nfsd/nfsfh.c 	if (fhp->fh_handle.fh_version == 0xca) {
fhp               572 fs/nfsd/nfsfh.c 		memset(&fhp->fh_handle.fh_base, 0, NFS_FHSIZE);
fhp               573 fs/nfsd/nfsfh.c 		fhp->fh_handle.fh_size = NFS_FHSIZE;
fhp               574 fs/nfsd/nfsfh.c 		fhp->fh_handle.ofh_dcookie = 0xfeebbaca;
fhp               575 fs/nfsd/nfsfh.c 		fhp->fh_handle.ofh_dev =  old_encode_dev(ex_dev);
fhp               576 fs/nfsd/nfsfh.c 		fhp->fh_handle.ofh_xdev = fhp->fh_handle.ofh_dev;
fhp               577 fs/nfsd/nfsfh.c 		fhp->fh_handle.ofh_xino =
fhp               579 fs/nfsd/nfsfh.c 		fhp->fh_handle.ofh_dirino = ino_t_to_u32(parent_ino(dentry));
fhp               581 fs/nfsd/nfsfh.c 			_fh_update_old(dentry, exp, &fhp->fh_handle);
fhp               583 fs/nfsd/nfsfh.c 		fhp->fh_handle.fh_size =
fhp               584 fs/nfsd/nfsfh.c 			key_len(fhp->fh_handle.fh_fsid_type) + 4;
fhp               585 fs/nfsd/nfsfh.c 		fhp->fh_handle.fh_auth_type = 0;
fhp               587 fs/nfsd/nfsfh.c 		mk_fsid(fhp->fh_handle.fh_fsid_type,
fhp               588 fs/nfsd/nfsfh.c 			fhp->fh_handle.fh_fsid,
fhp               594 fs/nfsd/nfsfh.c 			_fh_update(fhp, exp, dentry);
fhp               595 fs/nfsd/nfsfh.c 		if (fhp->fh_handle.fh_fileid_type == FILEID_INVALID) {
fhp               596 fs/nfsd/nfsfh.c 			fh_put(fhp);
fhp               609 fs/nfsd/nfsfh.c fh_update(struct svc_fh *fhp)
fhp               613 fs/nfsd/nfsfh.c 	if (!fhp->fh_dentry)
fhp               616 fs/nfsd/nfsfh.c 	dentry = fhp->fh_dentry;
fhp               619 fs/nfsd/nfsfh.c 	if (fhp->fh_handle.fh_version != 1) {
fhp               620 fs/nfsd/nfsfh.c 		_fh_update_old(dentry, fhp->fh_export, &fhp->fh_handle);
fhp               622 fs/nfsd/nfsfh.c 		if (fhp->fh_handle.fh_fileid_type != FILEID_ROOT)
fhp               625 fs/nfsd/nfsfh.c 		_fh_update(fhp, fhp->fh_export, dentry);
fhp               626 fs/nfsd/nfsfh.c 		if (fhp->fh_handle.fh_fileid_type == FILEID_INVALID)
fhp               643 fs/nfsd/nfsfh.c fh_put(struct svc_fh *fhp)
fhp               645 fs/nfsd/nfsfh.c 	struct dentry * dentry = fhp->fh_dentry;
fhp               646 fs/nfsd/nfsfh.c 	struct svc_export * exp = fhp->fh_export;
fhp               648 fs/nfsd/nfsfh.c 		fh_unlock(fhp);
fhp               649 fs/nfsd/nfsfh.c 		fhp->fh_dentry = NULL;
fhp               651 fs/nfsd/nfsfh.c 		fh_clear_wcc(fhp);
fhp               653 fs/nfsd/nfsfh.c 	fh_drop_write(fhp);
fhp               656 fs/nfsd/nfsfh.c 		fhp->fh_export = NULL;
fhp               664 fs/nfsd/nfsfh.c char * SVCFH_fmt(struct svc_fh *fhp)
fhp               666 fs/nfsd/nfsfh.c 	struct knfsd_fh *fh = &fhp->fh_handle;
fhp               680 fs/nfsd/nfsfh.c enum fsid_source fsid_source(struct svc_fh *fhp)
fhp               682 fs/nfsd/nfsfh.c 	if (fhp->fh_handle.fh_version != 1)
fhp               684 fs/nfsd/nfsfh.c 	switch(fhp->fh_handle.fh_fsid_type) {
fhp               688 fs/nfsd/nfsfh.c 		if (exp_sb(fhp->fh_export)->s_type->fs_flags & FS_REQUIRES_DEV)
fhp               692 fs/nfsd/nfsfh.c 		if (fhp->fh_export->ex_flags & NFSEXP_FSID)
fhp               701 fs/nfsd/nfsfh.c 	if (fhp->fh_export->ex_flags & NFSEXP_FSID)
fhp               703 fs/nfsd/nfsfh.c 	if (fhp->fh_export->ex_uuid)
fhp                76 fs/nfsd/nfsfh.h extern enum fsid_source fsid_source(struct svc_fh *fhp);
fhp               159 fs/nfsd/nfsfh.h extern char * SVCFH_fmt(struct svc_fh *fhp);
fhp               186 fs/nfsd/nfsfh.h fh_init(struct svc_fh *fhp, int maxsize)
fhp               188 fs/nfsd/nfsfh.h 	memset(fhp, 0, sizeof(*fhp));
fhp               189 fs/nfsd/nfsfh.h 	fhp->fh_maxsize = maxsize;
fhp               190 fs/nfsd/nfsfh.h 	return fhp;
fhp               239 fs/nfsd/nfsfh.h fh_clear_wcc(struct svc_fh *fhp)
fhp               241 fs/nfsd/nfsfh.h 	fhp->fh_post_saved = false;
fhp               242 fs/nfsd/nfsfh.h 	fhp->fh_pre_saved = false;
fhp               268 fs/nfsd/nfsfh.h extern void fill_pre_wcc(struct svc_fh *fhp);
fhp               269 fs/nfsd/nfsfh.h extern void fill_post_wcc(struct svc_fh *fhp);
fhp               285 fs/nfsd/nfsfh.h fh_lock_nested(struct svc_fh *fhp, unsigned int subclass)
fhp               287 fs/nfsd/nfsfh.h 	struct dentry	*dentry = fhp->fh_dentry;
fhp               292 fs/nfsd/nfsfh.h 	if (fhp->fh_locked) {
fhp               300 fs/nfsd/nfsfh.h 	fill_pre_wcc(fhp);
fhp               301 fs/nfsd/nfsfh.h 	fhp->fh_locked = true;
fhp               305 fs/nfsd/nfsfh.h fh_lock(struct svc_fh *fhp)
fhp               307 fs/nfsd/nfsfh.h 	fh_lock_nested(fhp, I_MUTEX_NORMAL);
fhp               314 fs/nfsd/nfsfh.h fh_unlock(struct svc_fh *fhp)
fhp               316 fs/nfsd/nfsfh.h 	if (fhp->fh_locked) {
fhp               317 fs/nfsd/nfsfh.h 		fill_post_wcc(fhp);
fhp               318 fs/nfsd/nfsfh.h 		inode_unlock(d_inode(fhp->fh_dentry));
fhp               319 fs/nfsd/nfsfh.h 		fhp->fh_locked = false;
fhp                66 fs/nfsd/nfsproc.c 	struct svc_fh *fhp;
fhp                73 fs/nfsd/nfsproc.c 	fhp = fh_copy(&resp->fh, &argp->fh);
fhp                99 fs/nfsd/nfsproc.c 		nfserr = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP);
fhp               106 fs/nfsd/nfsproc.c 		    setattr_prepare(fhp->fh_dentry, iap) != 0) {
fhp               116 fs/nfsd/nfsproc.c 	nfserr = nfsd_setattr(rqstp, fhp, iap, 0, (time_t)0);
fhp                29 fs/nfsd/nfsxdr.c decode_fh(__be32 *p, struct svc_fh *fhp)
fhp                31 fs/nfsd/nfsxdr.c 	fh_init(fhp, NFS_FHSIZE);
fhp                32 fs/nfsd/nfsxdr.c 	memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE);
fhp                33 fs/nfsd/nfsxdr.c 	fhp->fh_handle.fh_size = NFS_FHSIZE;
fhp                41 fs/nfsd/nfsxdr.c __be32 *nfs2svc_decode_fh(__be32 *p, struct svc_fh *fhp)
fhp                43 fs/nfsd/nfsxdr.c 	return decode_fh(p, fhp);
fhp                47 fs/nfsd/nfsxdr.c encode_fh(__be32 *p, struct svc_fh *fhp)
fhp                49 fs/nfsd/nfsxdr.c 	memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE);
fhp               129 fs/nfsd/nfsxdr.c encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp,
fhp               133 fs/nfsd/nfsxdr.c 	struct dentry	*dentry = fhp->fh_dentry;
fhp               157 fs/nfsd/nfsxdr.c 	switch (fsid_source(fhp)) {
fhp               163 fs/nfsd/nfsxdr.c 		*p++ = htonl((u32) fhp->fh_export->ex_fsid);
fhp               166 fs/nfsd/nfsxdr.c 		f = ((u32*)fhp->fh_export->ex_uuid)[0];
fhp               167 fs/nfsd/nfsxdr.c 		f ^= ((u32*)fhp->fh_export->ex_uuid)[1];
fhp               168 fs/nfsd/nfsxdr.c 		f ^= ((u32*)fhp->fh_export->ex_uuid)[2];
fhp               169 fs/nfsd/nfsxdr.c 		f ^= ((u32*)fhp->fh_export->ex_uuid)[3];
fhp               187 fs/nfsd/nfsxdr.c __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat)
fhp               189 fs/nfsd/nfsxdr.c 	return encode_fattr(rqstp, p, fhp, stat);
fhp                32 fs/nfsd/pnfs.h 	__be32 (*proc_layoutget)(struct inode *, const struct svc_fh *fhp,
fhp                65 fs/nfsd/pnfs.h int nfsd4_set_deviceid(struct nfsd4_deviceid *id, const struct svc_fh *fhp,
fhp               619 fs/nfsd/state.h 		struct nfsd4_compound_state *cstate, struct svc_fh *fhp,
fhp                55 fs/nfsd/trace.h 		 struct svc_fh	*fhp,
fhp                58 fs/nfsd/trace.h 	TP_ARGS(rqstp, fhp, offset, len),
fhp                67 fs/nfsd/trace.h 		__entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
fhp                79 fs/nfsd/trace.h 		 struct svc_fh	*fhp,		\
fhp                82 fs/nfsd/trace.h 	TP_ARGS(rqstp, fhp, offset, len))
fhp                96 fs/nfsd/trace.h 		 struct svc_fh	*fhp,
fhp                99 fs/nfsd/trace.h 	TP_ARGS(rqstp, fhp, offset, status),
fhp               108 fs/nfsd/trace.h 		__entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
fhp               120 fs/nfsd/trace.h 		 struct svc_fh	*fhp,		\
fhp               123 fs/nfsd/trace.h 	TP_ARGS(rqstp, fhp, offset, len))
fhp               173 fs/nfsd/vfs.c  nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               182 fs/nfsd/vfs.c  	dprintk("nfsd: nfsd_lookup(fh %s, %.*s)\n", SVCFH_fmt(fhp), len,name);
fhp               184 fs/nfsd/vfs.c  	dparent = fhp->fh_dentry;
fhp               185 fs/nfsd/vfs.c  	exp = exp_get(fhp->fh_export);
fhp               207 fs/nfsd/vfs.c  		fh_lock_nested(fhp, I_MUTEX_PARENT);
fhp               221 fs/nfsd/vfs.c  			fh_unlock(fhp);
fhp               250 fs/nfsd/vfs.c  nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name,
fhp               257 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC);
fhp               260 fs/nfsd/vfs.c  	err = nfsd_lookup_dentry(rqstp, fhp, name, len, &exp, &dentry);
fhp               270 fs/nfsd/vfs.c  	err = fh_compose(resfh, exp, dentry, fhp);
fhp               293 fs/nfsd/vfs.c  commit_metadata(struct svc_fh *fhp)
fhp               295 fs/nfsd/vfs.c  	struct inode *inode = d_inode(fhp->fh_dentry);
fhp               297 fs/nfsd/vfs.c  	if (!EX_ISSYNC(fhp->fh_export))
fhp               332 fs/nfsd/vfs.c  nfsd_get_write_access(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               335 fs/nfsd/vfs.c  	struct inode *inode = d_inode(fhp->fh_dentry);
fhp               341 fs/nfsd/vfs.c  		err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry,
fhp               366 fs/nfsd/vfs.c  nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
fhp               397 fs/nfsd/vfs.c  	get_write_count = !fhp->fh_dentry;
fhp               400 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, ftype, accmode);
fhp               404 fs/nfsd/vfs.c  		host_err = fh_want_write(fhp);
fhp               409 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
fhp               432 fs/nfsd/vfs.c  		err = nfsd_get_write_access(rqstp, fhp, iap);
fhp               437 fs/nfsd/vfs.c  	fh_lock(fhp);
fhp               469 fs/nfsd/vfs.c  	fh_unlock(fhp);
fhp               474 fs/nfsd/vfs.c  		host_err = commit_metadata(fhp);
fhp               507 fs/nfsd/vfs.c  __be32 nfsd4_set_nfs4_label(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               514 fs/nfsd/vfs.c  	error = fh_verify(rqstp, fhp, 0 /* S_IFREG */, NFSD_MAY_SATTR);
fhp               518 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
fhp               526 fs/nfsd/vfs.c  __be32 nfsd4_set_nfs4_label(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               571 fs/nfsd/vfs.c  __be32 nfsd4_vfs_fallocate(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               582 fs/nfsd/vfs.c  		error = commit_metadata(fhp);
fhp               632 fs/nfsd/vfs.c  nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported)
fhp               640 fs/nfsd/vfs.c  	error = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP);
fhp               644 fs/nfsd/vfs.c  	export = fhp->fh_export;
fhp               645 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
fhp               707 fs/nfsd/vfs.c  __nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type,
fhp               717 fs/nfsd/vfs.c  	path.mnt = fhp->fh_export->ex_path.mnt;
fhp               718 fs/nfsd/vfs.c  	path.dentry = fhp->fh_dentry;
fhp               774 fs/nfsd/vfs.c  nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type,
fhp               793 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, type, may_flags);
fhp               795 fs/nfsd/vfs.c  		err = __nfsd_open(rqstp, fhp, type, may_flags, filp);
fhp               801 fs/nfsd/vfs.c  nfsd_open_verified(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type,
fhp               807 fs/nfsd/vfs.c  	err = __nfsd_open(rqstp, fhp, type, may_flags, filp);
fhp               862 fs/nfsd/vfs.c  static __be32 nfsd_finish_read(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               871 fs/nfsd/vfs.c  		trace_nfsd_read_io_done(rqstp, fhp, offset, *count);
fhp               874 fs/nfsd/vfs.c  		trace_nfsd_read_err(rqstp, fhp, offset, host_err);
fhp               879 fs/nfsd/vfs.c  __be32 nfsd_splice_read(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               891 fs/nfsd/vfs.c  	trace_nfsd_read_splice(rqstp, fhp, offset, *count);
fhp               894 fs/nfsd/vfs.c  	return nfsd_finish_read(rqstp, fhp, file, offset, count, eof, host_err);
fhp               897 fs/nfsd/vfs.c  __be32 nfsd_readv(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               906 fs/nfsd/vfs.c  	trace_nfsd_read_vector(rqstp, fhp, offset, *count);
fhp               909 fs/nfsd/vfs.c  	return nfsd_finish_read(rqstp, fhp, file, offset, count, eof, host_err);
fhp               950 fs/nfsd/vfs.c  nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file,
fhp               963 fs/nfsd/vfs.c  	trace_nfsd_write_opened(rqstp, fhp, offset, *cnt);
fhp               974 fs/nfsd/vfs.c  	exp = fhp->fh_export;
fhp              1000 fs/nfsd/vfs.c  		trace_nfsd_write_io_done(rqstp, fhp, offset, *cnt);
fhp              1003 fs/nfsd/vfs.c  		trace_nfsd_write_err(rqstp, fhp, offset, host_err);
fhp              1016 fs/nfsd/vfs.c  __be32 nfsd_read(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp              1024 fs/nfsd/vfs.c  	trace_nfsd_read_start(rqstp, fhp, offset, *count);
fhp              1025 fs/nfsd/vfs.c  	err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_READ, &nf);
fhp              1031 fs/nfsd/vfs.c  		err = nfsd_splice_read(rqstp, fhp, file, offset, count, eof);
fhp              1033 fs/nfsd/vfs.c  		err = nfsd_readv(rqstp, fhp, file, offset, vec, vlen, count, eof);
fhp              1037 fs/nfsd/vfs.c  	trace_nfsd_read_done(rqstp, fhp, offset, *count);
fhp              1048 fs/nfsd/vfs.c  nfsd_write(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t offset,
fhp              1054 fs/nfsd/vfs.c  	trace_nfsd_write_start(rqstp, fhp, offset, *cnt);
fhp              1056 fs/nfsd/vfs.c  	err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_WRITE, &nf);
fhp              1060 fs/nfsd/vfs.c  	err = nfsd_vfs_write(rqstp, fhp, nf->nf_file, offset, vec,
fhp              1064 fs/nfsd/vfs.c  	trace_nfsd_write_done(rqstp, fhp, offset, *cnt);
fhp              1079 fs/nfsd/vfs.c  nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp              1094 fs/nfsd/vfs.c  	err = nfsd_file_acquire(rqstp, fhp,
fhp              1098 fs/nfsd/vfs.c  	if (EX_ISSYNC(fhp->fh_export)) {
fhp              1158 fs/nfsd/vfs.c  nfsd_create_locked(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp              1168 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
fhp              1172 fs/nfsd/vfs.c  	if (!fhp->fh_locked) {
fhp              1179 fs/nfsd/vfs.c  	err = nfsd_permission(rqstp, fhp->fh_export, dentry, NFSD_MAY_CREATE);
fhp              1242 fs/nfsd/vfs.c  	err2 = nfserrno(commit_metadata(fhp));
fhp              1266 fs/nfsd/vfs.c  nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp              1277 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_NOP);
fhp              1281 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
fhp              1283 fs/nfsd/vfs.c  	host_err = fh_want_write(fhp);
fhp              1287 fs/nfsd/vfs.c  	fh_lock_nested(fhp, I_MUTEX_PARENT);
fhp              1292 fs/nfsd/vfs.c  	err = fh_compose(resfhp, fhp->fh_export, dchild, fhp);
fhp              1300 fs/nfsd/vfs.c  	return nfsd_create_locked(rqstp, fhp, fname, flen, iap, type,
fhp              1310 fs/nfsd/vfs.c  do_nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp              1329 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC);
fhp              1333 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
fhp              1336 fs/nfsd/vfs.c  	host_err = fh_want_write(fhp);
fhp              1340 fs/nfsd/vfs.c  	fh_lock_nested(fhp, I_MUTEX_PARENT);
fhp              1352 fs/nfsd/vfs.c  		err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE);
fhp              1357 fs/nfsd/vfs.c  	err = fh_compose(resfhp, fhp->fh_export, dchild, fhp);
fhp              1415 fs/nfsd/vfs.c  		fh_drop_write(fhp);
fhp              1421 fs/nfsd/vfs.c  		fh_drop_write(fhp);
fhp              1448 fs/nfsd/vfs.c  		err = nfserrno(commit_metadata(fhp));
fhp              1457 fs/nfsd/vfs.c  	fh_unlock(fhp);
fhp              1460 fs/nfsd/vfs.c  	fh_drop_write(fhp);
fhp              1475 fs/nfsd/vfs.c  nfsd_readlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *buf, int *lenp)
fhp              1483 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFLNK, NFSD_MAY_NOP);
fhp              1487 fs/nfsd/vfs.c  	path.mnt = fhp->fh_export->ex_path.mnt;
fhp              1488 fs/nfsd/vfs.c  	path.dentry = fhp->fh_dentry;
fhp              1512 fs/nfsd/vfs.c  nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp              1528 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE);
fhp              1532 fs/nfsd/vfs.c  	host_err = fh_want_write(fhp);
fhp              1536 fs/nfsd/vfs.c  	fh_lock(fhp);
fhp              1537 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
fhp              1546 fs/nfsd/vfs.c  		err = nfserrno(commit_metadata(fhp));
fhp              1547 fs/nfsd/vfs.c  	fh_unlock(fhp);
fhp              1549 fs/nfsd/vfs.c  	fh_drop_write(fhp);
fhp              1551 fs/nfsd/vfs.c  	cerr = fh_compose(resfhp, fhp->fh_export, dnew, fhp);
fhp              1777 fs/nfsd/vfs.c  nfsd_unlink(struct svc_rqst *rqstp, struct svc_fh *fhp, int type,
fhp              1788 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_REMOVE);
fhp              1792 fs/nfsd/vfs.c  	host_err = fh_want_write(fhp);
fhp              1796 fs/nfsd/vfs.c  	fh_lock_nested(fhp, I_MUTEX_PARENT);
fhp              1797 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
fhp              1822 fs/nfsd/vfs.c  		host_err = commit_metadata(fhp);
fhp              1826 fs/nfsd/vfs.c  	fh_drop_write(fhp);
fhp              1952 fs/nfsd/vfs.c  nfsd_readdir(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t *offsetp, 
fhp              1964 fs/nfsd/vfs.c  	err = nfsd_open(rqstp, fhp, S_IFDIR, may_flags, &file);
fhp              1989 fs/nfsd/vfs.c  nfsd_statfs(struct svc_rqst *rqstp, struct svc_fh *fhp, struct kstatfs *stat, int access)
fhp              1993 fs/nfsd/vfs.c  	err = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP | access);
fhp              1996 fs/nfsd/vfs.c  			.mnt	= fhp->fh_export->ex_path.mnt,
fhp              1997 fs/nfsd/vfs.c  			.dentry	= fhp->fh_dentry,
fhp                81 fs/nfsd/vfs.h  __be32		nfsd_splice_read(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp                85 fs/nfsd/vfs.h  __be32		nfsd_readv(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp                95 fs/nfsd/vfs.h  __be32		nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp,
fhp               162 fs/nfsd/xdr.h  __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat);
fhp               163 fs/nfsd/xdr.h  __be32 *nfs2svc_decode_fh(__be32 *p, struct svc_fh *fhp);
fhp               317 fs/nfsd/xdr3.h 				struct svc_fh *fhp);
fhp               318 fs/nfsd/xdr3.h __be32 *nfs3svc_decode_fh(__be32 *p, struct svc_fh *fhp);
fhp               715 fs/nfsd/xdr4.h set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
fhp               717 fs/nfsd/xdr4.h 	BUG_ON(!fhp->fh_pre_saved);
fhp               718 fs/nfsd/xdr4.h 	cinfo->atomic = (u32)fhp->fh_post_saved;
fhp               719 fs/nfsd/xdr4.h 	cinfo->change_supported = IS_I_VERSION(d_inode(fhp->fh_dentry));
fhp               721 fs/nfsd/xdr4.h 	cinfo->before_change = fhp->fh_pre_change;
fhp               722 fs/nfsd/xdr4.h 	cinfo->after_change = fhp->fh_post_change;
fhp               723 fs/nfsd/xdr4.h 	cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec;
fhp               724 fs/nfsd/xdr4.h 	cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
fhp               725 fs/nfsd/xdr4.h 	cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec;
fhp               726 fs/nfsd/xdr4.h 	cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
fhp               739 fs/nfsd/xdr4.h 		struct svc_fh *fhp, struct svc_export *exp,
fhp               254 tools/testing/selftests/bpf/cgroup_helpers.c 	struct file_handle *fhp, *fhp2;
fhp               261 tools/testing/selftests/bpf/cgroup_helpers.c 	fhsize = sizeof(*fhp);
fhp               262 tools/testing/selftests/bpf/cgroup_helpers.c 	fhp = calloc(1, fhsize);
fhp               263 tools/testing/selftests/bpf/cgroup_helpers.c 	if (!fhp) {
fhp               267 tools/testing/selftests/bpf/cgroup_helpers.c 	err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags);
fhp               268 tools/testing/selftests/bpf/cgroup_helpers.c 	if (err >= 0 || fhp->handle_bytes != 8) {
fhp               273 tools/testing/selftests/bpf/cgroup_helpers.c 	fhsize = sizeof(struct file_handle) + fhp->handle_bytes;
fhp               274 tools/testing/selftests/bpf/cgroup_helpers.c 	fhp2 = realloc(fhp, fhsize);
fhp               280 tools/testing/selftests/bpf/cgroup_helpers.c 	fhp = fhp2;
fhp               286 tools/testing/selftests/bpf/cgroup_helpers.c 	memcpy(id.raw_bytes, fhp->f_handle, 8);
fhp               290 tools/testing/selftests/bpf/cgroup_helpers.c 	free(fhp);