Searched refs:smb_hdr (Results 1 – 12 of 12) sorted by relevance
/fs/cifs/ |
D | cifspdu.h | 398 struct smb_hdr { struct 432 BCC(struct smb_hdr *smb) in BCC() 442 get_bcc(struct smb_hdr *hdr) in get_bcc() 451 put_bcc(__u16 count, struct smb_hdr *hdr) in put_bcc() 502 struct smb_hdr hdr; /* wct = 0 */ 512 struct smb_hdr hdr; /* wct = 13 */ 536 struct smb_hdr hdr; /* wct = 17 */ 592 struct smb_hdr hdr; /* wct = 12 */ 611 struct smb_hdr hdr; /* wct = 13 */ 634 struct smb_hdr hdr; /* wct = 4 */ [all …]
|
D | misc.c | 145 struct smb_hdr * 148 struct smb_hdr *ret_buf = NULL; in cifs_buf_get() 149 size_t buf_size = sizeof(struct smb_hdr); in cifs_buf_get() 192 struct smb_hdr * 195 struct smb_hdr *ret_buf = NULL; in cifs_small_buf_get() 231 header_assemble(struct smb_hdr *buffer, char smb_command /* command */ , in header_assemble() 240 (2 * word_count) + sizeof(struct smb_hdr) - in header_assemble() 281 check_smb_hdr(struct smb_hdr *smb, __u16 mid) in check_smb_hdr() 312 struct smb_hdr *smb = (struct smb_hdr *)buf; in checkSMB() 320 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB() [all …]
|
D | cifssmb.c | 253 header_assemble((struct smb_hdr *) *request_buf, smb_command, in small_smb_init() 267 struct smb_hdr *buffer; in small_smb_init_no_tc() 273 buffer = (struct smb_hdr *)*request_buf; in small_smb_init_no_tc() 305 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon, in __smb_init() 425 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in CIFSSMBNegotiate() 426 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBNegotiate() 666 struct smb_hdr *smb_buffer; in CIFSSMBTDis() 861 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSPOSIXDelFile() 862 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSPOSIXDelFile() 908 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBDelFile() [all …]
|
D | transport.c | 47 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry() 350 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() 417 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, in allocate_mid() 462 struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_setup_async_request() 639 struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_setup_request() 784 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceive() 897 struct smb_hdr *in_buf, in send_lock_cancel() 898 struct smb_hdr *out_buf) in send_lock_cancel() 919 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceiveBlockingLock()
|
D | cifsproto.h | 35 extern struct smb_hdr *cifs_buf_get(void); 37 extern struct smb_hdr *cifs_small_buf_get(void); 41 extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *, 71 extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer, 81 struct smb_hdr * /* input */ , 82 struct smb_hdr * /* out */ , 97 struct smb_hdr *in_buf , 98 struct smb_hdr *out_buf, 115 extern void header_assemble(struct smb_hdr *, char /* command */ , 425 extern int cifs_sign_smb(struct smb_hdr *, struct TCP_Server_Info *, __u32 *);
|
D | smb1ops.c | 42 struct smb_hdr *in_buf = (struct smb_hdr *)buf; in send_nt_cancel() 45 in_buf->smb_buf_length = cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2); in send_nt_cancel() 99 struct smb_hdr *buf = (struct smb_hdr *)buffer; in cifs_find_mid() 244 struct smb_hdr *pSMB = (struct smb_hdr *)buf; in check2ndT2() 285 coalesce_t2(char *second_buf, struct smb_hdr *target_hdr) in coalesce_t2() 959 .header_size = sizeof(struct smb_hdr),
|
D | cifsencrypt.c | 120 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_sign_rqst() 160 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb() 179 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_verify_signature()
|
D | netmisc.c | 828 struct smb_hdr *smb = (struct smb_hdr *)buf; in map_smb_to_linux_error() 906 struct smb_hdr *ptr = (struct smb_hdr *)buf; in smbCalcSize() 907 return (sizeof(struct smb_hdr) + (2 * ptr->WordCount) + in smbCalcSize()
|
D | cifs_debug.c | 80 struct smb_hdr *smb = (struct smb_hdr *)buf; in cifs_dump_detail()
|
D | sess.c | 567 struct smb_hdr *smb_buf; in CIFS_SessSetup() 881 smb_buf = (struct smb_hdr *)iov[0].iov_base; in CIFS_SessSetup()
|
D | connect.c | 2876 struct smb_hdr *smb_buf; in ip_rfc1001_connect() 2914 smb_buf = (struct smb_hdr *)ses_init_buf; in ip_rfc1001_connect() 3615 struct smb_hdr *smb_buffer; in CIFSTCon() 3616 struct smb_hdr *smb_buffer_response; in CIFSTCon()
|
D | file.c | 1033 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks() 1367 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_unlock_range()
|