Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dsmb_common.c245 int smb_buf_length = get_rfc1002_len(buf); in ksmbd_negotiate_smb_dialect() local
254 if (smb2_neg_size > smb_buf_length) in ksmbd_negotiate_smb_dialect()
258 smb_buf_length) in ksmbd_negotiate_smb_dialect()
274 le16_to_cpu(req->ByteCount) > smb_buf_length) { in ksmbd_negotiate_smb_dialect()
Dsmb_common.h164 __be32 smb_buf_length; member
/linux-6.1.9/fs/cifs/
Dmisc.c250 buffer->smb_buf_length = cpu_to_be32( in header_assemble()
318 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB()
416 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
511 dump_smb(void *buf, int smb_buf_length) in dump_smb() argument
517 smb_buf_length, true); in dump_smb()
Dsmb1ops.c36 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()
Dtransport.c487 unsigned int smb_buf_length) in smb_send() argument
496 iov[1].iov_len = smb_buf_length; in smb_send()
1342 unsigned int len = be32_to_cpu(in_buf->smb_buf_length); in SendReceive()
1485 unsigned int len = be32_to_cpu(in_buf->smb_buf_length); in SendReceiveBlockingLock()
Dcifsencrypt.c188 iov[1].iov_len = be32_to_cpu(cifs_pdu->smb_buf_length); in cifs_sign_smb()
Dsess.c1187 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
1265 be32_add_cpu(&smb_buf->smb_buf_length, count); in sess_sendreceive()
Dcifssmb.c1470 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBRead()
1833 smb_hdr_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 1; in CIFSSMBWrite2()
1913 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4 - in cifs_lockv()
2074 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBPosixLock()
3418 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBGetCIFSACL()
Dcifspdu.h381 __be32 smb_buf_length; /* BB length is only two (rarely three) bytes, member
Dconnect.c2892 smb_buf->smb_buf_length = in ip_rfc1001_connect()
3967 be32_add_cpu(&pSMB->hdr.smb_buf_length, count); in CIFSTCon()