Searched refs:fh_handle (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/fs/nfsd/ |
D | nfsfh.c | 137 struct knfsd_fh *fh = &fhp->fh_handle; in nfsd_set_fh_dentry() 396 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update() 397 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update() 400 fhp->fh_handle.fh_fileid_type = in _fh_update() 402 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update() 404 fhp->fh_handle.fh_fileid_type = FILEID_ROOT; in _fh_update() 464 version = ref_fh->fh_handle.fh_version; in set_version_and_fsid_type() 465 fsid_type = ref_fh->fh_handle.fh_fsid_type; in set_version_and_fsid_type() 506 fhp->fh_handle.fh_version = version; in set_version_and_fsid_type() 508 fhp->fh_handle.fh_fsid_type = fsid_type; in set_version_and_fsid_type() [all …]
|
D | lockd.c | 34 fh.fh_handle.fh_size = f->size; in nlm_fopen() 35 memcpy((char*)&fh.fh_handle.fh_base, f->data, f->size); in nlm_fopen()
|
D | nfsxdr.c | 31 memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE); in decode_fh() 32 fhp->fh_handle.fh_size = NFS_FHSIZE; in decode_fh() 48 memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE); in encode_fh()
|
D | nfs4layouts.c | 48 const struct knfsd_fh *fh = &fhp->fh_handle; in nfsd4_alloc_devid_map() 251 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid() 520 &cstate->current_fh.fh_handle)) in nfsd4_return_client_layouts()
|
D | nfsfh.h | 28 struct knfsd_fh fh_handle; /* FH data */ member
|
D | nfs3xdr.c | 56 memcpy(&fhp->fh_handle.fh_base, p, size); in decode_fh() 57 fhp->fh_handle.fh_size = size; in decode_fh() 70 unsigned int size = fhp->fh_handle.fh_size; in encode_fh() 73 memcpy(p, &fhp->fh_handle.fh_base, size); in encode_fh()
|
D | nfs4proc.c | 233 &resfh->fh_handle); in nfsd4_set_open_owner_reply_cache() 397 fh_copy_shallow(&cstate->current_fh.fh_handle, in nfsd4_open() 515 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh() 516 memcpy(&cstate->current_fh.fh_handle.fh_base, putfh->pf_fhval, in nfsd4_putfh()
|
D | nfs4xdr.c | 2542 p = xdr_reserve_space(xdr, fhp->fh_handle.fh_size + 4); in nfsd4_encode_fattr() 2545 p = xdr_encode_opaque(p, &fhp->fh_handle.fh_base, in nfsd4_encode_fattr() 2546 fhp->fh_handle.fh_size); in nfsd4_encode_fattr() 3106 len = fhp->fh_handle.fh_size; in nfsd4_encode_getfh() 3110 p = xdr_encode_opaque(p, &fhp->fh_handle.fh_base, len); in nfsd4_encode_getfh()
|
D | export.c | 912 memcpy(f, &fh.fh_handle, sizeof(struct knfsd_fh)); in exp_rootfh()
|
D | nfs4state.c | 701 if (delegation_blocked(¤t_fh->fh_handle)) in alloc_init_deleg() 3517 fp = find_file(¤t_fh->fh_handle); in nfs4_share_conflict() 4240 fp = find_or_add_file(open->op_file, ¤t_fh->fh_handle); in nfsd4_process_open2() 4502 if (!fh_match(&fhp->fh_handle, &stp->sc_file->fi_fhandle)) in nfs4_check_fh()
|