Searched refs:smb2_hdr (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/fs/ksmbd/ |
D | smb2pdu.h | 132 struct smb2_hdr { struct 159 struct smb2_hdr hdr; argument 204 struct smb2_hdr hdr; 213 struct smb2_hdr hdr; 352 struct smb2_hdr hdr; 383 struct smb2_hdr hdr; 403 struct smb2_hdr hdr; 412 struct smb2_hdr hdr; 418 struct smb2_hdr hdr; 424 struct smb2_hdr hdr; [all …]
|
D | smb2misc.c | 15 static int check_smb2_hdr(struct smb2_hdr *hdr) in check_smb2_hdr() 87 struct smb2_hdr *hdr) in smb2_get_data_area_len() 196 struct smb2_hdr *hdr = &pdu->hdr; in smb2_calc_size() 288 struct smb2_hdr *hdr) in smb2_validate_credit_charge() 351 struct smb2_hdr *hdr = &pdu->hdr; in ksmbd_smb2_check_message()
|
D | smb_common.c | 135 struct smb2_hdr *smb2_hdr = work->request_buf + work->next_smb2_rcv_hdr_off; in ksmbd_verify_smb_message() local 138 if (smb2_hdr->ProtocolId == SMB2_PROTO_NUMBER) in ksmbd_verify_smb_message() 242 __le32 proto = ((struct smb2_hdr *)buf)->ProtocolId; in ksmbd_negotiate_smb_dialect() 452 struct smb2_hdr *smb2_hdr = work->request_buf; in ksmbd_smb_negotiate_common() local 454 if (smb2_hdr->ProtocolId != SMB2_PROTO_NUMBER) { in ksmbd_smb_negotiate_common()
|
D | smb2ops.c | 27 .header_size = sizeof(struct smb2_hdr), 52 .header_size = sizeof(struct smb2_hdr), 78 .header_size = sizeof(struct smb2_hdr), 104 .header_size = sizeof(struct smb2_hdr),
|
D | smb2pdu.c | 96 struct smb2_hdr *req_hdr = work->request_buf; in smb2_get_ksmbd_tcon() 153 struct smb2_hdr *hdr = work->request_buf; in is_smb2_neg_cmd() 177 struct smb2_hdr *hdr = work->response_buf; in is_smb2_rsp() 198 struct smb2_hdr *rcv_hdr; in get_smb2_cmd_val() 214 struct smb2_hdr *rsp_hdr; in set_smb2_rsp_status() 233 struct smb2_hdr *rsp_hdr; in init_smb2_neg_rsp() 242 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in init_smb2_neg_rsp() 284 sizeof(struct smb2_hdr) - sizeof(rsp->Buffer) + in init_smb2_neg_rsp() 301 struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work); in smb2_set_rsp_credits() 302 struct smb2_hdr *hdr = ksmbd_resp_buf_next(work); in smb2_set_rsp_credits() [all …]
|
D | oplock.c | 614 struct smb2_hdr *rsp_hdr; in __smb2_oplock_break_noti() 633 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in __smb2_oplock_break_noti() 730 struct smb2_hdr *rsp_hdr; in __smb2_lease_break_noti() 740 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in __smb2_lease_break_noti()
|
D | auth.c | 876 struct smb2_hdr *rcv_hdr = (struct smb2_hdr *)buf; in ksmbd_gen_preauth_integrity_hash()
|
D | transport_rdma.c | 486 struct smb2_hdr *hdr = (struct smb2_hdr *)(recvmsg->packet in smb_direct_check_recvmsg()
|