| /freebsd/sys/fs/nfsclient/ |
| H A D | nfs_clrpcops.c | 5753 uint64_t offset, uint64_t len, uint64_t minlen, int layouttype, in nfsrpc_layoutget() argument 5763 layouttype, layoutlen, 0); in nfsrpc_layoutget() 5783 nfsrpc_getdeviceinfo(struct nfsmount *nmp, uint8_t *deviceid, int layouttype, in nfsrpc_getdeviceinfo() argument 5809 *tl++ = txdr_unsigned(layouttype); in nfsrpc_getdeviceinfo() 5824 if (layouttype != fxdr_unsigned(int, *tl)) in nfsrpc_getdeviceinfo() 5826 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrpc_getdeviceinfo() 5877 } else if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo() 5933 if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo() 6020 int layouttype, struct ucred *cred, NFSPROC_T *p) in nfsrpc_layoutcommit() argument 6050 *tl++ = txdr_unsigned(layouttype); in nfsrpc_layoutcommit() [all …]
|
| H A D | nfs_clstate.c | 5298 nfsv4stateid_t *stateidp, int layouttype, int retonclose, in nfscl_layout() argument 5350 if (layouttype == NFSLAYOUT_FLEXFILE) in nfscl_layout() 5870 int layouttype; in nfscl_layoutreturn() local 5875 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_layoutreturn() 5877 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_layoutreturn() 5880 lyp->nfsly_fhlen, 0, layouttype, in nfscl_layoutreturn() 5897 int error, layouttype; in nfscl_dolayoutcommit() local 5900 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_dolayoutcommit() 5902 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_dolayoutcommit() 5904 if (layouttype == NFSLAYOUT_FLEXFILE && in nfscl_dolayoutcommit() [all …]
|
| /freebsd/sys/fs/nfsserver/ |
| H A D | nfs_nfsdserv.c | 5093 int error = 0, layoutlen, layouttype, iomode, maxcnt, retonclose; in nfsrvd_layoutget() local 5101 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutget() 5111 layouttype, iomode, (uintmax_t)offset, (uintmax_t)len, in nfsrvd_layoutget() 5136 if (layouttype == NFSLAYOUT_NFSV4_1_FILES && nfsrv_maxpnfsmirror == 1) in nfsrvd_layoutget() 5138 else if (layouttype == NFSLAYOUT_FLEXFILE) in nfsrvd_layoutget() 5144 nd->nd_repstat = nfsrv_layoutget(nd, vp, exp, layouttype, in nfsrvd_layoutget() 5165 *tl = txdr_unsigned(layouttype); in nfsrvd_layoutget() 5187 int error = 0, hasnewoff, hasnewmtime, layouttype, maxcnt, reclaim; in nfsrvd_layoutcommit() local 5231 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutcommit() 5244 nd->nd_repstat = nfsrv_layoutcommit(nd, vp, layouttype, hasnewoff, in nfsrvd_layoutcommit() [all …]
|
| H A D | nfs_nfsdstate.c | 6599 nfsrv_layoutcommit(struct nfsrv_descript *nd, vnode_t vp, int layouttype, in nfsrv_layoutcommit() argument 6621 int layouttype, int *iomode, uint64_t *offset, uint64_t *len, in nfsrv_layoutget() argument 6670 error = nfsrv_findlayout(&nd->nd_clientid, &fh, layouttype, p, &lyp); in nfsrv_layoutget() 6731 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrv_layoutget() 7114 int layouttype, int iomode, uint64_t offset, uint64_t len, int reclaim, in nfsrv_layoutreturn() argument 7145 layouttype, p, &lyp); in nfsrv_layoutreturn() 7200 if (layouttype == NFSLAYOUT_FLEXFILE && layp != NULL) in nfsrv_layoutreturn() 7204 &vp->v_mount->mnt_stat.f_fsid, layouttype, iomode); in nfsrv_layoutreturn() 7206 nfsrv_freelayouts(&nd->nd_clientid, NULL, layouttype, iomode); in nfsrv_layoutreturn() 7311 nfsrv_getdevinfo(char *devid, int layouttype, uint32_t *maxcnt, in nfsrv_getdevinfo() argument [all …]
|