Searched refs:smb2_hdr (Results 1 – 15 of 15) sorted by relevance
| /linux/fs/smb/common/ |
| H A D | smb2pdu.h | 142 struct smb2_hdr { struct 186 struct smb2_hdr hdr; 194 struct smb2_hdr hdr; 342 struct smb2_hdr hdr; 389 struct smb2_hdr hdr; 399 struct smb2_hdr hdr; 405 struct smb2_hdr hdr; 608 struct smb2_hdr hdr; 623 struct smb2_hdr hdr; 650 struct smb2_hdr hdr; [all …]
|
| /linux/fs/smb/client/ |
| H A D | smb2misc.c | 26 check_smb2_hdr(struct smb2_hdr *shdr, __u64 mid) in check_smb2_hdr() 88 #define SMB311_NEGPROT_BASE_SIZE (sizeof(struct smb2_hdr) + sizeof(struct smb2_negotiate_rsp)) 90 static __u32 get_neg_ctxt_len(struct smb2_hdr *hdr, __u32 len, in get_neg_ctxt_len() 144 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_check_message() 146 int hdr_size = sizeof(struct smb2_hdr); in smb2_check_message() 333 smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *shdr) in smb2_get_data_area_len() 437 struct smb2_hdr *shdr = &pdu->hdr; in __smb2_calc_size() 884 struct smb2_hdr *hdr = mid->resp_buf; in smb2_handle_cancelled_mid() 925 struct smb2_hdr *hdr; in smb311_update_preauth_hash() 928 hdr = (struct smb2_hdr *)iov[0].iov_base; in smb311_update_preauth_hash()
|
| H A D | smb2maperror.c | 55 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in map_smb2_to_linux_error()
|
| H A D | smb2ops.c | 407 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in __smb2_find_mid() 449 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_dump_detail() 994 struct smb2_hdr *hdr = err_iov.iov_base; in smb2_is_path_accessible() 2728 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_status_pending() 2755 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_session_expired() 2773 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_status_io_timeout() 2784 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_network_name_deleted() 2834 struct smb2_hdr *shdr; in smb2_set_replay() 2839 shdr = (struct smb2_hdr *)(rqst->rq_iov[0].iov_base); in smb2_set_replay() 2850 struct smb2_hdr *shdr; in smb2_set_related() [all …]
|
| H A D | smb2pdu.c | 94 smb2_hdr_assemble(struct smb2_hdr *shdr, __le16 smb2_cmd, in smb2_hdr_assemble() 545 *total_len = parmsize + sizeof(struct smb2_hdr); in fill_small_buf() 573 (struct smb2_hdr *)(*request_buf), in __smb2_plain_req_init() 1314 (struct smb2_hdr *)rsp); in SMB2_negotiate() 4560 struct smb2_hdr *shdr; in smb2_new_read_req() 4658 struct smb2_hdr *shdr = (struct smb2_hdr *)rdata->iov[0].iov_base; in smb2_readv_callback() 4810 struct smb2_hdr *shdr; in smb2_async_readv() 4846 shdr = (struct smb2_hdr *)buf; in smb2_async_readv() 5130 struct smb2_hdr *shdr; in smb2_async_writev() 5170 shdr = (struct smb2_hdr *)req; in smb2_async_writev()
|
| H A D | smb2proto.h | 35 char *smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *shdr);
|
| H A D | connect.c | 981 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_get_credits_from_hdr() 1227 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_add_credits_from_hdr()
|
| H A D | misc.c | 194 size_t buf_size = sizeof(struct smb2_hdr); in cifs_buf_get()
|
| H A D | cifsglob.h | 948 const struct smb2_hdr *shdr) in revert_current_mid_from_hdr()
|
| /linux/fs/smb/server/ |
| H A D | smb2misc.c | 13 static int check_smb2_hdr(struct smb2_hdr *hdr) in check_smb2_hdr() 85 struct smb2_hdr *hdr) in smb2_get_data_area_len() 209 struct smb2_hdr *hdr = &pdu->hdr; in smb2_calc_size() 305 struct smb2_hdr *hdr) in smb2_validate_credit_charge() 382 struct smb2_hdr *hdr) in smb2_check_sequence_number() 447 struct smb2_hdr *hdr = &pdu->hdr; in ksmbd_smb2_check_message()
|
| H A D | server.c | 162 struct smb2_hdr *rsp = ksmbd_resp_buf_curr(work); in __process_request() 202 if (((struct smb2_hdr *)smb_get_msg(work->request_buf))->ProtocolId == in __handle_ksmbd_work() 212 if (((struct smb2_hdr *)smb_get_msg(work->request_buf))->ProtocolId != in __handle_ksmbd_work() 244 struct smb2_hdr *rsp_hdr; in __handle_ksmbd_work()
|
| H A D | smb2pdu.c | 143 struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work); in smb2_get_ksmbd_tcon() 226 struct smb2_hdr *hdr = smb_get_msg(work->request_buf); in is_smb2_neg_cmd() 250 struct smb2_hdr *hdr = smb_get_msg(work->response_buf); in is_smb2_rsp() 271 struct smb2_hdr *rcv_hdr; in get_smb2_cmd_val() 287 struct smb2_hdr *rsp_hdr; in set_smb2_rsp_status() 314 struct smb2_hdr *rsp_hdr; in init_smb2_neg_rsp() 320 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in init_smb2_neg_rsp() 375 struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work); in smb2_set_rsp_credits() 376 struct smb2_hdr *hdr = ksmbd_resp_buf_next(work); in smb2_set_rsp_credits() 454 struct smb2_hdr *req = ksmbd_req_buf_next(work); in init_chained_smb2_rsp() [all …]
|
| H A D | connection.c | 612 (sizeof(struct smb2_transform_hdr) + sizeof(struct smb2_hdr)) 701 if (((struct smb2_hdr *)smb_get_msg(conn->request_buf))->ProtocolId == in ksmbd_conn_handler_loop()
|
| H A D | oplock.c | 869 struct smb2_hdr *rsp_hdr; in __smb2_oplock_break_noti() 883 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in __smb2_oplock_break_noti() 989 struct smb2_hdr *rsp_hdr; in __smb2_lease_break_noti() 997 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in __smb2_lease_break_noti()
|
| H A D | auth.c | 700 struct smb2_hdr *rcv_hdr = smb_get_msg(buf); in ksmbd_gen_preauth_integrity_hash()
|