Lines Matching refs:stateidp
113 nfsv4stateid_t *stateidp; member
1458 nfsv4stateid_t *stateidp, struct ucred *cred, NFSPROC_T *p, in nfsrpc_setattrrpc() argument
1469 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_setattrrpc()
1872 nfsv4stateid_t *stateidp, NFSPROC_T *p, struct nfsvattr *nap, in nfsrpc_readrpc() argument
1899 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_readrpc()
2049 int *must_commit, struct ucred *cred, nfsv4stateid_t *stateidp, in nfsrpc_writerpc() argument
2099 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_writerpc()
2345 nfsv4stateid_t *stateidp, struct nfsvattr *nap, int *attrflagp, in nfsrpc_deallocaterpc() argument
2357 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_deallocaterpc()
5425 struct acl *aclp, nfsv4stateid_t *stateidp) in nfsrpc_setaclrpc() argument
5435 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_setaclrpc()
5715 int layoutlen, nfsv4stateid_t *stateidp, int *retonclosep, in nfsrpc_layoutget() argument
5723 nfsrv_setuplayoutget(nd, iomode, offset, len, minlen, stateidp, in nfsrpc_layoutget()
5732 error = nfsrv_parselayoutget(nmp, nd, stateidp, retonclosep, in nfsrpc_layoutget()
5979 uint64_t off, uint64_t len, uint64_t lastbyte, nfsv4stateid_t *stateidp, in nfsrpc_layoutcommit() argument
5998 *tl++ = txdr_unsigned(stateidp->seqid); in nfsrpc_layoutcommit()
5999 *tl++ = stateidp->other[0]; in nfsrpc_layoutcommit()
6000 *tl++ = stateidp->other[1]; in nfsrpc_layoutcommit()
6001 *tl++ = stateidp->other[2]; in nfsrpc_layoutcommit()
6029 uint64_t len, nfsv4stateid_t *stateidp, struct ucred *cred, NFSPROC_T *p, in nfsrpc_layoutreturn() argument
6054 NFSCL_DEBUG(4, "layoutret stseq=%d\n", (int)stateidp->seqid); in nfsrpc_layoutreturn()
6055 *tl++ = txdr_unsigned(stateidp->seqid); in nfsrpc_layoutreturn()
6056 *tl++ = stateidp->other[0]; in nfsrpc_layoutreturn()
6057 *tl++ = stateidp->other[1]; in nfsrpc_layoutreturn()
6058 *tl++ = stateidp->other[2]; in nfsrpc_layoutreturn()
6074 NFSBCOPY(stateidp, tl, NFSX_STATEID); in nfsrpc_layoutreturn()
6099 stateidp->seqid = fxdr_unsigned(uint32_t, *tl++); in nfsrpc_layoutreturn()
6100 stateidp->other[0] = *tl++; in nfsrpc_layoutreturn()
6101 stateidp->other[1] = *tl++; in nfsrpc_layoutreturn()
6102 stateidp->other[2] = *tl; in nfsrpc_layoutreturn()
6116 uint64_t len, nfsv4stateid_t *stateidp, struct ucred *cred, NFSPROC_T *p, in nfsrpc_layouterror() argument
6129 *tl++ = txdr_unsigned(stateidp->seqid); in nfsrpc_layouterror()
6130 *tl++ = stateidp->other[0]; in nfsrpc_layouterror()
6131 *tl++ = stateidp->other[1]; in nfsrpc_layouterror()
6132 *tl++ = stateidp->other[2]; in nfsrpc_layouterror()
6156 int iomode, uint32_t rw, uint32_t *notifybitsp, nfsv4stateid_t *stateidp, in nfsrpc_getlayout() argument
6188 stateid.other[0] = stateidp->other[0]; in nfsrpc_getlayout()
6189 stateid.other[1] = stateidp->other[1]; in nfsrpc_getlayout()
6190 stateid.other[2] = stateidp->other[2]; in nfsrpc_getlayout()
6803 int *eofp, nfsv4stateid_t *stateidp, int rwflag, struct nfscldevinfo *dp, in nfscl_doflayoutio() argument
6880 error = nfsrpc_readds(vp, uiop, stateidp, eofp, *dspp, in nfscl_doflayoutio()
6884 stateidp, *dspp, io_off, xfer, fhp, commit_thru_mds, in nfscl_doflayoutio()
6907 int *eofp, nfsv4stateid_t *stateidp, int rwflag, struct nfscldevinfo *dp, in nfscl_dofflayoutio() argument
6929 stateidp = &flp->nfsfl_ffm[mirror].st; in nfscl_dofflayoutio()
6931 mirror, dp->nfsdi_versindex, fhp->nfh_len, stateidp->seqid); in nfscl_dofflayoutio()
7004 error = nfsrpc_readds(vp, uiop, stateidp, eofp, *dspp, in nfscl_dofflayoutio()
7016 must_commit, stateidp, *dspp, off, xfer, in nfscl_dofflayoutio()
7046 stateidp, *dspp, off, in nfscl_dofflayoutio()
7054 stateidp, *dspp, off, in nfscl_dofflayoutio()
7086 nfsrpc_readds(vnode_t vp, struct uio *uiop, nfsv4stateid_t *stateidp, int *eofp, in nfsrpc_readds() argument
7106 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_readds()
7108 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSEQIDZERO); in nfsrpc_readds()
7162 nfsv4stateid_t *stateidp, struct nfsclds *dsp, uint64_t io_off, int len, in nfsrpc_writeds() argument
7184 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_writeds()
7186 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSEQIDZERO); in nfsrpc_writeds()
7303 nfsv4stateid_t *stateidp, struct nfsclds *dsp, uint64_t io_off, int len, in nfsrpc_writedsmir() argument
7323 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_writedsmir()
7416 &drpc->must_commit, drpc->stateidp, drpc->dsp, drpc->off, drpc->len, in start_writedsmir()
7429 nfsv4stateid_t *stateidp, struct nfsclds *dsp, uint64_t off, int len, in nfsio_writedsmir() argument
7440 drpc->stateidp = stateidp; in nfsio_writedsmir()
7458 stateidp, dsp, off, len, fhp, m, vers, minorvers, cred, p); in nfsio_writedsmir()
7874 nfsrpc_allocaterpc(vnode_t vp, off_t off, off_t len, nfsv4stateid_t *stateidp, in nfsrpc_allocaterpc() argument
7885 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_allocaterpc()
7912 uint64_t len, uint64_t minlen, nfsv4stateid_t *stateidp, int layouttype, in nfsrv_setuplayoutget() argument
7935 *tl++ = txdr_unsigned(stateidp->seqid); in nfsrv_setuplayoutget()
7936 NFSCL_DEBUG(4, "layget seq=%d\n", (int)stateidp->seqid); in nfsrv_setuplayoutget()
7937 *tl++ = stateidp->other[0]; in nfsrv_setuplayoutget()
7938 *tl++ = stateidp->other[1]; in nfsrv_setuplayoutget()
7939 *tl++ = stateidp->other[2]; in nfsrv_setuplayoutget()
7949 nfsv4stateid_t *stateidp, int *retonclosep, struct nfsclflayouthead *flhp) in nfsrv_parselayoutget() argument
7970 stateidp->seqid = fxdr_unsigned(uint32_t, *tl++); in nfsrv_parselayoutget()
7972 (int)stateidp->seqid); in nfsrv_parselayoutget()
7973 stateidp->other[0] = *tl++; in nfsrv_parselayoutget()
7974 stateidp->other[1] = *tl++; in nfsrv_parselayoutget()
7975 stateidp->other[2] = *tl++; in nfsrv_parselayoutget()
8356 nfsv4stateid_t *stateidp, int usecurstateid, int layouttype, in nfsrpc_openlayoutrpc() argument
8402 nfsrv_setuplayoutget(nd, iomode, 0, UINT64_MAX, 0, stateidp, in nfsrpc_openlayoutrpc()
8518 stateidp, retonclosep, flhp); in nfsrpc_openlayoutrpc()
8543 int *dattrflagp, int *unlockedp, nfsv4stateid_t *stateidp, in nfsrpc_createlayout() argument
8630 nfsrv_setuplayoutget(nd, NFSLAYOUTIOMODE_RW, 0, UINT64_MAX, 0, stateidp, in nfsrpc_createlayout()
8785 stateidp, retonclosep, flhp); in nfsrpc_createlayout()
8862 int newfhlen, nfsv4stateid_t *stateidp, int retonclose, uint32_t *notifybit, in nfsrpc_layoutgetres() argument
8922 laystat = nfscl_layout(nmp, vp, newfhp, newfhlen, stateidp, in nfsrpc_layoutgetres()
9226 nfsrpc_seekrpc(vnode_t vp, off_t *offp, nfsv4stateid_t *stateidp, bool *eofp, in nfsrpc_seekrpc() argument
9237 nfsm_stateidtom(nd, stateidp, NFSSTATEID_PUTSTATEID); in nfsrpc_seekrpc()