Home
last modified time | relevance | path

Searched refs:smbbufferwriteoffset (Results 1 – 14 of 14) sorted by relevance

/plan9/sys/src/cmd/aquarela/
H A Dsmbconnect.c41 bytecountfixupoffset = smbbufferwriteoffset(b); in smbconnect()
45 smbbufferoffsetputs(b, bytecountfixupoffset, smbbufferwriteoffset(b) - bytecountfixupoffset - 2); in smbconnect()
46 nbdumpdata(smbbufferreadpointer(b), smbbufferwriteoffset(b)); in smbconnect()
47 nbsswrite(nbs, smbbufferreadpointer(b), smbbufferwriteoffset(b)); in smbconnect()
58 nbdumpdata(smbbufferreadpointer(b), smbbufferwriteoffset(b)); in smbconnect()
129 andxfixupoffset = smbbufferwriteoffset(b); in smbconnect()
139 bytecountfixupoffset = smbbufferwriteoffset(b); in smbconnect()
153 smbbufferoffsetputs(b, bytecountfixupoffset, smbbufferwriteoffset(b) - bytecountfixupoffset - 2); in smbconnect()
155 smbbufferoffsetputs(b, andxfixupoffset, smbbufferwriteoffset(b)); in smbconnect()
162 bytecountfixupoffset = smbbufferwriteoffset(b); in smbconnect()
[all …]
H A Dsmbtransaction.c58 if (poffset + t->in.pcount > smbbufferwriteoffset(b)) { in _smbtransactiondecodeprimary()
69 if (doffset + t->in.dcount > smbbufferwriteoffset(b)) { in _smbtransactiondecodeprimary()
100 if (a->pdisplacement != smbbufferwriteoffset(t->out.parameters)) { in decoderesponse()
108 if (a->ddisplacement != smbbufferwriteoffset(t->out.data)) { in decoderesponse()
249 countsfixupoffset = smbbufferwriteoffset(ob); in _transactionencodeprimary()
261 bytecountfixupoffset = smbbufferwriteoffset(ob); in _transactionencodeprimary()
264 smbbufferwritelimit(ob, smbbufferwriteoffset(ob) + 65535); in _transactionencodeprimary()
268 ulong align = smbbufferwriteoffset(ob) & 1; in _transactionencodeprimary()
275 if (smbbufferwriteoffset(ob) > 65535) in _transactionencodeprimary()
280 assert(smbbufferoffsetputs(ob, countsfixupoffset + 2, smbbufferwriteoffset(ob))); in _transactionencodeprimary()
[all …]
H A Dsmbcomread.c57 datafixup = smbbufferwriteoffset(s->response); in smbcomreadandx()
61 bytecountfixup = smbbufferwriteoffset(s->response); in smbcomreadandx()
65 smbbufferwritelimit(s->response, smbbufferwriteoffset(s->response) + 65535); in smbcomreadandx()
66 smbbufferoffsetputs(s->response, datafixup + 2, smbbufferwriteoffset(s->response)); in smbcomreadandx()
H A Dsmbclientopen.c22 bytecountfixup = smbbufferwriteoffset(b); in smbclientopen()
27 nbsswrite(c->nbss, smbbufferreadpointer(b), smbbufferwriteoffset(b)); in smbclientopen()
H A Dsmbtrans2find.c66 fnlfixupoffset = smbbufferwriteoffset(b); in standardflatten()
69 *nameoffsetp = smbbufferwriteoffset(b); in standardflatten()
81 fixup = smbbufferwriteoffset(b); in findbothflatten()
101 *nameoffsetp = smbbufferwriteoffset(b); in findbothflatten()
125 backup = smbbufferwriteoffset(s->transaction.out.data); in populate()
H A Dsmbtrans2query.c67 fnlfixupoffset = smbbufferwriteoffset(s->transaction.out.data); in query()
239 fixup = smbbufferwriteoffset(s->transaction.out.data); in smbtrans2queryfsinformation()
243 vnbase = smbbufferwriteoffset(s->transaction.out.data); in smbtrans2queryfsinformation()
246 smbbufferwriteoffset(s->transaction.out.data) - vnbase)) in smbtrans2queryfsinformation()
262 fixup = smbbufferwriteoffset(s->transaction.out.data); in smbtrans2queryfsinformation()
H A Dsmbcomecho.c16 bytecountfixupoffset = smbbufferwriteoffset(s->response); in smbcomecho()
H A Dsmbnegotiate.c61 bytecountfixupoffset = smbbufferwriteoffset(s->response); in smbnegotiate()
H A Dsmbcommon.c182 if (smbbufferwriteoffset(b) == 0) { in smbbufferputheader()
223 *andxoffsetfixupp = smbbufferwriteoffset(b); in smbbufferputandxheader()
H A Dsmbcomtreeconnectandx.c75 smblogprint(h->command, "offset %lud limit %lud\n", smbbufferreadoffset(b), smbbufferwriteoffset(b)… in smbcomtreeconnectandx()
H A Dsmbresponse.c87 return smbbufferwriteoffset(s->response); in smbresponseoffset()
H A Dsmbcomwrite.c183 if (dataoff + count > smbbufferwriteoffset(b)) in smbcomwriteandx()
H A Dsmbfns.h93 ulong smbbufferwriteoffset(SmbBuffer *s);
H A Dsmbbuffer.c159 smbbufferwriteoffset(SmbBuffer *s) in smbbufferwriteoffset() function