Lines Matching refs:fh_handle
532 struct knfsd_fh *fh = &fhp->fh_handle; in fh_verify()
823 ref_fh->fh_handle.fh_version == 0xca && in fh_compose()
826 memset(&fhp->fh_handle.fh_base, 0, NFS_FHSIZE); in fh_compose()
827 fhp->fh_handle.fh_size = NFS_FHSIZE; in fh_compose()
828 fhp->fh_handle.ofh_dcookie = 0xfeebbaca; in fh_compose()
829 fhp->fh_handle.ofh_dev = htonl((MAJOR(exp->ex_dev)<<16)| MINOR(exp->ex_dev)); in fh_compose()
830 fhp->fh_handle.ofh_xdev = fhp->fh_handle.ofh_dev; in fh_compose()
831 fhp->fh_handle.ofh_xino = ino_t_to_u32(exp->ex_ino); in fh_compose()
832 fhp->fh_handle.ofh_dirino = ino_t_to_u32(dentry->d_parent->d_inode->i_ino); in fh_compose()
834 _fh_update_old(dentry, exp, &fhp->fh_handle); in fh_compose()
836 fhp->fh_handle.fh_version = 1; in fh_compose()
837 fhp->fh_handle.fh_auth_type = 0; in fh_compose()
838 datap = fhp->fh_handle.fh_auth+0; in fh_compose()
840 (!ref_fh || ref_fh->fh_handle.fh_fsid_type == 1)) { in fh_compose()
841 fhp->fh_handle.fh_fsid_type = 1; in fh_compose()
844 fhp->fh_handle.fh_size = 2*4; in fh_compose()
846 fhp->fh_handle.fh_fsid_type = 0; in fh_compose()
850 fhp->fh_handle.fh_size = 3*4; in fh_compose()
854 fhp->fh_handle.fh_fileid_type = in fh_compose()
856 fhp->fh_handle.fh_size += size*4; in fh_compose()
861 if (fhp->fh_handle.fh_fileid_type == 255) in fh_compose()
882 if (fhp->fh_handle.fh_version != 1) { in fh_update()
883 _fh_update_old(dentry, fhp->fh_export, &fhp->fh_handle); in fh_update()
886 if (fhp->fh_handle.fh_fileid_type != 0) in fh_update()
888 datap = fhp->fh_handle.fh_auth+ in fh_update()
889 fhp->fh_handle.fh_size/4 -1; in fh_update()
890 size = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in fh_update()
891 fhp->fh_handle.fh_fileid_type = in fh_update()
893 fhp->fh_handle.fh_size += size*4; in fh_update()