Searched refs:smb2_hdr (Results 1 – 19 of 19) sorted by relevance
/linux/fs/smbfs_common/ |
A D | smb2pdu.h | 92 struct smb2_hdr { struct 114 struct smb2_hdr hdr; argument 251 struct smb2_hdr hdr; 296 struct smb2_hdr hdr; 306 struct smb2_hdr hdr; 312 struct smb2_hdr hdr; 513 struct smb2_hdr hdr; 528 struct smb2_hdr hdr; 555 struct smb2_hdr hdr; 576 struct smb2_hdr hdr; [all …]
|
/linux/fs/cifs/ |
A D | smb2pdu.h | 62 struct smb2_hdr hdr; 483 struct smb2_hdr hdr; 501 struct smb2_hdr hdr; 529 struct smb2_hdr hdr; 544 struct smb2_hdr hdr; 550 struct smb2_hdr hdr; 556 struct smb2_hdr hdr; 586 struct smb2_hdr hdr; 600 struct smb2_hdr hdr; 633 struct smb2_hdr hdr; [all …]
|
A D | smb2transport.c | 215 struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base; in smb2_calc_signature() 536 struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base; in smb3_calc_signature() 613 struct smb2_hdr *shdr; in smb2_sign_rqst() 644 struct smb2_hdr *shdr = in smb2_verify_signature() 645 (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_verify_signature() 691 struct smb2_hdr *shdr) in smb2_seq_num_into_buf() 702 smb2_mid_entry_alloc(const struct smb2_hdr *shdr, in smb2_mid_entry_alloc() 810 struct smb2_hdr *shdr = in smb2_setup_request() 811 (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_setup_request() 836 struct smb2_hdr *shdr = in smb2_setup_async_request() [all …]
|
A D | smb2misc.c | 21 check_smb2_hdr(struct smb2_hdr *shdr, __u64 mid) in check_smb2_hdr() 83 #define SMB311_NEGPROT_BASE_SIZE (sizeof(struct smb2_hdr) + sizeof(struct smb2_negotiate_rsp)) 85 static __u32 get_neg_ctxt_len(struct smb2_hdr *hdr, __u32 len, in get_neg_ctxt_len() 137 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_check_message() 143 int hdr_size = sizeof(struct smb2_hdr); in smb2_check_message() 298 smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *shdr) in smb2_get_data_area_len() 404 struct smb2_hdr *shdr = &pdu->hdr; in smb2_calc_size() 818 struct smb2_hdr *hdr = mid->resp_buf; in smb2_handle_cancelled_mid() 858 struct smb2_hdr *hdr; in smb311_update_preauth_hash() 861 hdr = (struct smb2_hdr *)iov[0].iov_base; in smb311_update_preauth_hash()
|
A D | smb2ops.c | 328 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in __smb2_find_mid() 370 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_dump_detail() 2465 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_status_pending() 2492 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_session_expired() 2510 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_status_io_timeout() 2521 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_network_name_deleted() 2562 struct smb2_hdr *shdr; in smb2_set_related() 2577 struct smb2_hdr *shdr; in smb2_set_next_command() 4796 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in handle_read_data() 5125 struct smb2_hdr *shdr; in receive_encrypted_standard() [all …]
|
A D | smb2pdu.c | 86 smb2_hdr_assemble(struct smb2_hdr *shdr, __le16 smb2_cmd, in smb2_hdr_assemble() 350 *total_len = parmsize + sizeof(struct smb2_hdr); in fill_small_buf() 373 (struct smb2_hdr *)(*request_buf), in __smb2_plain_req_init() 1024 (struct smb2_hdr *)rsp); in SMB2_negotiate() 3917 struct smb2_hdr *shdr; in smb2_new_read_req() 4011 struct smb2_hdr *shdr = in smb2_readv_callback() 4012 (struct smb2_hdr *)rdata->iov[0].iov_base; in smb2_readv_callback() 4098 struct smb2_hdr *shdr; in smb2_async_readv() 4131 shdr = (struct smb2_hdr *)buf; in smb2_async_readv() 4340 struct smb2_hdr *shdr; in smb2_async_writev() [all …]
|
A D | smb2proto.h | 28 struct smb2_hdr *shdr);
|
A D | connect.c | 730 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_get_credits_from_hdr() 934 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_add_credits_from_hdr()
|
A D | smb2maperror.c | 2442 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in map_smb2_to_linux_error()
|
A D | misc.c | 154 size_t buf_size = sizeof(struct smb2_hdr); in cifs_buf_get()
|
A D | cifsglob.h | 806 const struct smb2_hdr *shdr) in revert_current_mid_from_hdr()
|
/linux/fs/ksmbd/ |
A D | smb2pdu.h | 72 struct smb2_hdr hdr; 268 struct smb2_hdr hdr; 286 struct smb2_hdr hdr; 431 struct smb2_hdr hdr; 442 struct smb2_hdr hdr; 448 struct smb2_hdr hdr; 454 struct smb2_hdr hdr; 466 struct smb2_hdr hdr; 480 struct smb2_hdr hdr; 508 struct smb2_hdr hdr; [all …]
|
A D | smb_common.c | 135 struct smb2_hdr *smb2_hdr = ksmbd_req_buf_next(work); 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 *)smb2_get_msg(buf))->ProtocolId; in ksmbd_negotiate_smb_dialect() 453 struct smb2_hdr *smb2_hdr = smb2_get_msg(work->request_buf); in ksmbd_smb_negotiate_common() local 455 if (smb2_hdr->ProtocolId != SMB2_PROTO_NUMBER) { in ksmbd_smb_negotiate_common()
|
A D | smb2misc.c | 14 static int check_smb2_hdr(struct smb2_hdr *hdr) in check_smb2_hdr() 86 struct smb2_hdr *hdr) in smb2_get_data_area_len() 195 struct smb2_hdr *hdr = &pdu->hdr; in smb2_calc_size() 287 struct smb2_hdr *hdr) in smb2_validate_credit_charge() 350 struct smb2_hdr *hdr = &pdu->hdr; in ksmbd_smb2_check_message()
|
A D | smb2ops.c | 26 .header_size = sizeof(struct smb2_hdr), 51 .header_size = sizeof(struct smb2_hdr), 77 .header_size = sizeof(struct smb2_hdr), 103 .header_size = sizeof(struct smb2_hdr),
|
A D | smb2pdu.c | 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() 362 struct smb2_hdr *rsp_hdr; in init_chained_smb2_rsp() 363 struct smb2_hdr *rcv_hdr; in init_chained_smb2_rsp() 639 struct smb2_hdr *rsp_hdr; in setup_async_work() 673 struct smb2_hdr *rsp_hdr; in smb2_send_interim_resp() 6577 struct smb2_hdr *chdr; in smb2_cancel() 8199 struct smb2_hdr *hdr; in smb2_check_sign_req() 8242 struct smb2_hdr *hdr; in smb2_set_sign_rsp() [all …]
|
A 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()
|
A D | transport_rdma.c | 486 struct smb2_hdr *hdr = (struct smb2_hdr *)(recvmsg->packet in smb_direct_check_recvmsg()
|
A D | auth.c | 876 struct smb2_hdr *rcv_hdr = smb2_get_msg(buf); in ksmbd_gen_preauth_integrity_hash()
|
Completed in 94 milliseconds