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
1851
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
1852
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
2251
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2252
(struct smb_hdr *) pSMB, &bytes_returned,
fs/smb/client/cifssmb.c
2338
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2339
(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
2515
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2516
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
257
struct smb_hdr *buffer;
fs/smb/client/cifssmb.c
2598
rc = SendReceive(xid, pTcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2599
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
263
buffer = (struct smb_hdr *)*request_buf;
fs/smb/client/cifssmb.c
2686
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2687
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
2771
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2772
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
2844
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2845
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
2916
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
2917
(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
3020
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *)io_req, in_len,
fs/smb/client/cifssmb.c
3021
(struct smb_hdr *)io_rsp, &io_rsp_len, 0);
fs/smb/client/cifssmb.c
3248
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3249
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
3500
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3501
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
3597
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3598
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
3674
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3675
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
3946
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
3947
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
3999
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4000
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4078
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4079
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4167
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4168
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4254
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4255
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4339
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4340
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4468
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4469
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4587
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4588
(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
4741
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4742
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4861
rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4862
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
4940
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
4941
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5030
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5031
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5120
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5121
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5194
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5195
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5268
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5269
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5353
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5354
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5417
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5418
(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
5553
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5554
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5690
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5691
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
5931
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
5932
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
6126
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
6127
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
6212
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
6213
(struct smb_hdr *) pSMBr, &bytes_returned, 0);
fs/smb/client/cifssmb.c
6428
rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len,
fs/smb/client/cifssmb.c
6429
(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
1825
if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) {
fs/smb/client/file.c
1830
BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) >
fs/smb/client/file.c
1832
max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
fs/smb/client/file.c
1834
max_num = (max_buf - sizeof(struct smb_hdr)) /
fs/smb/client/file.c
2203
if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE)))
fs/smb/client/file.c
2206
BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) >
fs/smb/client/file.c
2208
max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
fs/smb/client/file.c
2210
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
707
struct smb_hdr *smb = (struct smb_hdr *)buf;
fs/smb/client/smb1maperror.c
796
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
1351
struct smb_hdr *shdr = (struct smb_hdr *)buf;
fs/smb/client/smb1ops.c
148
struct smb_hdr *in_buf = (struct smb_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb1ops.c
1484
.header_size = sizeof(struct smb_hdr),
fs/smb/client/smb1ops.c
159
iov[0].iov_len = sizeof(struct smb_hdr) + 2;
fs/smb/client/smb1ops.c
195
struct smb_hdr *in_buf = (struct smb_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb1ops.c
252
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
1220
struct smb_hdr hdr; /* wct = 19 */
fs/smb/client/smb1pdu.h
1241
struct smb_hdr hdr; /* wct = 19 */
fs/smb/client/smb1pdu.h
1264
struct smb_hdr hdr; /* wct = 19 */
fs/smb/client/smb1pdu.h
1286
struct smb_hdr hdr; /* wct = 23 */
fs/smb/client/smb1pdu.h
1312
struct smb_hdr hdr; /* wct = 18 */
fs/smb/client/smb1pdu.h
1364
struct smb_hdr hdr;
fs/smb/client/smb1pdu.h
1388
struct smb_hdr hdr;
fs/smb/client/smb1pdu.h
1465
struct smb_hdr hdr; /* wct = 14+ */
fs/smb/client/smb1pdu.h
1490
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1497
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1523
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1537
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1564
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1571
struct smb_hdr hdr;
fs/smb/client/smb1pdu.h
1579
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1600
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1628
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
1642
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1670
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
1704
struct smb_hdr hdr; /* wct = 14+ */
fs/smb/client/smb1pdu.h
1727
struct smb_hdr hdr; /* wct = 10 + SetupCount */
fs/smb/client/smb1pdu.h
1753
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1781
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1807
struct smb_hdr hdr; /* wct = 10 */
fs/smb/client/smb1pdu.h
1813
struct smb_hdr hdr; /* wct = 15 */
fs/smb/client/smb1pdu.h
1869
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
243
unsigned int header_assemble(struct smb_hdr *buffer, char smb_command,
fs/smb/client/smb1proto.h
281
struct smb_hdr *in_buf, unsigned int in_len,
fs/smb/client/smb1proto.h
282
struct smb_hdr *out_buf, int *pbytes_returned,
fs/smb/client/smb1proto.h
291
get_mid(const struct smb_hdr *smb)
fs/smb/client/smb1proto.h
297
compare_mid(__u16 mid, const struct smb_hdr *smb)
fs/smb/client/smb1proto.h
307
BCC(struct smb_hdr *smb)
fs/smb/client/smb1proto.h
317
get_bcc(struct smb_hdr *hdr)
fs/smb/client/smb1proto.h
326
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
356
#define SMB1_MIN_SUPPORTED_PDU_SIZE (sizeof(struct smb_hdr) + 2)
fs/smb/server/server.c
95
struct smb_hdr *rsp_hdr;
fs/smb/server/smb_common.c
162
struct smb_hdr *hdr;
fs/smb/server/smb_common.c
346
struct smb_hdr *rsp_hdr = (struct smb_hdr *)smb_get_msg(work->response_buf);
fs/smb/server/smb_common.c
347
struct smb_hdr *rcv_hdr = (struct smb_hdr *)smb_get_msg(work->request_buf);
fs/smb/server/smb_common.c
438
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 */