• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfsd/

Lines Matching refs:fh_handle

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