Home
last modified time | relevance | path

Searched refs:layouttype (Results 1 – 4 of 4) sorted by relevance

/freebsd-12-stable/sys/fs/nfsclient/
Dnfs_clrpcops.c4972 uint64_t offset, uint64_t len, uint64_t minlen, int layouttype, in nfsrpc_layoutget() argument
4983 layouttype, layoutlen, 0); in nfsrpc_layoutget()
5002 nfsrpc_getdeviceinfo(struct nfsmount *nmp, uint8_t *deviceid, int layouttype, in nfsrpc_getdeviceinfo() argument
5025 *tl++ = txdr_unsigned(layouttype); in nfsrpc_getdeviceinfo()
5040 if (layouttype != fxdr_unsigned(int, *tl)) in nfsrpc_getdeviceinfo()
5042 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrpc_getdeviceinfo()
5092 } else if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo()
5147 if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo()
5229 int layouttype, struct ucred *cred, NFSPROC_T *p, void *stuff) in nfsrpc_layoutcommit() argument
5259 *tl++ = txdr_unsigned(layouttype); in nfsrpc_layoutcommit()
[all …]
Dnfs_clstate.c5031 nfsv4stateid_t *stateidp, int layouttype, int retonclose, in nfscl_layout() argument
5083 if (layouttype == NFSLAYOUT_FLEXFILE) in nfscl_layout()
5601 int layouttype; in nfscl_layoutreturn() local
5606 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_layoutreturn()
5608 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_layoutreturn()
5611 lyp->nfsly_fhlen, 0, layouttype, in nfscl_layoutreturn()
5628 int error, layouttype; in nfscl_dolayoutcommit() local
5631 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_dolayoutcommit()
5633 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_dolayoutcommit()
5635 if (layouttype == NFSLAYOUT_FLEXFILE && in nfscl_dolayoutcommit()
[all …]
/freebsd-12-stable/sys/fs/nfsserver/
Dnfs_nfsdserv.c4498 int error = 0, layoutlen, layouttype, iomode, maxcnt, retonclose; in nfsrvd_layoutget() local
4509 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutget()
4519 layouttype, iomode, (uintmax_t)offset, (uintmax_t)len, in nfsrvd_layoutget()
4544 if (layouttype == NFSLAYOUT_NFSV4_1_FILES && nfsrv_maxpnfsmirror == 1) in nfsrvd_layoutget()
4546 else if (layouttype == NFSLAYOUT_FLEXFILE) in nfsrvd_layoutget()
4552 nd->nd_repstat = nfsrv_layoutget(nd, vp, exp, layouttype, in nfsrvd_layoutget()
4573 *tl = txdr_unsigned(layouttype); in nfsrvd_layoutget()
4595 int error = 0, hasnewoff, hasnewmtime, layouttype, maxcnt, reclaim; in nfsrvd_layoutcommit() local
4642 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutcommit()
4650 nd->nd_repstat = nfsrv_layoutcommit(nd, vp, layouttype, hasnewoff, in nfsrvd_layoutcommit()
[all …]
Dnfs_nfsdstate.c6703 nfsrv_layoutcommit(struct nfsrv_descript *nd, vnode_t vp, int layouttype, in nfsrv_layoutcommit() argument
6725 int layouttype, int *iomode, uint64_t *offset, uint64_t *len, in nfsrv_layoutget() argument
6774 error = nfsrv_findlayout(&nd->nd_clientid, &fh, layouttype, p, &lyp); in nfsrv_layoutget()
6830 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrv_layoutget()
7206 int layouttype, int iomode, uint64_t offset, uint64_t len, int reclaim, in nfsrv_layoutreturn() argument
7237 layouttype, p, &lyp); in nfsrv_layoutreturn()
7292 if (layouttype == NFSLAYOUT_FLEXFILE && layp != NULL) in nfsrv_layoutreturn()
7296 &vp->v_mount->mnt_stat.f_fsid, layouttype, iomode); in nfsrv_layoutreturn()
7298 nfsrv_freelayouts(&nd->nd_clientid, NULL, layouttype, iomode); in nfsrv_layoutreturn()
7402 nfsrv_getdevinfo(char *devid, int layouttype, uint32_t *maxcnt, in nfsrv_getdevinfo() argument
[all …]