Lines Matching refs:fh_handle
141 struct knfsd_fh *fh = &fhp->fh_handle; in nfsd_set_fh_dentry()
392 (fhp->fh_handle.fh_auth + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
393 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update()
396 fhp->fh_handle.fh_fileid_type = in _fh_update()
398 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update()
400 fhp->fh_handle.fh_fileid_type = FILEID_ROOT; in _fh_update()
460 version = ref_fh->fh_handle.fh_version; in set_version_and_fsid_type()
461 fsid_type = ref_fh->fh_handle.fh_fsid_type; in set_version_and_fsid_type()
502 fhp->fh_handle.fh_version = version; in set_version_and_fsid_type()
504 fhp->fh_handle.fh_fsid_type = fsid_type; in set_version_and_fsid_type()
552 if (fhp->fh_handle.fh_version == 0xca) { in fh_compose()
554 memset(&fhp->fh_handle.fh_base, 0, NFS_FHSIZE); in fh_compose()
555 fhp->fh_handle.fh_size = NFS_FHSIZE; in fh_compose()
556 fhp->fh_handle.ofh_dcookie = 0xfeebbaca; in fh_compose()
557 fhp->fh_handle.ofh_dev = old_encode_dev(ex_dev); in fh_compose()
558 fhp->fh_handle.ofh_xdev = fhp->fh_handle.ofh_dev; in fh_compose()
559 fhp->fh_handle.ofh_xino = in fh_compose()
561 fhp->fh_handle.ofh_dirino = ino_t_to_u32(parent_ino(dentry)); in fh_compose()
563 _fh_update_old(dentry, exp, &fhp->fh_handle); in fh_compose()
566 fhp->fh_handle.fh_auth_type = 0; in fh_compose()
567 datap = fhp->fh_handle.fh_auth+0; in fh_compose()
568 mk_fsid(fhp->fh_handle.fh_fsid_type, datap, ex_dev, in fh_compose()
572 len = key_len(fhp->fh_handle.fh_fsid_type); in fh_compose()
574 fhp->fh_handle.fh_size = 4 + len; in fh_compose()
578 if (fhp->fh_handle.fh_fileid_type == 255) { in fh_compose()
602 if (fhp->fh_handle.fh_version != 1) { in fh_update()
603 _fh_update_old(dentry, fhp->fh_export, &fhp->fh_handle); in fh_update()
605 if (fhp->fh_handle.fh_fileid_type != FILEID_ROOT) in fh_update()
609 if (fhp->fh_handle.fh_fileid_type == 255) in fh_update()
653 struct knfsd_fh *fh = &fhp->fh_handle; in SVCFH_fmt()
669 if (fhp->fh_handle.fh_version != 1) in fsid_source()
671 switch(fhp->fh_handle.fh_fsid_type) { in fsid_source()