fs/smb/client/cifssmb.c
1036
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
1037
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
1115
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
1116
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
1298
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
1299
(struct smb_hdr *)pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
1424
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *)req, in_len,
fs/smb/client/cifssmb.c
1425
(struct smb_hdr *)rsp, &bytes_returned, 0);
fs/smb/client/cifssmb.c
1856
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
1857
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
2258
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2259
(struct smb_hdr *) pSMB, &bytes_returned,
fs/smb/client/cifssmb.c
2345
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2346
(struct smb_hdr *) pSMBr, &bytes_returned,
fs/smb/client/cifssmb.c
243
in_len = header_assemble((struct smb_hdr *) *request_buf, smb_command,
fs/smb/client/cifssmb.c
2522
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2523
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
257
struct smb_hdr *buffer;
fs/smb/client/cifssmb.c
2605
rc = SendReceive(xid, pTcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2606
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
263
buffer = (struct smb_hdr *)*request_buf;
fs/smb/client/cifssmb.c
2693
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2694
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
2778
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2779
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
2851
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2852
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
2923
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2924
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
297
in_len = header_assemble((struct smb_hdr *)*request_buf, smb_command, tcon,
fs/smb/client/cifssmb.c
3027
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *)io_req, in_len,
fs/smb/client/cifssmb.c
3028
(struct smb_hdr *)io_rsp, &io_rsp_len, 0);
fs/smb/client/cifssmb.c
3255
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3256
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
3507
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3508
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
3604
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3605
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
3681
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3682
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
3953
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3954
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4006
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4007
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4085
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4086
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4174
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4175
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4261
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4262
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4346
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4347
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4475
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4476
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4594
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4595
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
471
rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
472
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4748
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4749
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4868
rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4869
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4947
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4948
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5037
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5038
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5127
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5128
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5201
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5202
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5275
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5276
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5360
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5361
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5424
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5425
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
545
struct smb_hdr *smb_buffer;
fs/smb/client/cifssmb.c
546
struct smb_hdr *smb_buffer_response;
fs/smb/client/cifssmb.c
5560
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5561
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5697
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5698
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5906
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5907
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
6097
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
6098
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
6183
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
6184
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
6399
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
6400
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
680
struct smb_hdr *smb_buffer;
fs/smb/client/cifssmb.c
897
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
898
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
944
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
945
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
990
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
991
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/file.c
1868
if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) {
fs/smb/client/file.c
1873
BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) >
fs/smb/client/file.c
1875
max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
fs/smb/client/file.c
1877
max_num = (max_buf - sizeof(struct smb_hdr)) /
fs/smb/client/file.c
2246
if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE)))
fs/smb/client/file.c
2249
BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) >
fs/smb/client/file.c
2251
max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
fs/smb/client/file.c
2253
max_num = (max_buf - sizeof(struct smb_hdr)) /
fs/smb/client/smb1debug.c
15
struct smb_hdr *smb = buf;
fs/smb/client/smb1encrypt.c
53
struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb1encrypt.c
94
struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb1maperror.c
105
struct smb_hdr *smb = (struct smb_hdr *)buf;
fs/smb/client/smb1maperror.c
181
struct smb_hdr *smb = (struct smb_hdr *)mid->resp_buf;
fs/smb/client/smb1misc.c
17
header_assemble(struct smb_hdr *buffer, char smb_command,
fs/smb/client/smb1misc.c
186
struct smb_hdr *ptr = buf;
fs/smb/client/smb1misc.c
187
return (sizeof(struct smb_hdr) + (2 * ptr->WordCount) +
fs/smb/client/smb1misc.c
26
in_len = (2 * word_count) + sizeof(struct smb_hdr) +
fs/smb/client/smb1misc.c
68
struct smb_hdr *buf = (struct smb_hdr *)buffer;
fs/smb/client/smb1ops.c
1355
struct smb_hdr *shdr = (struct smb_hdr *)buf;
fs/smb/client/smb1ops.c
145
struct smb_hdr *in_buf = (struct smb_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb1ops.c
1488
.header_size = sizeof(struct smb_hdr),
fs/smb/client/smb1ops.c
156
iov[0].iov_len = sizeof(struct smb_hdr) + 2;
fs/smb/client/smb1ops.c
192
struct smb_hdr *in_buf = (struct smb_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb1ops.c
249
struct smb_hdr *buf = (struct smb_hdr *)buffer;
fs/smb/client/smb1pdu.h
1013
struct smb_hdr hdr; /* wct = 3 */
fs/smb/client/smb1pdu.h
1025
struct smb_hdr hdr; /* wct = 1 */
fs/smb/client/smb1pdu.h
1037
struct smb_hdr hdr; /* wct = 4 */
fs/smb/client/smb1pdu.h
1049
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
1054
struct smb_hdr hdr; /* wct = 1 */
fs/smb/client/smb1pdu.h
1062
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
1067
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
1074
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
1079
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
1086
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
1091
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
1098
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
1107
struct smb_hdr hdr; /* wct = 8 */
fs/smb/client/smb1pdu.h
1117
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
1129
struct smb_hdr hdr; /* wct >= 19 */
fs/smb/client/smb1pdu.h
1150
struct smb_hdr hdr; /* wct = 18 */
fs/smb/client/smb1pdu.h
1167
struct smb_hdr hdr; /* wct = 23 */
fs/smb/client/smb1pdu.h
1191
struct smb_hdr hdr; /* wct = 23 */
fs/smb/client/smb1pdu.h
1215
struct smb_hdr hdr; /* wct = 19 */
fs/smb/client/smb1pdu.h
1236
struct smb_hdr hdr; /* wct = 19 */
fs/smb/client/smb1pdu.h
1259
struct smb_hdr hdr; /* wct = 19 */
fs/smb/client/smb1pdu.h
1281
struct smb_hdr hdr; /* wct = 23 */
fs/smb/client/smb1pdu.h
1307
struct smb_hdr hdr; /* wct = 18 */
fs/smb/client/smb1pdu.h
1359
struct smb_hdr hdr;
fs/smb/client/smb1pdu.h
1383
struct smb_hdr hdr;
fs/smb/client/smb1pdu.h
1460
struct smb_hdr hdr; /* wct = 14+ */
fs/smb/client/smb1pdu.h
1485
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1492
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1518
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1532
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1559
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1566
struct smb_hdr hdr;
fs/smb/client/smb1pdu.h
1574
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1595
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1623
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
1637
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1665
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
1699
struct smb_hdr hdr; /* wct = 14+ */
fs/smb/client/smb1pdu.h
1722
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1748
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1776
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1802
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
1808
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1864
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
371
struct smb_hdr hdr; /* wct = 17 */
fs/smb/client/smb1pdu.h
428
struct smb_hdr hdr; /* wct = 12 */
fs/smb/client/smb1pdu.h
447
struct smb_hdr hdr; /* wct = 13 */
fs/smb/client/smb1pdu.h
470
struct smb_hdr hdr; /* wct = 4 */
fs/smb/client/smb1pdu.h
485
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
504
struct smb_hdr hdr; /* wct = 3 */
fs/smb/client/smb1pdu.h
569
struct smb_hdr hdr; /* wct = 4 */
fs/smb/client/smb1pdu.h
582
struct smb_hdr hdr; /* wct = 3 , not extended response */
fs/smb/client/smb1pdu.h
593
struct smb_hdr hdr; /* wct = 7, extended response */
fs/smb/client/smb1pdu.h
635
struct smb_hdr hdr;
fs/smb/client/smb1pdu.h
642
struct smb_hdr hdr;
fs/smb/client/smb1pdu.h
649
struct smb_hdr hdr; /* wct = 2 */
fs/smb/client/smb1pdu.h
657
struct smb_hdr hdr; /* wct = 2 */
fs/smb/client/smb1pdu.h
668
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
672
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
678
struct smb_hdr hdr; /* wct = 3 */
fs/smb/client/smb1pdu.h
685
struct smb_hdr hdr; /* wct = 0 */
fs/smb/client/smb1pdu.h
690
struct smb_hdr hdr; /* wct = 1 */
fs/smb/client/smb1pdu.h
696
struct smb_hdr hdr; /* wct = 1 */
fs/smb/client/smb1pdu.h
728
struct smb_hdr hdr; /* wct = 24 */
fs/smb/client/smb1pdu.h
758
struct smb_hdr hdr; /* wct = 34 BB */
fs/smb/client/smb1pdu.h
781
struct smb_hdr hdr; /* wct = 42 but meaningless due to MS bug? */
fs/smb/client/smb1pdu.h
808
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
826
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
847
struct smb_hdr hdr; /* wct = 12 */
fs/smb/client/smb1pdu.h
866
struct smb_hdr hdr; /* wct = 14 */
fs/smb/client/smb1pdu.h
886
struct smb_hdr hdr; /* wct = 6 */
fs/smb/client/smb1pdu.h
899
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
913
struct smb_hdr hdr; /* wct = 12 */
fs/smb/client/smb1pdu.h
928
struct smb_hdr hdr; /* wct = 12 */
fs/smb/client/smb1pdu.h
959
struct smb_hdr hdr; /* wct = 8 */
fs/smb/client/smb1pdu.h
987
struct smb_hdr hdr; /* wct = 2 */
fs/smb/client/smb1pdu.h
995
struct smb_hdr hdr; /* wct = 1 */
fs/smb/client/smb1proto.h
258
unsigned int header_assemble(struct smb_hdr *buffer, char smb_command,
fs/smb/client/smb1proto.h
296
struct smb_hdr *in_buf, unsigned int in_len,
fs/smb/client/smb1proto.h
297
struct smb_hdr *out_buf, int *pbytes_returned,
fs/smb/client/smb1proto.h
306
get_mid(const struct smb_hdr *smb)
fs/smb/client/smb1proto.h
312
compare_mid(__u16 mid, const struct smb_hdr *smb)
fs/smb/client/smb1proto.h
322
BCC(struct smb_hdr *smb)
fs/smb/client/smb1proto.h
332
get_bcc(struct smb_hdr *hdr)
fs/smb/client/smb1proto.h
341
put_bcc(__u16 count, struct smb_hdr *hdr)
fs/smb/client/smb1session.c
316
struct smb_hdr *smb_buf;
fs/smb/client/smb1session.c
399
struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base;
fs/smb/client/smb1session.c
421
struct smb_hdr *smb_buf;
fs/smb/client/smb1session.c
484
smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base;
fs/smb/client/smb1session.c
531
struct smb_hdr *smb_buf;
fs/smb/client/smb1session.c
610
smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base;
fs/smb/client/smb1session.c
713
struct smb_hdr *smb_buf;
fs/smb/client/smb1session.c
760
smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base;
fs/smb/client/smb1session.c
819
struct smb_hdr *smb_buf;
fs/smb/client/smb1session.c
837
smb_buf = (struct smb_hdr *)pSMB;
fs/smb/client/smb1session.c
862
smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base;
fs/smb/client/smb1transport.c
108
struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb1transport.c
195
struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb1transport.c
225
struct smb_hdr *in_buf, unsigned int in_len,
fs/smb/client/smb1transport.c
226
struct smb_hdr *out_buf, int *pbytes_returned, const int flags)
fs/smb/client/smb1transport.c
282
struct smb_hdr *pSMB = (struct smb_hdr *)buf;
fs/smb/client/smb1transport.c
323
coalesce_t2(char *second_buf, struct smb_hdr *target_hdr, unsigned int *pdu_len)
fs/smb/client/smb1transport.c
37
alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server)
fs/smb/client/smb1transport.c
445
check_smb_hdr(struct smb_hdr *smb)
fs/smb/client/smb1transport.c
479
struct smb_hdr *smb = (struct smb_hdr *)buf;
fs/smb/client/smb1transport.c
486
if (total_read < 2 + sizeof(struct smb_hdr)) {
fs/smb/client/smb1transport.c
487
if ((total_read >= sizeof(struct smb_hdr) - 1)
fs/smb/client/smb1transport.c
493
} else if ((total_read == sizeof(struct smb_hdr) + 1) &&
fs/smb/client/smb1transport.c
498
if (tmp[sizeof(struct smb_hdr)] == 0) {
fs/smb/client/smb1transport.c
506
tmp[sizeof(struct smb_hdr)+1] = 0;
fs/smb/client/smb1transport.c
510
return smb_EIO1(smb_eio_trace_rx_inv_bcc, tmp[sizeof(struct smb_hdr)]);
fs/smb/client/smb1transport.c
520
total_read, 2 + sizeof(struct smb_hdr));
fs/smb/client/smb1transport.c
72
static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf,
fs/smb/common/smb1pdu.h
51
struct smb_hdr hdr; /* wct = 0 */
fs/smb/server/connection.c
442
#define SMB1_MIN_SUPPORTED_PDU_SIZE (sizeof(struct smb_hdr) + 2)
fs/smb/server/server.c
96
struct smb_hdr *rsp_hdr;
fs/smb/server/smb_common.c
159
struct smb_hdr *hdr;
fs/smb/server/smb_common.c
338
struct smb_hdr *rsp_hdr = (struct smb_hdr *)smb_get_msg(work->response_buf);
fs/smb/server/smb_common.c
339
struct smb_hdr *rcv_hdr = (struct smb_hdr *)smb_get_msg(work->request_buf);
fs/smb/server/smb_common.c
430
struct smb_hdr *rcv_hdr = (struct smb_hdr *)smb_get_msg(conn->request_buf);
fs/smb/server/smb_common.h
88
struct smb_hdr hdr; /* wct = 17 */