Searched refs:smb_buf_length (Results 1 – 7 of 7) sorted by relevance
133 unsigned int smb_buf_length = get_rfc1002_length(iov[0].iov_base); in smb_sendv() local223 if ((total_len > 0) && (total_len != smb_buf_length + 4)) { in smb_sendv()239 *buf_len = cpu_to_be32(smb_buf_length); in smb_sendv()246 unsigned int smb_buf_length) in smb_send() argument251 iov.iov_len = smb_buf_length + 4; in smb_send()503 in_buf->smb_buf_length = cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2); in send_nt_cancel()514 rc = smb_send(server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in send_nt_cancel()709 if (be32_to_cpu(in_buf->smb_buf_length) > CIFSMaxBufSize + in SendReceive()712 be32_to_cpu(in_buf->smb_buf_length)); in SendReceive()743 rc = smb_send(ses->server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in SendReceive()[all …]
315 buffer->smb_buf_length = cpu_to_be32( in header_assemble()435 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB()618 dump_smb(void *buf, int smb_buf_length) in dump_smb() argument627 for (i = 0, j = 0; i < smb_buf_length; i++, j++) { in dump_smb()
629 iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in CIFS_SessSetup()867 smb_buf->smb_buf_length = in CIFS_SessSetup()868 cpu_to_be32(be32_to_cpu(smb_buf->smb_buf_length) + count); in CIFS_SessSetup()
497 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2()504 target_hdr->smb_buf_length = cpu_to_be32(byte_count); in coalesce_t2()3000 smb_buf->smb_buf_length = cpu_to_be32(0x81000044); in ip_rfc1001_connect()3952 pSMB->hdr.smb_buf_length = cpu_to_be32(be32_to_cpu( in CIFSTCon()3953 pSMB->hdr.smb_buf_length) + count); in CIFSTCon()
398 be32_add_cpu(&hdr->smb_buf_length, count); in inc_rfc1001_len()774 iov.iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4; in CIFSSMBEcho()1773 rdata->iov[0].iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4; in cifs_async_readv()1845 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBRead()2216 iov[0].iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4 + 1; in cifs_async_writev()2320 smb_hdr_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 1; in CIFSSMBWrite2()2402 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4 - in cifs_lockv()2561 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBPosixLock()3853 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBGetCIFSACL()
144 iov.iov_len = be32_to_cpu(cifs_pdu->smb_buf_length) + 4; in cifs_sign_smb()
400 __be32 smb_buf_length; /* BB length is only two (rarely three) bytes, member