Searched refs:smb_buf_length (Results 1 – 8 of 8) sorted by relevance
/fs/cifs/ |
D | transport.c | 279 unsigned int smb_buf_length = get_rfc1002_length(iov[0].iov_base); in smb_send_rqst() local 288 cifs_dbg(FYI, "Sending smb: smb_len=%u\n", smb_buf_length); in smb_send_rqst() 320 if ((total_len > 0) && (total_len != smb_buf_length + 4)) { in smb_send_rqst() 322 smb_buf_length + 4, total_len); in smb_send_rqst() 351 unsigned int smb_buf_length) in smb_send() argument 356 iov.iov_len = smb_buf_length + 4; in smb_send() 806 if (be32_to_cpu(in_buf->smb_buf_length) > CIFSMaxBufSize + in SendReceive() 809 be32_to_cpu(in_buf->smb_buf_length)); in SendReceive() 840 rc = smb_send(ses->server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in SendReceive() 945 if (be32_to_cpu(in_buf->smb_buf_length) > CIFSMaxBufSize + in SendReceiveBlockingLock() [all …]
|
D | misc.c | 239 buffer->smb_buf_length = cpu_to_be32( in header_assemble() 314 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB() 497 dump_smb(void *buf, int smb_buf_length) in dump_smb() argument 506 for (i = 0, j = 0; i < smb_buf_length; i++, j++) { in dump_smb()
|
D | smb1ops.c | 45 in_buf->smb_buf_length = cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2); in send_nt_cancel() 63 rc = smb_send(server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in send_nt_cancel() 351 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2() 359 target_hdr->smb_buf_length = cpu_to_be32(byte_count); in coalesce_t2()
|
D | sess.c | 632 iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in CIFS_SessSetup() 871 smb_buf->smb_buf_length = in CIFS_SessSetup() 872 cpu_to_be32(be32_to_cpu(smb_buf->smb_buf_length) + count); in CIFS_SessSetup()
|
D | cifssmb.c | 740 iov.iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4; in CIFSSMBEcho() 1620 rdata->iov.iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4; in cifs_async_readv() 1694 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBRead() 2064 iov.iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4 + 1; in cifs_async_writev() 2160 smb_hdr_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 1; in CIFSSMBWrite2() 2242 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4 - in cifs_lockv() 2401 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBPosixLock() 3705 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBGetCIFSACL()
|
D | cifsencrypt.c | 166 iov.iov_len = be32_to_cpu(cifs_pdu->smb_buf_length) + 4; in cifs_sign_smb()
|
D | connect.c | 2917 smb_buf->smb_buf_length = cpu_to_be32(0x81000044); in ip_rfc1001_connect() 3703 pSMB->hdr.smb_buf_length = cpu_to_be32(be32_to_cpu( in CIFSTCon() 3704 pSMB->hdr.smb_buf_length) + count); in CIFSTCon()
|
D | cifspdu.h | 399 __be32 smb_buf_length; /* BB length is only two (rarely three) bytes, member
|