Lines Matching refs:fh_handle

154 	struct knfsd_fh	*fh = &fhp->fh_handle;  in nfsd_set_fh_dentry()
413 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
414 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update()
417 fhp->fh_handle.fh_fileid_type = in _fh_update()
419 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update()
421 fhp->fh_handle.fh_fileid_type = FILEID_ROOT; in _fh_update()
481 version = ref_fh->fh_handle.fh_version; in set_version_and_fsid_type()
482 fsid_type = ref_fh->fh_handle.fh_fsid_type; in set_version_and_fsid_type()
523 fhp->fh_handle.fh_version = version; in set_version_and_fsid_type()
525 fhp->fh_handle.fh_fsid_type = fsid_type; in set_version_and_fsid_type()
570 if (fhp->fh_handle.fh_version == 0xca) { in fh_compose()
572 memset(&fhp->fh_handle.fh_base, 0, NFS_FHSIZE); in fh_compose()
573 fhp->fh_handle.fh_size = NFS_FHSIZE; in fh_compose()
574 fhp->fh_handle.ofh_dcookie = 0xfeebbaca; in fh_compose()
575 fhp->fh_handle.ofh_dev = old_encode_dev(ex_dev); in fh_compose()
576 fhp->fh_handle.ofh_xdev = fhp->fh_handle.ofh_dev; in fh_compose()
577 fhp->fh_handle.ofh_xino = in fh_compose()
579 fhp->fh_handle.ofh_dirino = ino_t_to_u32(parent_ino(dentry)); in fh_compose()
581 _fh_update_old(dentry, exp, &fhp->fh_handle); in fh_compose()
583 fhp->fh_handle.fh_size = in fh_compose()
584 key_len(fhp->fh_handle.fh_fsid_type) + 4; in fh_compose()
585 fhp->fh_handle.fh_auth_type = 0; in fh_compose()
587 mk_fsid(fhp->fh_handle.fh_fsid_type, in fh_compose()
588 fhp->fh_handle.fh_fsid, in fh_compose()
595 if (fhp->fh_handle.fh_fileid_type == FILEID_INVALID) { in fh_compose()
619 if (fhp->fh_handle.fh_version != 1) { in fh_update()
620 _fh_update_old(dentry, fhp->fh_export, &fhp->fh_handle); in fh_update()
622 if (fhp->fh_handle.fh_fileid_type != FILEID_ROOT) in fh_update()
626 if (fhp->fh_handle.fh_fileid_type == FILEID_INVALID) in fh_update()
666 struct knfsd_fh *fh = &fhp->fh_handle; in SVCFH_fmt()
682 if (fhp->fh_handle.fh_version != 1) in fsid_source()
684 switch(fhp->fh_handle.fh_fsid_type) { in fsid_source()