Searched refs:fh_handle (Results 1 – 12 of 12) sorted by relevance
| /linux/fs/nfsd/ |
| H A D | nfsfh.c | 180 struct knfsd_fh *fh = &fhp->fh_handle; in fh_verify_mac() 205 struct knfsd_fh *fh = &fhp->fh_handle; in nfsd_set_fh_dentry() 556 (fh_fsid(&fhp->fh_handle) + fhp->fh_handle.fh_size/4 - 1); in _fh_update() 557 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update() 563 fhp->fh_handle.fh_fileid_type = in _fh_update() 565 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update() 568 if (!fh_append_mac(&fhp->fh_handle, fhp->fh_maxsize, in _fh_update() 570 fhp->fh_handle.fh_fileid_type = FILEID_INVALID; in _fh_update() 572 fhp->fh_handle.fh_fileid_type = FILEID_ROOT; in _fh_update() 618 version = ref_fh->fh_handle.fh_version; in set_version_and_fsid_type() [all …]
|
| H A D | lockd.c | 38 fh.fh_handle.fh_size = f->size; in nlm_fopen() 39 memcpy(&fh.fh_handle.fh_raw, f->data, f->size); in nlm_fopen()
|
| H A D | flexfilelayout.c | 64 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget() 65 memcpy(fl->fh.data, &fhp->fh_handle.fh_raw, fl->fh.size); in nfsd4_ff_proc_layoutget()
|
| H A D | localio.c | 72 fh.fh_handle.fh_size = nfs_fh->size; in nfsd_open_local_fh() 73 memcpy(fh.fh_handle.fh_raw, nfs_fh->data, nfs_fh->size); in nfsd_open_local_fh()
|
| H A D | trace.h | 291 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle); 331 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle); 360 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle); 485 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle); 531 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle); 563 __entry->fh_hash = fhp ? knfsd_fh_hash(&fhp->fh_handle) : 0; 592 __entry->src_fh_hash = knfsd_fh_hash(&src_fhp->fh_handle); 594 __entry->dst_fh_hash = knfsd_fh_hash(&dst_fhp->fh_handle); 2505 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle); 2537 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle); [all …]
|
| H A D | nfsxdr.c | 79 memcpy(&fhp->fh_handle.fh_raw, p, NFS_FHSIZE); in svcxdr_decode_fhandle() 80 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle() 93 memcpy(p, &fhp->fh_handle.fh_raw, NFS_FHSIZE); in svcxdr_encode_fhandle()
|
| H A D | nfs3xdr.c | 94 fhp->fh_handle.fh_size = size; in svcxdr_decode_nfs_fh3() 95 memcpy(&fhp->fh_handle.fh_raw, p, size); in svcxdr_decode_nfs_fh3() 125 u32 size = fhp->fh_handle.fh_size; in svcxdr_encode_nfs_fh3() 134 memcpy(p, &fhp->fh_handle.fh_raw, size); in svcxdr_encode_nfs_fh3()
|
| H A D | nfs4layouts.c | 60 const struct knfsd_fh *fh = &fhp->fh_handle; in nfsd4_alloc_devid_map() 304 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid() 573 &cstate->current_fh.fh_handle)) in nfsd4_return_client_layouts()
|
| H A D | nfsfh.h | 82 struct knfsd_fh fh_handle; /* FH data */ member
|
| H A D | nfs4proc.c | 196 &resfh->fh_handle); in nfsd4_set_open_owner_reply_cache() 607 fh_copy_shallow(&cstate->current_fh.fh_handle, in nfsd4_open() 732 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh() 733 memcpy(&cstate->current_fh.fh_handle.fh_raw, putfh->pf_fhval, in nfsd4_putfh() 1867 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc() 1868 memcpy(copy->c_fh.data, &s_fh->fh_handle.fh_raw, copy->c_fh.size); in nfsd4_setup_inter_ssc() 2218 memcpy(©->fh, &cstate->current_fh.fh_handle, in nfsd4_copy()
|
| H A D | nfs4xdr.c | 2737 const struct knfsd_fh *fh_handle) in nfsd4_encode_nfs_fh4() argument 2739 return nfsd4_encode_opaque(xdr, fh_handle->fh_raw, fh_handle->fh_size); in nfsd4_encode_nfs_fh4() 4050 fh_copy_shallow(&args.fhandle, &fhp->fh_handle); in nfsd4_encode_fattr4() 4866 return nfsd4_encode_nfs_fh4(xdr, &fhp->fh_handle); in nfsd4_encode_getfh()
|
| H A D | nfs4state.c | 5454 fh_copy_shallow(&fp->fi_fhandle, &fh->fh_handle); in nfsd4_file_init() 5949 if (fh_match(&fi->fi_fhandle, &fhp->fh_handle)) { in nfsd4_file_hash_lookup() 5984 if (fh_match(&fi->fi_fhandle, &fhp->fh_handle)) { in nfsd4_file_hash_insert() 7816 if (!fh_match(&fhp->fh_handle, &stp->sc_file->fi_fhandle)) in nfs4_check_fh()
|