Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dsmb2pdu.h101 struct smb2_hdr { struct
121 struct smb2_hdr hdr; argument
160 struct smb2_hdr hdr;
184 struct smb2_hdr hdr;
248 struct smb2_hdr hdr;
271 struct smb2_hdr hdr;
288 struct smb2_hdr hdr;
297 struct smb2_hdr hdr;
303 struct smb2_hdr hdr;
312 struct smb2_hdr hdr;
[all …]
Dsmb2transport.c118 smb2_find_smb_ses(struct smb2_hdr *smb2hdr, struct TCP_Server_Info *server) in smb2_find_smb_ses()
143 struct smb2_hdr *smb2_pdu = (struct smb2_hdr *)iov[0].iov_base; in smb2_calc_signature()
314 struct smb2_hdr *smb2_pdu = (struct smb2_hdr *)iov[0].iov_base; in smb3_calc_signature()
401 struct smb2_hdr *smb2_pdu = rqst->rq_iov[0].iov_base; in smb2_sign_rqst()
422 struct smb2_hdr *smb2_pdu = (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_verify_signature()
467 smb2_seq_num_into_buf(struct TCP_Server_Info *server, struct smb2_hdr *hdr) in smb2_seq_num_into_buf()
478 smb2_mid_entry_alloc(const struct smb2_hdr *smb_buffer, in smb2_mid_entry_alloc()
513 smb2_get_mid_entry(struct cifs_ses *ses, struct smb2_hdr *buf, in smb2_get_mid_entry()
576 struct smb2_hdr *hdr = (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_setup_request()
596 struct smb2_hdr *hdr = (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_setup_async_request()
Dsmb2misc.c33 check_smb2_hdr(struct smb2_hdr *hdr, __u64 mid) in check_smb2_hdr()
98 struct smb2_hdr *hdr = (struct smb2_hdr *)buf; in smb2_check_message()
115 if ((length >= sizeof(struct smb2_hdr)) && (hdr->Status != 0)) { in smb2_check_message()
238 smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *hdr) in smb2_get_data_area_len()
337 struct smb2_hdr *hdr = (struct smb2_hdr *)buf; in smb2_calc_size()
Dsmb2ops.c117 return le16_to_cpu(((struct smb2_hdr *)mid->resp_buf)->CreditRequest); in smb2_get_credits()
182 struct smb2_hdr *hdr = (struct smb2_hdr *)buf; in smb2_find_mid()
202 struct smb2_hdr *smb = (struct smb2_hdr *)buf; in smb2_dump_detail()
951 struct smb2_hdr *hdr = (struct smb2_hdr *)buf; in smb2_is_status_pending()
1806 .header_size = sizeof(struct smb2_hdr),
1826 .header_size = sizeof(struct smb2_hdr),
1846 .header_size = sizeof(struct smb2_hdr),
1866 .header_size = sizeof(struct smb2_hdr),
1887 .header_size = sizeof(struct smb2_hdr),
Dsmb2pdu.c82 smb2_hdr_assemble(struct smb2_hdr *hdr, __le16 smb2_cmd /* command */ , in smb2_hdr_assemble()
97 hdr->smb2_buf_length = cpu_to_be32(parmsize + sizeof(struct smb2_hdr) in smb2_hdr_assemble()
295 smb2_hdr_assemble((struct smb2_hdr *) *request_buf, smb2_command, tcon); in small_smb2_init()
1659 struct smb2_hdr *hdr, unsigned int min_buf_size) in validate_buf()
1695 struct smb2_hdr *hdr, unsigned int minbufsize, in validate_and_copy_buf()
1944 struct smb2_hdr *buf = (struct smb2_hdr *)rdata->iov.iov_base; in smb2_readv_callback()
2003 struct smb2_hdr *buf; in smb2_async_readv()
2034 buf = (struct smb2_hdr *)rdata->iov.iov_base; in smb2_async_readv()
Dsmb2proto.h39 extern char *smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *hdr);
Dmisc.c157 buf_size = sizeof(struct smb2_hdr); in cifs_buf_get()
Dsmb2maperror.c2452 struct smb2_hdr *hdr = (struct smb2_hdr *)buf; in map_smb2_to_linux_error()