Home
last modified time | relevance | path

Searched refs:wordcount (Results 1 – 23 of 23) sorted by relevance

/plan9/sys/src/cmd/aquarela/
H A Dsmbcommon.c10 smbcheckwordcount(char *name, SmbHeader *h, ushort wordcount) in smbcheckwordcount() argument
12 if (h->wordcount != wordcount) { in smbcheckwordcount()
13 smblogprint(-1, "smb%s: word count not %ud\n", name, wordcount); in smbcheckwordcount()
20 smbcheckwordandbytecount(char *name, SmbHeader *h, ushort wordcount, uchar **bdatap, uchar **edatap) in smbcheckwordandbytecount() argument
24 if (h->wordcount != wordcount) { in smbcheckwordandbytecount()
25 smblogprint(-1, "smb%s: word count not %ud\n", name, wordcount); in smbcheckwordandbytecount()
64 if (!smbbuffergetb(b, &h->wordcount)) { in smbchaincommand()
69 if (!smbbuffergetbytes(b, nil, h->wordcount * 2)) { in smbchaincommand()
111 h->wordcount = rh->wordcount; in smbbuffergetheader()
114 if (!smbbuffergetbytes(b, nil, h->wordcount * 2)) { in smbbuffergetheader()
[all …]
H A Dsmbcomread.c19 if (h->wordcount != 10 && h->wordcount != 12) in smbcomreadandx()
31 if (h->wordcount == 12) in smbcomreadandx()
50 h->wordcount = 12; in smbcomreadandx()
H A Dsmbcomwrite.c102 if (h->wordcount != 5) in smbcomwrite()
149 h->wordcount = 1; in smbcomwrite()
169 if (h->wordcount != 12 && h->wordcount != 14) in smbcomwriteandx()
185 if(h->wordcount == 14) in smbcomwriteandx()
215 h->wordcount = 6; in smbcomwriteandx()
H A Dsmbtransaction.c20 if (h->wordcount < 14) { in _smbtransactiondecodeprimary()
25 if (h->wordcount != 14 + t->in.scount) { in _smbtransactiondecodeprimary()
145 if (h->wordcount < 10) { in smbtransactiondecoderesponse()
159 if (a.scount != h->wordcount - 10) { in smbtransactiondecoderesponse()
175 if (h->wordcount < 10) { in smbtransactiondecoderesponse2()
189 if (a.scount != h->wordcount - 10) { in smbtransactiondecoderesponse2()
227 *wordcountp = mh.wordcount = 14 + t->in.scount; in _transactionencodeprimary()
337 mh.wordcount = 10; in _transactionencoderesponse()
456 uchar wordcount; in smbtransactionexecute() local
463 if (!(*method->receiveintermediate)(magic, &wordcount, &bytecount, errmsgp)) in smbtransactionexecute()
[all …]
H A Dsmbconnect.c38 h.wordcount = 0; in smbconnect()
63 if (rh.wordcount == 0) { in smbconnect()
72 if (rh.wordcount != 17) { in smbconnect()
122 h.wordcount = 13; in smbconnect()
192 h.wordcount = 4; in smbconnect()
H A Dsmbnegotiate.c40 h->wordcount = 17; in smbnegotiate()
79 h->wordcount = 1; in smbnegotiate()
H A Dsmbcomsetinfo.c11 if (h->wordcount != 7) in smbcomsetinformation2()
85 if (h->wordcount != 8) in smbcomsetinformation()
H A Dsmbcomquery.c33 h->wordcount = 10; in smbcomqueryinformation()
75 h->wordcount = 11; in smbcomqueryinformation2()
H A Dsmbcomflush.c11 if (h->wordcount != 1) in smbcomflush()
H A Dsmbcomdeletedir.c12 if (h->wordcount != 0) in smbcomdeletedirectory()
H A Dsmbcomcreatedir.c12 if (h->wordcount != 0) in smbcomcreatedirectory()
H A Dsmbcomtransaction.c39 h->wordcount = 0; in smbcomtransaction()
92 h->wordcount = 0; in smbcomtransaction2()
H A Dsmbdat.h122 uchar wordcount; member
209 SmbBuffer *ob, uchar *wordcount, ushort *bytecount, char **errmsgp);
H A Dsmbclientopen.c18 h.wordcount = 2; in smbclientopen()
H A Dsmbcomrename.c17 if (h->wordcount != 1) in smbcomrename()
H A Dsmbcomdelete.c36 if (h->wordcount != 1) in smbcomdelete()
H A Dsmbcomopen.c281 h->wordcount = 15; in smbcomopenandx()
345 h->wordcount = 7; in smbcomopen()
422 h->wordcount = 1; // SFS: FIXME: unsure of this constant, maybe should be 3 in smbcomcreate()
675 h->wordcount = 42; in smbcomntcreateandx()
H A Dsmbcomtreeconnectandx.c93 h->wordcount = 3; in smbcomtreeconnectandx()
H A Dsmbresponse.c132 h->wordcount = 0; in smbresponseputerror()
H A Dsmbcomlocking.c120 h->wordcount = 2; in smbcomlockingandx()
H A Dsmb.h25 uchar wordcount; member
H A Dsmbcomsessionsetupandx.c165 h->wordcount = 3; in smbcomsessionsetupandx()
H A Dsmbfns.h42 int smbcheckwordcount(char *name, SmbHeader *h, ushort wordcount);
43 int smbcheckwordandbytecount(char *name, SmbHeader *h, ushort wordcount, uchar **bdatap, uchar **ed…