Lines Matching defs:fh
141 struct knfsd_fh *fh = &fhp->fh_handle;
146 int data_left = fh->fh_size/4;
152 if (rqstp->rq_vers == 4 && fh->fh_size == 0)
155 if (fh->fh_version == 1) {
160 if (fh->fh_auth_type != 0)
162 len = key_len(fh->fh_fsid_type) / 4;
165 if (fh->fh_fsid_type == FSID_MAJOR_MINOR) {
168 fh->fh_fsid_type = FSID_ENCODE_DEV;
169 fh->fh_fsid[0] = new_encode_dev(MKDEV(ntohl(fh->fh_fsid[0]), ntohl(fh->fh_fsid[1])));
170 fh->fh_fsid[1] = fh->fh_fsid[2];
175 exp = rqst_exp_find(rqstp, fh->fh_fsid_type, fh->fh_auth);
176 fid = (struct fid *)(fh->fh_auth + len);
182 if (fh->fh_size != NFS_FHSIZE)
185 xdev = old_decode_dev(fh->ofh_xdev);
186 xino = u32_to_ino_t(fh->ofh_xino);
229 if (fh->fh_version != 1) {
230 sfid.i32.ino = fh->ofh_ino;
231 sfid.i32.gen = fh->ofh_generation;
232 sfid.i32.parent_ino = fh->ofh_dirino;
235 if (fh->ofh_dirino == 0)
240 fileid_type = fh->fh_fileid_type;
385 * before the fh goes out on the wire ...
409 struct knfsd_fh *fh)
411 fh->ofh_ino = ino_t_to_u32(dentry->d_inode->i_ino);
412 fh->ofh_generation = dentry->d_inode->i_generation;
415 fh->ofh_dirino = 0;
540 printk(KERN_ERR "fh_compose: fh %s/%s not initialized!\n",
616 printk(KERN_ERR "fh_update: fh not verified!\n");
653 struct knfsd_fh *fh = &fhp->fh_handle;
657 fh->fh_size,
658 fh->fh_base.fh_pad[0],
659 fh->fh_base.fh_pad[1],
660 fh->fh_base.fh_pad[2],
661 fh->fh_base.fh_pad[3],
662 fh->fh_base.fh_pad[4],
663 fh->fh_base.fh_pad[5]);