Lines Matching refs:smb2_hdr
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()
362 struct smb2_hdr *req = ksmbd_req_buf_next(work); in init_chained_smb2_rsp()
363 struct smb2_hdr *rsp = ksmbd_resp_buf_next(work); in init_chained_smb2_rsp()
364 struct smb2_hdr *rsp_hdr; in init_chained_smb2_rsp()
365 struct smb2_hdr *rcv_hdr; in init_chained_smb2_rsp()
390 inc_rfc1001_len(work->response_buf, ((sizeof(struct smb2_hdr) - 4) in init_chained_smb2_rsp()
409 memset((char *)rsp_hdr + 4, 0, sizeof(struct smb2_hdr) + 2); in init_chained_smb2_rsp()
435 struct smb2_hdr *hdr = work->request_buf; in is_chained_smb2_message()
486 struct smb2_hdr *rsp_hdr = work->response_buf; in init_smb2_rsp_hdr()
487 struct smb2_hdr *rcv_hdr = work->request_buf; in init_smb2_rsp_hdr()
490 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in init_smb2_rsp_hdr()
525 struct smb2_hdr *hdr = work->request_buf; in smb2_allocate_rsp_buf()
564 struct smb2_hdr *req_hdr = work->request_buf; in smb2_check_user_session()
641 struct smb2_hdr *rsp_hdr; in setup_async_work()
675 struct smb2_hdr *rsp_hdr; in smb2_send_interim_resp()
1190 sizeof(struct smb2_hdr) - sizeof(rsp->Buffer) + in smb2_handle_negotiate()
1541 offsetof(struct smb2_hdr, smb2_buf_length) - in krb5_authenticate()
4008 rsp->hdr.smb2_buf_length = cpu_to_be32(sizeof(struct smb2_hdr) - 4); in buffer_check_err()
4014 rsp->hdr.smb2_buf_length = cpu_to_be32(sizeof(struct smb2_hdr) - 4 + in buffer_check_err()
6543 struct smb2_hdr *hdr = work->request_buf; in smb2_cancel()
6544 struct smb2_hdr *chdr; in smb2_cancel()
8148 struct smb2_hdr *rcv_hdr2 = work->request_buf; in smb2_is_sign_req()
8167 struct smb2_hdr *hdr, *hdr_org; in smb2_check_sign_req()
8210 struct smb2_hdr *hdr, *hdr_org; in smb2_set_sign_rsp()
8211 struct smb2_hdr *req_hdr; in smb2_set_sign_rsp()
8264 struct smb2_hdr *hdr, *hdr_org; in smb3_check_sign_req()
8321 struct smb2_hdr *req_hdr; in smb3_set_sign_rsp()
8322 struct smb2_hdr *hdr, *hdr_org; in smb3_set_sign_rsp()
8385 struct smb2_hdr *req, *rsp; in smb3_preauth_hash_rsp()
8420 struct smb2_hdr *hdr = (struct smb2_hdr *)old_buf; in fill_transform_hdr()
8494 struct smb2_hdr *hdr; in smb3_decrypt_req()
8502 if (buf_data_size < sizeof(struct smb2_hdr)) { in smb3_decrypt_req()
8529 hdr = (struct smb2_hdr *)buf; in smb3_decrypt_req()
8538 struct smb2_hdr *rsp = work->response_buf; in smb3_11_final_sess_setup_resp()