Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dtransport.c299 unsigned int smb_buf_length = get_rfc1002_length(iov[0].iov_base); in smb_send_rqst() local
311 if (send_length != smb_buf_length + 4) { in smb_send_rqst()
313 send_length, smb_buf_length); in smb_send_rqst()
317 cifs_dbg(FYI, "Sending smb: smb_len=%u\n", smb_buf_length); in smb_send_rqst()
349 if ((total_len > 0) && (total_len != smb_buf_length + 4)) { in smb_send_rqst()
351 smb_buf_length + 4, total_len); in smb_send_rqst()
380 unsigned int smb_buf_length) in smb_send() argument
385 iov.iov_len = smb_buf_length + 4; in smb_send()
862 if (be32_to_cpu(in_buf->smb_buf_length) > CIFSMaxBufSize + in SendReceive()
865 be32_to_cpu(in_buf->smb_buf_length)); in SendReceive()
[all …]
Dmisc.c249 buffer->smb_buf_length = cpu_to_be32( in header_assemble()
316 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB()
514 dump_smb(void *buf, int smb_buf_length) in dump_smb() argument
520 smb_buf_length, true); in dump_smb()
Dsmb1ops.c46 in_buf->smb_buf_length = cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2); in send_nt_cancel()
64 rc = smb_send(server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in send_nt_cancel()
352 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2()
360 target_hdr->smb_buf_length = cpu_to_be32(byte_count); in coalesce_t2()
Dsess.c564 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
637 smb_buf->smb_buf_length = in sess_sendreceive()
638 cpu_to_be32(be32_to_cpu(smb_buf->smb_buf_length) + count); in sess_sendreceive()
Dcifssmb.c728 iov.iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4; in CIFSSMBEcho()
1648 rdata->iov.iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4; in cifs_async_readv()
1722 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBRead()
2139 iov.iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4 + 1; in cifs_async_writev()
2235 smb_hdr_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 1; in CIFSSMBWrite2()
2314 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4 - in cifs_lockv()
2473 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBPosixLock()
3851 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBGetCIFSACL()
Dcifsencrypt.c203 iov.iov_len = be32_to_cpu(cifs_pdu->smb_buf_length) + 4; in cifs_sign_smb()
Dconnect.c3016 smb_buf->smb_buf_length = cpu_to_be32(0x81000044); in ip_rfc1001_connect()
3829 pSMB->hdr.smb_buf_length = cpu_to_be32(be32_to_cpu( in CIFSTCon()
3830 pSMB->hdr.smb_buf_length) + count); in CIFSTCon()
Dcifspdu.h404 __be32 smb_buf_length; /* BB length is only two (rarely three) bytes, member