Searched refs:smbbufferwriteoffset (Results 1 – 14 of 14) sorted by relevance
/plan9/sys/src/cmd/aquarela/ |
H A D | smbconnect.c | 41 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 D | smbtransaction.c | 58 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 D | smbcomread.c | 57 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 D | smbclientopen.c | 22 bytecountfixup = smbbufferwriteoffset(b); in smbclientopen() 27 nbsswrite(c->nbss, smbbufferreadpointer(b), smbbufferwriteoffset(b)); in smbclientopen()
|
H A D | smbtrans2find.c | 66 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 D | smbtrans2query.c | 67 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 D | smbcomecho.c | 16 bytecountfixupoffset = smbbufferwriteoffset(s->response); in smbcomecho()
|
H A D | smbnegotiate.c | 61 bytecountfixupoffset = smbbufferwriteoffset(s->response); in smbnegotiate()
|
H A D | smbcommon.c | 182 if (smbbufferwriteoffset(b) == 0) { in smbbufferputheader() 223 *andxoffsetfixupp = smbbufferwriteoffset(b); in smbbufferputandxheader()
|
H A D | smbcomtreeconnectandx.c | 75 smblogprint(h->command, "offset %lud limit %lud\n", smbbufferreadoffset(b), smbbufferwriteoffset(b)… in smbcomtreeconnectandx()
|
H A D | smbresponse.c | 87 return smbbufferwriteoffset(s->response); in smbresponseoffset()
|
H A D | smbcomwrite.c | 183 if (dataoff + count > smbbufferwriteoffset(b)) in smbcomwriteandx()
|
H A D | smbfns.h | 93 ulong smbbufferwriteoffset(SmbBuffer *s);
|
H A D | smbbuffer.c | 159 smbbufferwriteoffset(SmbBuffer *s) in smbbufferwriteoffset() function
|