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.c5583 uint64_t offset, uint64_t len, uint64_t minlen, int layouttype, in nfsrpc_layoutget() argument
5593 layouttype, layoutlen, 0); in nfsrpc_layoutget()
5613 nfsrpc_getdeviceinfo(struct nfsmount *nmp, uint8_t *deviceid, int layouttype, in nfsrpc_getdeviceinfo() argument
5639 *tl++ = txdr_unsigned(layouttype); in nfsrpc_getdeviceinfo()
5654 if (layouttype != fxdr_unsigned(int, *tl)) in nfsrpc_getdeviceinfo()
5656 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrpc_getdeviceinfo()
5706 } else if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo()
5762 if (layouttype == NFSLAYOUT_FLEXFILE) { in nfsrpc_getdeviceinfo()
5849 int layouttype, struct ucred *cred, NFSPROC_T *p) in nfsrpc_layoutcommit() argument
5879 *tl++ = txdr_unsigned(layouttype); in nfsrpc_layoutcommit()
5897 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
6031 int error = 0, islocked, layoutlen, layouttype, recalled, retonclose; nfsrpc_getlayout() local
7781 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
8158 int layouttype, laystat; nfsrpc_getopenlayout() local
8225 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
8413 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
8687 int error, layoutlen, layouttype, retonclose, laystat; nfsrpc_getcreatelayout() local
8725 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.c5283 nfsv4stateid_t *stateidp, int layouttype, int retonclose, in nfscl_layout() argument
5335 if (layouttype == NFSLAYOUT_FLEXFILE) in nfscl_layout()
5855 int layouttype; in nfscl_layoutreturn() local
5860 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_layoutreturn()
5862 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_layoutreturn()
5865 lyp->nfsly_fhlen, 0, layouttype, in nfscl_layoutreturn()
5882 int error, layouttype; in nfscl_dolayoutcommit() local
5885 layouttype = NFSLAYOUT_NFSV4_1_FILES; in nfscl_dolayoutcommit()
5887 layouttype = NFSLAYOUT_FLEXFILE; in nfscl_dolayoutcommit()
5889 if (layouttype == NFSLAYOUT_FLEXFILE && in nfscl_dolayoutcommit()
[all …]
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c4797 int error = 0, layoutlen, layouttype, iomode, maxcnt, retonclose; in nfsrvd_layoutget() local
4805 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutget()
4815 layouttype, iomode, (uintmax_t)offset, (uintmax_t)len, in nfsrvd_layoutget()
4840 if (layouttype == NFSLAYOUT_NFSV4_1_FILES && nfsrv_maxpnfsmirror == 1) in nfsrvd_layoutget()
4842 else if (layouttype == NFSLAYOUT_FLEXFILE) in nfsrvd_layoutget()
4848 nd->nd_repstat = nfsrv_layoutget(nd, vp, exp, layouttype, in nfsrvd_layoutget()
4869 *tl = txdr_unsigned(layouttype); in nfsrvd_layoutget()
4891 int error = 0, hasnewoff, hasnewmtime, layouttype, maxcnt, reclaim; in nfsrvd_layoutcommit() local
4935 layouttype = fxdr_unsigned(int, *tl++); in nfsrvd_layoutcommit()
4943 nd->nd_repstat = nfsrv_layoutcommit(nd, vp, layouttype, hasnewoff, in nfsrvd_layoutcommit()
[all …]
H A Dnfs_nfsdstate.c6781 nfsrv_layoutcommit(struct nfsrv_descript *nd, vnode_t vp, int layouttype, in nfsrv_layoutcommit() argument
6803 int layouttype, int *iomode, uint64_t *offset, uint64_t *len, in nfsrv_layoutget() argument
6852 error = nfsrv_findlayout(&nd->nd_clientid, &fh, layouttype, p, &lyp); in nfsrv_layoutget()
6913 if (layouttype == NFSLAYOUT_NFSV4_1_FILES) { in nfsrv_layoutget()
7296 int layouttype, int iomode, uint64_t offset, uint64_t len, int reclaim, in nfsrv_layoutreturn() argument
7327 layouttype, p, &lyp); in nfsrv_layoutreturn()
7382 if (layouttype == NFSLAYOUT_FLEXFILE && layp != NULL) in nfsrv_layoutreturn()
7386 &vp->v_mount->mnt_stat.f_fsid, layouttype, iomode); in nfsrv_layoutreturn()
7388 nfsrv_freelayouts(&nd->nd_clientid, NULL, layouttype, iomode); in nfsrv_layoutreturn()
7493 nfsrv_getdevinfo(char *devid, int layouttype, uint32_t *maxcnt, in nfsrv_getdevinfo() argument
[all …]