Lines Matching refs:fh

137 	struct knfsd_fh	*fh = &fhp->fh_handle;  in nfsd_set_fh_dentry()  local
142 int data_left = fh->fh_size/4; in nfsd_set_fh_dentry()
148 if (rqstp->rq_vers == 4 && fh->fh_size == 0) in nfsd_set_fh_dentry()
151 if (fh->fh_version == 1) { in nfsd_set_fh_dentry()
156 if (fh->fh_auth_type != 0) in nfsd_set_fh_dentry()
158 len = key_len(fh->fh_fsid_type) / 4; in nfsd_set_fh_dentry()
161 if (fh->fh_fsid_type == FSID_MAJOR_MINOR) { in nfsd_set_fh_dentry()
164 fh->fh_fsid_type = FSID_ENCODE_DEV; in nfsd_set_fh_dentry()
171 fh->fh_fsid[0] = new_encode_dev(MKDEV(ntohl((__force __be32)fh->fh_fsid[0]), in nfsd_set_fh_dentry()
172 ntohl((__force __be32)fh->fh_fsid[1]))); in nfsd_set_fh_dentry()
173 fh->fh_fsid[1] = fh->fh_fsid[2]; in nfsd_set_fh_dentry()
178 exp = rqst_exp_find(rqstp, fh->fh_fsid_type, fh->fh_fsid); in nfsd_set_fh_dentry()
179 fid = (struct fid *)(fh->fh_fsid + len); in nfsd_set_fh_dentry()
185 if (fh->fh_size != NFS_FHSIZE) in nfsd_set_fh_dentry()
188 xdev = old_decode_dev(fh->ofh_xdev); in nfsd_set_fh_dentry()
189 xino = u32_to_ino_t(fh->ofh_xino); in nfsd_set_fh_dentry()
234 if (fh->fh_version != 1) { in nfsd_set_fh_dentry()
235 sfid.i32.ino = fh->ofh_ino; in nfsd_set_fh_dentry()
236 sfid.i32.gen = fh->ofh_generation; in nfsd_set_fh_dentry()
237 sfid.i32.parent_ino = fh->ofh_dirino; in nfsd_set_fh_dentry()
240 if (fh->ofh_dirino == 0) in nfsd_set_fh_dentry()
245 fileid_type = fh->fh_fileid_type; in nfsd_set_fh_dentry()
413 struct knfsd_fh *fh) in _fh_update_old() argument
415 fh->ofh_ino = ino_t_to_u32(d_inode(dentry)->i_ino); in _fh_update_old()
416 fh->ofh_generation = d_inode(dentry)->i_generation; in _fh_update_old()
419 fh->ofh_dirino = 0; in _fh_update_old()
649 struct knfsd_fh *fh = &fhp->fh_handle; in SVCFH_fmt() local
653 fh->fh_size, in SVCFH_fmt()
654 fh->fh_base.fh_pad[0], in SVCFH_fmt()
655 fh->fh_base.fh_pad[1], in SVCFH_fmt()
656 fh->fh_base.fh_pad[2], in SVCFH_fmt()
657 fh->fh_base.fh_pad[3], in SVCFH_fmt()
658 fh->fh_base.fh_pad[4], in SVCFH_fmt()
659 fh->fh_base.fh_pad[5]); in SVCFH_fmt()