fs/smb/client/cifsglob.h
948
const struct smb2_hdr *shdr)
fs/smb/client/compress.c
281
const struct smb2_hdr *shdr = rq->rq_iov->iov_base;
fs/smb/client/connect.c
1227
struct smb2_hdr *shdr = (struct smb2_hdr *)buffer;
fs/smb/client/connect.c
981
struct smb2_hdr *shdr = (struct smb2_hdr *)buffer;
fs/smb/client/misc.c
194
size_t buf_size = sizeof(struct smb2_hdr);
fs/smb/client/smb2file.c
189
struct smb2_hdr *hdr = err_iov.iov_base;
fs/smb/client/smb2inode.c
1504
((struct smb2_hdr *)out_iov[0].iov_base)->Status == STATUS_SUCCESS &&
fs/smb/client/smb2inode.c
1506
((struct smb2_hdr *)out_iov[1].iov_base)->Status != STATUS_SUCCESS))
fs/smb/client/smb2inode.c
930
struct smb2_hdr *hdr = out_iov[i].iov_base;
fs/smb/client/smb2inode.c
962
struct smb2_hdr *hdr;
fs/smb/client/smb2maperror.c
52
struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2misc.c
141
struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2misc.c
143
int hdr_size = sizeof(struct smb2_hdr);
fs/smb/client/smb2misc.c
23
check_smb2_hdr(struct smb2_hdr *shdr, __u64 mid)
fs/smb/client/smb2misc.c
316
smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *shdr)
fs/smb/client/smb2misc.c
416
struct smb2_hdr *shdr = &pdu->hdr;
fs/smb/client/smb2misc.c
847
struct smb2_hdr *hdr = mid->resp_buf;
fs/smb/client/smb2misc.c
85
#define SMB311_NEGPROT_BASE_SIZE (sizeof(struct smb2_hdr) + sizeof(struct smb2_negotiate_rsp))
fs/smb/client/smb2misc.c
87
static __u32 get_neg_ctxt_len(struct smb2_hdr *hdr, __u32 len,
fs/smb/client/smb2misc.c
888
struct smb2_hdr *hdr;
fs/smb/client/smb2misc.c
891
hdr = (struct smb2_hdr *)iov[0].iov_base;
fs/smb/client/smb2ops.c
2600
struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2ops.c
2627
struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2ops.c
2645
struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2ops.c
2656
struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2ops.c
2706
struct smb2_hdr *shdr;
fs/smb/client/smb2ops.c
2711
shdr = (struct smb2_hdr *)(rqst->rq_iov[0].iov_base);
fs/smb/client/smb2ops.c
2722
struct smb2_hdr *shdr;
fs/smb/client/smb2ops.c
2724
shdr = (struct smb2_hdr *)(rqst->rq_iov[0].iov_base);
fs/smb/client/smb2ops.c
2737
struct smb2_hdr *shdr;
fs/smb/client/smb2ops.c
2743
shdr = (struct smb2_hdr *)(rqst->rq_iov[0].iov_base);
fs/smb/client/smb2ops.c
396
struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2ops.c
4312
struct smb2_hdr *shdr =
fs/smb/client/smb2ops.c
4313
(struct smb2_hdr *)old_rq->rq_iov[0].iov_base;
fs/smb/client/smb2ops.c
438
struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2ops.c
4711
struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2ops.c
5030
struct smb2_hdr *shdr;
fs/smb/client/smb2ops.c
5061
shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2ops.c
5132
sizeof(struct smb2_hdr)) {
fs/smb/client/smb2ops.c
5165
struct smb2_hdr *hdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2ops.c
5800
.header_size = sizeof(struct smb2_hdr),
fs/smb/client/smb2ops.c
5821
.header_size = sizeof(struct smb2_hdr),
fs/smb/client/smb2ops.c
5841
.header_size = sizeof(struct smb2_hdr),
fs/smb/client/smb2ops.c
5861
.header_size = sizeof(struct smb2_hdr),
fs/smb/client/smb2ops.c
5881
.header_size = sizeof(struct smb2_hdr),
fs/smb/client/smb2ops.c
5901
.header_size = sizeof(struct smb2_hdr),
fs/smb/client/smb2ops.c
5921
.header_size = sizeof(struct smb2_hdr),
fs/smb/client/smb2ops.c
983
struct smb2_hdr *hdr = err_iov.iov_base;
fs/smb/client/smb2pdu.c
1289
(struct smb2_hdr *)rsp);
fs/smb/client/smb2pdu.c
4506
struct smb2_hdr *shdr;
fs/smb/client/smb2pdu.c
4598
struct smb2_hdr *shdr = (struct smb2_hdr *)rdata->iov[0].iov_base;
fs/smb/client/smb2pdu.c
4749
struct smb2_hdr *shdr;
fs/smb/client/smb2pdu.c
4785
shdr = (struct smb2_hdr *)buf;
fs/smb/client/smb2pdu.c
5068
struct smb2_hdr *shdr;
fs/smb/client/smb2pdu.c
5108
shdr = (struct smb2_hdr *)req;
fs/smb/client/smb2pdu.c
546
*total_len = parmsize + sizeof(struct smb2_hdr);
fs/smb/client/smb2pdu.c
574
(struct smb2_hdr *)(*request_buf),
fs/smb/client/smb2pdu.c
95
smb2_hdr_assemble(struct smb2_hdr *shdr, __le16 smb2_cmd,
fs/smb/client/smb2pdu.h
22
#define SMB2_READWRITE_PDU_HEADER_SIZE (48 + sizeof(struct smb2_hdr))
fs/smb/client/smb2proto.h
30
char *smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *shdr);
fs/smb/client/smb2transport.c
220
struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base;
fs/smb/client/smb2transport.c
476
struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base;
fs/smb/client/smb2transport.c
554
struct smb2_hdr *shdr;
fs/smb/client/smb2transport.c
559
shdr = (struct smb2_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb2transport.c
588
struct smb2_hdr *shdr =
fs/smb/client/smb2transport.c
589
(struct smb2_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb2transport.c
636
struct smb2_hdr *shdr)
fs/smb/client/smb2transport.c
647
smb2_mid_entry_alloc(const struct smb2_hdr *shdr,
fs/smb/client/smb2transport.c
687
struct smb2_hdr *shdr, struct mid_q_entry **mid)
fs/smb/client/smb2transport.c
760
struct smb2_hdr *shdr =
fs/smb/client/smb2transport.c
761
(struct smb2_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/client/smb2transport.c
786
struct smb2_hdr *shdr =
fs/smb/client/smb2transport.c
787
(struct smb2_hdr *)rqst->rq_iov[0].iov_base;
fs/smb/common/smb2pdu.h
1027
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1039
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1053
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1196
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1216
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1395
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1452
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1771
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1787
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
186
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
194
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1958
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1970
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
1983
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
343
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
389
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
399
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
405
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
608
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
623
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
650
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
671
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
684
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
690
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
702
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
716
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
748
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
769
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
788
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
804
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
819
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
828
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
847
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
865
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
871
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
877
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
905
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
919
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
970
struct smb2_hdr hdr;
fs/smb/common/smb2pdu.h
984
struct smb2_hdr hdr;
fs/smb/server/auth.c
701
struct smb2_hdr *rcv_hdr = smb_get_msg(buf);
fs/smb/server/connection.c
455
if (((struct smb2_hdr *)smb_get_msg(conn->request_buf))->ProtocolId ==
fs/smb/server/oplock.c
647
struct smb2_hdr *rsp_hdr;
fs/smb/server/oplock.c
661
memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
fs/smb/server/oplock.c
760
struct smb2_hdr *rsp_hdr;
fs/smb/server/oplock.c
768
memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
fs/smb/server/smb2misc.c
13
static int check_smb2_hdr(struct smb2_hdr *hdr)
fs/smb/server/smb2misc.c
209
struct smb2_hdr *hdr = &pdu->hdr;
fs/smb/server/smb2misc.c
301
struct smb2_hdr *hdr)
fs/smb/server/smb2misc.c
370
struct smb2_hdr *hdr = &pdu->hdr;
fs/smb/server/smb2misc.c
85
struct smb2_hdr *hdr)
fs/smb/server/smb2ops.c
108
.header_size = sizeof(struct smb2_hdr),
fs/smb/server/smb2ops.c
28
.header_size = sizeof(struct smb2_hdr),
fs/smb/server/smb2ops.c
54
.header_size = sizeof(struct smb2_hdr),
fs/smb/server/smb2ops.c
81
.header_size = sizeof(struct smb2_hdr),
fs/smb/server/smb2pdu.c
102
struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work);
fs/smb/server/smb2pdu.c
185
struct smb2_hdr *hdr = smb_get_msg(work->request_buf);
fs/smb/server/smb2pdu.c
209
struct smb2_hdr *hdr = smb_get_msg(work->response_buf);
fs/smb/server/smb2pdu.c
230
struct smb2_hdr *rcv_hdr;
fs/smb/server/smb2pdu.c
246
struct smb2_hdr *rsp_hdr;
fs/smb/server/smb2pdu.c
266
struct smb2_hdr *rsp_hdr;
fs/smb/server/smb2pdu.c
272
memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
fs/smb/server/smb2pdu.c
327
struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work);
fs/smb/server/smb2pdu.c
328
struct smb2_hdr *hdr = ksmbd_resp_buf_next(work);
fs/smb/server/smb2pdu.c
389
struct smb2_hdr *req = ksmbd_req_buf_next(work);
fs/smb/server/smb2pdu.c
390
struct smb2_hdr *rsp = ksmbd_resp_buf_next(work);
fs/smb/server/smb2pdu.c
391
struct smb2_hdr *rsp_hdr;
fs/smb/server/smb2pdu.c
392
struct smb2_hdr *rcv_hdr;
fs/smb/server/smb2pdu.c
433
memset((char *)rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
fs/smb/server/smb2pdu.c
459
struct smb2_hdr *hdr = smb_get_msg(work->request_buf);
fs/smb/server/smb2pdu.c
4602
*(__be32 *)rsp_org = cpu_to_be32(sizeof(struct smb2_hdr));
fs/smb/server/smb2pdu.c
510
struct smb2_hdr *rsp_hdr = smb_get_msg(work->response_buf);
fs/smb/server/smb2pdu.c
511
struct smb2_hdr *rcv_hdr = smb_get_msg(work->request_buf);
fs/smb/server/smb2pdu.c
513
memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
fs/smb/server/smb2pdu.c
540
struct smb2_hdr *hdr = smb_get_msg(work->request_buf);
fs/smb/server/smb2pdu.c
584
struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work);
fs/smb/server/smb2pdu.c
712
struct smb2_hdr *rsp_hdr;
fs/smb/server/smb2pdu.c
7289
struct smb2_hdr *hdr = smb_get_msg(work->request_buf);
fs/smb/server/smb2pdu.c
7290
struct smb2_hdr *chdr;
fs/smb/server/smb2pdu.c
8933
struct smb2_hdr *rcv_hdr2 = smb_get_msg(work->request_buf);
fs/smb/server/smb2pdu.c
8952
struct smb2_hdr *hdr;
fs/smb/server/smb2pdu.c
8994
struct smb2_hdr *hdr;
fs/smb/server/smb2pdu.c
9025
struct smb2_hdr *hdr;
fs/smb/server/smb2pdu.c
9083
struct smb2_hdr *hdr;
fs/smb/server/smb2pdu.c
9130
struct smb2_hdr *req, *rsp;
fs/smb/server/smb2pdu.c
9165
struct smb2_hdr *hdr = smb_get_msg(old_buf);
fs/smb/server/smb2pdu.c
9220
buf_data_size < sizeof(struct smb2_hdr)) {
fs/smb/server/smb2pdu.c
9257
struct smb2_hdr *rsp = smb_get_msg(work->response_buf);
fs/smb/server/smb_common.c
161
struct smb2_hdr *smb2_hdr = ksmbd_req_buf_next(work);
fs/smb/server/smb_common.c
164
if (smb2_hdr->ProtocolId == SMB2_PROTO_NUMBER)
fs/smb/server/smb_common.c
286
__le32 proto = ((struct smb2_hdr *)smb_get_msg(buf))->ProtocolId;
fs/smb/server/transport_rdma.c
576
struct smb2_hdr *hdr = (struct smb2_hdr *)(recvmsg->packet