Searched refs:smb_buf_length (Results 1 – 10 of 10) sorted by relevance
261 int smb_buf_length = get_rfc1002_len(buf); in ksmbd_negotiate_smb_dialect() local270 if (smb2_neg_size > smb_buf_length) in ksmbd_negotiate_smb_dialect()274 smb_buf_length) in ksmbd_negotiate_smb_dialect()290 le16_to_cpu(req->ByteCount) > smb_buf_length) { in ksmbd_negotiate_smb_dialect()
171 __be32 smb_buf_length; member
267 buffer->smb_buf_length = cpu_to_be32( in header_assemble()335 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB()437 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()534 dump_smb(void *buf, int smb_buf_length) in dump_smb() argument540 smb_buf_length, true); in dump_smb()
36 in_buf->smb_buf_length = cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2); in send_nt_cancel()54 rc = smb_send(server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in send_nt_cancel()353 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2()361 target_hdr->smb_buf_length = cpu_to_be32(byte_count); in coalesce_t2()
475 unsigned int smb_buf_length) in smb_send() argument484 iov[1].iov_len = smb_buf_length; in smb_send()1364 unsigned int len = be32_to_cpu(in_buf->smb_buf_length); in SendReceive()1506 unsigned int len = be32_to_cpu(in_buf->smb_buf_length); in SendReceiveBlockingLock()
202 iov[1].iov_len = be32_to_cpu(cifs_pdu->smb_buf_length); in cifs_sign_smb()
1329 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()1407 be32_add_cpu(&smb_buf->smb_buf_length, count); in sess_sendreceive()
1467 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBRead()1842 smb_hdr_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 1; in CIFSSMBWrite2()1922 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4 - in cifs_lockv()2083 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBPosixLock()3202 parm_data = ((char *)pSMB) + sizeof(pSMB->hdr.smb_buf_length) + offset; in cifs_do_set_acl()3457 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBGetCIFSACL()
381 __be32 smb_buf_length; /* BB length is only two (rarely three) bytes, member
3027 smb_buf->smb_buf_length = cpu_to_be32((RFC1002_SESSION_REQUEST << 24) | len); in ip_rfc1001_connect()3777 be32_add_cpu(&pSMB->hdr.smb_buf_length, count); in CIFSTCon()