| /freebsd/sys/fs/nfsclient/ |
| H A D | nfs_clrpcops.c | 5792 uint64_t offset, uint64_t len, uint64_t minlen, int layouttype, in nfsrpc_layoutget() argument 5802 layouttype, layoutlen, 0); in nfsrpc_layoutget() 5822 nfsrpc_getdeviceinfo(struct nfsmount *nmp, uint8_t *deviceid, int layouttype, in nfsrpc_getdeviceinfo() argument 5848 *tl++ = txdr_unsigned(layouttype); in nfsrpc_getdeviceinfo() 5863 if (layouttype != fxdr_unsigned(int, *tl)) in nfsrpc_getdeviceinfo() 5865 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrpc_getdeviceinfo() 5916 } else if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo() 5972 if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo() 6059 int layouttype, struct ucred *cred, NFSPROC_T *p) in nfsrpc_layoutcommit() argument 6089 *tl++ = txdr_unsigned(layouttype); in nfsrpc_layoutcommit() [all …]
|
| H A D | nfs_clstate.c | 5279 nfsv4stateid_t *stateidp, int layouttype, int retonclose, in nfscl_layout() argument 5331 if (layouttype == NFSLAYOUT_FLEXFILE) in nfscl_layout() 5851 int layouttype; in nfscl_layoutreturn() local 5856 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_layoutreturn() 5858 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_layoutreturn() 5861 lyp->nfsly_fhlen, 0, layouttype, in nfscl_layoutreturn() 5878 int error, layouttype; in nfscl_dolayoutcommit() local 5881 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_dolayoutcommit() 5883 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_dolayoutcommit() 5885 if (layouttype == NFSLAYOUT_FLEXFILE && in nfscl_dolayoutcommit() [all …]
|
| /freebsd/sys/fs/nfsserver/ |
| H A D | nfs_nfsdserv.c | 5051 int error = 0, layoutlen, layouttype, iomode, maxcnt, retonclose; in nfsrvd_layoutget() local 5059 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutget() 5069 layouttype, iomode, (uintmax_t)offset, (uintmax_t)len, in nfsrvd_layoutget() 5094 if (layouttype == NFSLAYOUT_NFSV4_1_FILES && nfsrv_maxpnfsmirror == 1) in nfsrvd_layoutget() 5096 else if (layouttype == NFSLAYOUT_FLEXFILE) in nfsrvd_layoutget() 5102 nd->nd_repstat = nfsrv_layoutget(nd, vp, exp, layouttype, in nfsrvd_layoutget() 5123 *tl = txdr_unsigned(layouttype); in nfsrvd_layoutget() 5145 int error = 0, hasnewoff, hasnewmtime, layouttype, maxcnt, reclaim; in nfsrvd_layoutcommit() local 5189 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutcommit() 5202 nd->nd_repstat = nfsrv_layoutcommit(nd, vp, layouttype, hasnewoff, in nfsrvd_layoutcommit() [all …]
|
| H A D | nfs_nfsdstate.c | 6795 nfsrv_layoutcommit(struct nfsrv_descript *nd, vnode_t vp, int layouttype, in nfsrv_layoutcommit() argument 6817 int layouttype, int *iomode, uint64_t *offset, uint64_t *len, in nfsrv_layoutget() argument 6866 error = nfsrv_findlayout(&nd->nd_clientid, &fh, layouttype, p, &lyp); in nfsrv_layoutget() 6927 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrv_layoutget() 7310 int layouttype, int iomode, uint64_t offset, uint64_t len, int reclaim, in nfsrv_layoutreturn() argument 7341 layouttype, p, &lyp); in nfsrv_layoutreturn() 7396 if (layouttype == NFSLAYOUT_FLEXFILE && layp != NULL) in nfsrv_layoutreturn() 7400 &vp->v_mount->mnt_stat.f_fsid, layouttype, iomode); in nfsrv_layoutreturn() 7402 nfsrv_freelayouts(&nd->nd_clientid, NULL, layouttype, iomode); in nfsrv_layoutreturn() 7507 nfsrv_getdevinfo(char *devid, int layouttype, uint32_t *maxcnt, in nfsrv_getdevinfo() argument [all …]
|