Searched refs:smb2_hdr (Results 1 - 21 of 21) sorted by relevance

/linux-master/fs/smb/common/
H A Dsmb2pdu.h136 struct smb2_hdr { struct
180 struct smb2_hdr hdr;
188 struct smb2_hdr hdr;
337 struct smb2_hdr hdr;
383 struct smb2_hdr hdr;
393 struct smb2_hdr hdr;
399 struct smb2_hdr hdr;
602 struct smb2_hdr hdr;
617 struct smb2_hdr hdr;
644 struct smb2_hdr hd
[all...]
/linux-master/fs/smb/client/
H A Dsmb2misc.c22 check_smb2_hdr(struct smb2_hdr *shdr, __u64 mid)
84 #define SMB311_NEGPROT_BASE_SIZE (sizeof(struct smb2_hdr) + sizeof(struct smb2_negotiate_rsp))
86 static __u32 get_neg_ctxt_len(struct smb2_hdr *hdr, __u32 len,
139 struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
141 int hdr_size = sizeof(struct smb2_hdr);
314 smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *shdr)
414 struct smb2_hdr *shdr = &pdu->hdr;
843 struct smb2_hdr *hdr = mid->resp_buf;
884 struct smb2_hdr *hd
[all...]
H A Dsmb2transport.c238 struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base;
568 struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base;
642 struct smb2_hdr *shdr;
647 shdr = (struct smb2_hdr *)rqst->rq_iov[0].iov_base;
678 struct smb2_hdr *shdr =
679 (struct smb2_hdr *)rqst->rq_iov[0].iov_base;
725 struct smb2_hdr *shdr)
736 smb2_mid_entry_alloc(const struct smb2_hdr *shd
[all...]
H A Dsmb2ops.c360 struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
402 struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
920 struct smb2_hdr *hdr = err_iov.iov_base;
2415 struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
2442 struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
2460 struct smb2_hdr *shd
[all...]
H A Dsmb2pdu.h22 #define SMB2_READWRITE_PDU_HEADER_SIZE (48 + sizeof(struct smb2_hdr))
H A Dsmb2file.c123 struct smb2_hdr *hdr = err_iov.iov_base;
H A Dsmb2proto.h28 struct smb2_hdr *shdr);
H A Dsmb2pdu.c87 smb2_hdr_assemble(struct smb2_hdr *shdr, __le16 smb2_cmd,
516 *total_len = parmsize + sizeof(struct smb2_hdr);
544 (struct smb2_hdr *)(*request_buf),
1232 (struct smb2_hdr *)rsp);
4399 struct smb2_hdr *shdr;
4489 struct smb2_hdr *shdr =
4490 (struct smb2_hdr *)rdata->iov[0].iov_base;
4577 struct smb2_hdr *shdr;
4611 shdr = (struct smb2_hdr *)buf;
4824 struct smb2_hdr *shd
[all...]
H A Dsmb2maperror.c2442 struct smb2_hdr *shdr = (struct smb2_hdr *)buf;
H A Dmisc.c176 size_t buf_size = sizeof(struct smb2_hdr);
H A Dconnect.c882 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer;
1127 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer;
H A Dsmb2inode.c869 struct smb2_hdr *hdr;
H A Dcifsglob.h934 const struct smb2_hdr *shdr)
/linux-master/fs/smb/server/
H A Dsmb2misc.c14 static int check_smb2_hdr(struct smb2_hdr *hdr)
86 struct smb2_hdr *hdr)
210 struct smb2_hdr *hdr = &pdu->hdr;
302 struct smb2_hdr *hdr)
371 struct smb2_hdr *hdr = &pdu->hdr;
H A Dsmb2ops.c27 .header_size = sizeof(struct smb2_hdr),
53 .header_size = sizeof(struct smb2_hdr),
80 .header_size = sizeof(struct smb2_hdr),
107 .header_size = sizeof(struct smb2_hdr),
H A Dsmb_common.c137 struct smb2_hdr *smb2_hdr = ksmbd_req_buf_next(work); local
140 if (smb2_hdr->ProtocolId == SMB2_PROTO_NUMBER)
262 __le32 proto = ((struct smb2_hdr *)smb2_get_msg(buf))->ProtocolId;
H A Dconnection.c262 #define SMB2_MIN_SUPPORTED_HEADER_SIZE (sizeof(struct smb2_hdr) + 4)
352 if (((struct smb2_hdr *)smb2_get_msg(conn->request_buf))->ProtocolId ==
H A Dsmb2pdu.c90 struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work);
171 struct smb2_hdr *hdr = smb2_get_msg(work->request_buf);
195 struct smb2_hdr *hdr = smb2_get_msg(work->response_buf);
216 struct smb2_hdr *rcv_hdr;
232 struct smb2_hdr *rsp_hdr;
252 struct smb2_hdr *rsp_hdr;
258 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
313 struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work);
314 struct smb2_hdr *hdr = ksmbd_resp_buf_next(work);
375 struct smb2_hdr *re
[all...]
H A Doplock.c642 struct smb2_hdr *rsp_hdr;
656 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
752 struct smb2_hdr *rsp_hdr;
760 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
H A Dtransport_rdma.c497 struct smb2_hdr *hdr = (struct smb2_hdr *)(recvmsg->packet
H A Dauth.c923 struct smb2_hdr *rcv_hdr = smb2_get_msg(buf);

Completed in 480 milliseconds