Home
last modified time | relevance | path

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

/freebsd/sys/fs/nfsclient/
H A Dnfs_clrpcops.c5809 uint64_t offset, uint64_t len, uint64_t minlen, int layouttype, in nfsrpc_layoutget() argument
5819 layouttype, layoutlen, 0); in nfsrpc_layoutget()
5839 nfsrpc_getdeviceinfo(struct nfsmount *nmp, uint8_t *deviceid, int layouttype, in nfsrpc_getdeviceinfo() argument
5865 *tl++ = txdr_unsigned(layouttype); in nfsrpc_getdeviceinfo()
5880 if (layouttype != fxdr_unsigned(int, *tl)) in nfsrpc_getdeviceinfo()
5882 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrpc_getdeviceinfo()
5933 } else if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo()
5989 if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo()
6076 int layouttype, struct ucred *cred, NFSPROC_T *p) in nfsrpc_layoutcommit() argument
6106 *tl++ = txdr_unsigned(layouttype); in nfsrpc_layoutcommit()
6124 nfsrpc_layoutreturn(struct nfsmount * nmp,uint8_t * fh,int fhlen,int reclaim,int layouttype,uint32_t iomode,int layoutreturn,uint64_t offset,uint64_t len,nfsv4stateid_t * stateidp,struct ucred * cred,NFSPROC_T * p,uint32_t stat,uint32_t op,char * devid) nfsrpc_layoutreturn() argument
6258 int error = 0, islocked, layoutlen, layouttype, recalled, retonclose; nfsrpc_getlayout() local
8081 nfsrv_setuplayoutget(struct nfsrv_descript * nd,int iomode,uint64_t offset,uint64_t len,uint64_t minlen,nfsv4stateid_t * stateidp,int layouttype,int layoutlen,int usecurstateid) nfsrv_setuplayoutget() argument
8451 int layouttype, laystat; nfsrpc_getopenlayout() local
8518 nfsrpc_openlayoutrpc(struct nfsmount * nmp,vnode_t vp,u_int8_t * nfhp,int fhlen,uint8_t * newfhp,int newfhlen,uint32_t mode,struct nfsclopen * op,uint8_t * name,int namelen,struct nfscldeleg ** dpp,nfsv4stateid_t * stateidp,int usecurstateid,int layouttype,int layoutlen,int * retonclosep,struct nfsclflayouthead * flhp,int * laystatp,struct ucred * cred,NFSPROC_T * p) nfsrpc_openlayoutrpc() argument
8706 nfsrpc_createlayout(vnode_t dvp,char * name,int namelen,struct vattr * vap,nfsquad_t cverf,int fmode,struct nfsclowner * owp,struct nfscldeleg ** dpp,struct ucred * cred,NFSPROC_T * p,struct nfsvattr * dnap,struct nfsvattr * nnap,struct nfsfh ** nfhpp,int * attrflagp,int * dattrflagp,int * unlockedp,nfsv4stateid_t * stateidp,int usecurstateid,int layouttype,int layoutlen,int * retonclosep,struct nfsclflayouthead * flhp,int * laystatp) nfsrpc_createlayout() argument
8987 int error, layoutlen, layouttype, retonclose, laystat; nfsrpc_getcreatelayout() local
9025 nfsrpc_layoutgetres(struct nfsmount * nmp,vnode_t vp,uint8_t * newfhp,int newfhlen,nfsv4stateid_t * stateidp,int retonclose,uint32_t * notifybit,struct nfscllayout ** lypp,struct nfsclflayouthead * flhp,int layouttype,int laystat,int * islockedp,struct ucred * cred,NFSPROC_T * p) nfsrpc_layoutgetres() argument
[all...]
H A Dnfs_clstate.c5332 nfsv4stateid_t *stateidp, int layouttype, int retonclose, in nfscl_layout() argument
5384 if (layouttype == NFSLAYOUT_FLEXFILE) in nfscl_layout()
5916 int layouttype; in nfscl_layoutreturn() local
5921 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_layoutreturn()
5923 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_layoutreturn()
5926 lyp->nfsly_fhlen, 0, layouttype, in nfscl_layoutreturn()
5943 int error, layouttype; in nfscl_dolayoutcommit() local
5946 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_dolayoutcommit()
5948 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_dolayoutcommit()
5950 if (layouttype == NFSLAYOUT_FLEXFILE && in nfscl_dolayoutcommit()
[all …]
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c5121 int error = 0, layoutlen, layouttype, iomode, maxcnt, retonclose; in nfsrvd_layoutget() local
5129 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutget()
5139 layouttype, iomode, (uintmax_t)offset, (uintmax_t)len, in nfsrvd_layoutget()
5165 if (layouttype == NFSLAYOUT_NFSV4_1_FILES && nfsrv_maxpnfsmirror == 1) in nfsrvd_layoutget()
5167 else if (layouttype == NFSLAYOUT_FLEXFILE) in nfsrvd_layoutget()
5169 if (layouttype == NFSLAYOUT_FLEXFILE) in nfsrvd_layoutget()
5176 nd->nd_repstat = nfsrv_layoutget(nd, vp, exp, layouttype, in nfsrvd_layoutget()
5197 *tl = txdr_unsigned(layouttype); in nfsrvd_layoutget()
5219 int error = 0, hasnewoff, hasnewmtime, layouttype, maxcnt, reclaim; in nfsrvd_layoutcommit() local
5263 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutcommit()
[all …]
H A Dnfs_nfsdstate.c6590 nfsrv_layoutcommit(struct nfsrv_descript *nd, vnode_t vp, int layouttype, in nfsrv_layoutcommit() argument
6612 int layouttype, int *iomode, uint64_t *offset, uint64_t *len, in nfsrv_layoutget() argument
6662 error = nfsrv_findlayout(&nd->nd_clientid, &fh, layouttype, p, &lyp); in nfsrv_layoutget()
6722 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrv_layoutget()
7107 int layouttype, int iomode, uint64_t offset, uint64_t len, int reclaim, in nfsrv_layoutreturn() argument
7138 layouttype, p, &lyp); in nfsrv_layoutreturn()
7193 if (layouttype == NFSLAYOUT_FLEXFILE && layp != NULL) in nfsrv_layoutreturn()
7197 &vp->v_mount->mnt_stat.f_fsid, layouttype, iomode); in nfsrv_layoutreturn()
7199 nfsrv_freelayouts(&nd->nd_clientid, NULL, layouttype, iomode); in nfsrv_layoutreturn()
7304 nfsrv_getdevinfo(char *devid, int layouttype, uint32_t *maxcnt, in nfsrv_getdevinfo() argument
[all …]