Home
last modified time | relevance | path

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

/linux/fs/smb/common/
H A Dsmb2pdu.h139 struct smb2_hdr { struct
183 struct smb2_hdr hdr;
191 struct smb2_hdr hdr;
340 struct smb2_hdr hdr;
386 struct smb2_hdr hdr;
396 struct smb2_hdr hdr;
402 struct smb2_hdr hdr;
605 struct smb2_hdr hdr;
620 struct smb2_hdr hdr;
647 struct smb2_hdr hd
140 ProtocolIdsmb2_hdr global() argument
141 StructureSizesmb2_hdr global() argument
142 CreditChargesmb2_hdr global() argument
143 Statussmb2_hdr global() argument
144 Commandsmb2_hdr global() argument
145 CreditRequestsmb2_hdr global() argument
146 Flagssmb2_hdr global() argument
147 NextCommandsmb2_hdr global() argument
148 MessageIdsmb2_hdr global() argument
149 __anonf76223c2010asmb2_hdr global() argument
155 Idsmb2_hdr global() argument
156 SessionIdsmb2_hdr global() argument
157 Signaturesmb2_hdr global() argument
[all...]
/linux/fs/smb/client/
H A Dsmb2transport.c263 struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base; in smb2_calc_signature()
592 struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base; in smb3_calc_signature()
666 struct smb2_hdr *shdr; in smb2_sign_rqst()
671 shdr = (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_sign_rqst()
702 struct smb2_hdr *shdr = in smb2_verify_signature()
703 (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_verify_signature()
749 struct smb2_hdr *shdr) in smb2_seq_num_into_buf()
760 smb2_mid_entry_alloc(const struct smb2_hdr *shdr, in smb2_mid_entry_alloc()
801 struct smb2_hdr *shdr, struct mid_q_entry **mid) in smb2_get_mid_entry()
882 struct smb2_hdr *shdr = in smb2_setup_request()
[all …]
H A Dsmb2misc.c22 check_smb2_hdr(struct smb2_hdr *shdr, __u64 mid) in check_smb2_hdr()
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, in get_neg_ctxt_len()
139 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_check_message()
141 int hdr_size = sizeof(struct smb2_hdr); in smb2_check_message()
314 smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *shdr) in smb2_get_data_area_len()
414 struct smb2_hdr *shdr = &pdu->hdr; in smb2_calc_size()
844 struct smb2_hdr *hdr = mid->resp_buf; in smb2_handle_cancelled_mid()
885 struct smb2_hdr *hd in smb311_update_preauth_hash()
[all...]
H A Dsmb2ops.c396 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in __smb2_find_mid()
438 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_dump_detail()
980 struct smb2_hdr *hdr = err_iov.iov_base; in smb2_is_path_accessible()
2496 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_status_pending()
2523 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_session_expired()
2541 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_status_io_timeout()
2552 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in smb2_is_network_name_deleted()
2599 struct smb2_hdr *shdr; in smb2_set_replay()
2604 shdr = (struct smb2_hdr *)(rqst->rq_iov[0].iov_base); in smb2_set_replay()
2615 struct smb2_hdr *shdr; in smb2_set_related()
[all …]
H A Dsmb2pdu.h22 #define SMB2_READWRITE_PDU_HEADER_SIZE (48 + sizeof(struct smb2_hdr))
H A Dcompress.c266 const struct smb2_hdr *shdr = rq->rq_iov->iov_base; in should_compress()
H A Dsmb2inode.c915 struct smb2_hdr *hdr = out_iov[i].iov_base; in ea_unsupported()
947 struct smb2_hdr *hdr; in smb2_query_path_info()
1395 ((struct smb2_hdr *)out_iov[0].iov_base)->Status == STATUS_SUCCESS && in smb2_create_reparse_inode()
1397 ((struct smb2_hdr *)out_iov[1].iov_base)->Status != STATUS_SUCCESS)) in smb2_create_reparse_inode()
H A Dsmb2file.c185 struct smb2_hdr *hdr = err_iov.iov_base; in smb2_open_file()
H A Dsmb2pdu.c95 smb2_hdr_assemble(struct smb2_hdr *shdr, __le16 smb2_cmd, in smb2_hdr_assemble()
512 *total_len = parmsize + sizeof(struct smb2_hdr); in fill_small_buf()
540 (struct smb2_hdr *)(*request_buf), in __smb2_plain_req_init()
1237 (struct smb2_hdr *)rsp); in SMB2_negotiate()
4432 struct smb2_hdr *shdr; in smb2_new_read_req()
4525 struct smb2_hdr *shdr = in smb2_readv_callback()
4526 (struct smb2_hdr *)rdata->iov[0].iov_base; in smb2_readv_callback()
4658 struct smb2_hdr *shdr; in smb2_async_readv()
4694 shdr = (struct smb2_hdr *)buf; in smb2_async_readv()
4943 struct smb2_hdr *shd in smb2_async_writev()
[all...]
H A Dsmb2proto.h28 struct smb2_hdr *shdr);
H A Dsmb2maperror.c2442 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; in map_smb2_to_linux_error()
H A Dconnect.c982 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_get_credits_from_hdr()
1228 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_add_credits_from_hdr()
H A Dmisc.c188 size_t buf_size = sizeof(struct smb2_hdr); in cifs_buf_get()
H A Dcifsglob.h974 const struct smb2_hdr *shdr) in revert_current_mid_from_hdr()
/linux/fs/smb/server/
H A Dsmb2misc.c14 static int check_smb2_hdr(struct smb2_hdr *hdr) in check_smb2_hdr()
86 struct smb2_hdr *hdr) in smb2_get_data_area_len()
210 struct smb2_hdr *hdr = &pdu->hdr; in smb2_calc_size()
302 struct smb2_hdr *hdr) in smb2_validate_credit_charge()
371 struct smb2_hdr *hdr = &pdu->hdr; in ksmbd_smb2_check_message()
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); in ksmbd_verify_smb_message() local
140 if (smb2_hdr->ProtocolId == SMB2_PROTO_NUMBER) in ksmbd_verify_smb_message()
262 __le32 proto = ((struct smb2_hdr *)smb2_get_msg(buf))->ProtocolId; in ksmbd_negotiate_smb_dialect()
H A Dconnection.c301 #define SMB2_MIN_SUPPORTED_HEADER_SIZE (sizeof(struct smb2_hdr) + 4)
399 if (((struct smb2_hdr *)smb2_get_msg(conn->request_buf))->ProtocolId == in ksmbd_conn_handler_loop()
H A Doplock.c627 struct smb2_hdr *rsp_hdr; in __smb2_oplock_break_noti()
641 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in __smb2_oplock_break_noti()
740 struct smb2_hdr *rsp_hdr; in __smb2_lease_break_noti()
748 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in __smb2_lease_break_noti()
H A Dtransport_rdma.c477 struct smb2_hdr *hdr = (struct smb2_hdr *)(recvmsg->packet in smb_direct_check_recvmsg()
H A Dauth.c939 struct smb2_hdr *rcv_hdr = smb2_get_msg(buf); in ksmbd_gen_preauth_integrity_hash()