Lines Matching refs:smb_buf_length
133 unsigned int smb_buf_length = get_rfc1002_length(iov[0].iov_base); in smb_sendv() local
223 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() argument
251 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()
844 if (be32_to_cpu(in_buf->smb_buf_length) > CIFSMaxBufSize + in SendReceiveBlockingLock()
847 be32_to_cpu(in_buf->smb_buf_length)); in SendReceiveBlockingLock()
876 rc = smb_send(ses->server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in SendReceiveBlockingLock()