Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/server/ !
Dsmb_common.c261 int smb_buf_length = get_rfc1002_len(buf); in ksmbd_negotiate_smb_dialect() local
270 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()
Dsmb_common.h171 __be32 smb_buf_length; member
/linux-6.6.21/fs/smb/client/ !
Dmisc.c264 buffer->smb_buf_length = cpu_to_be32( in header_assemble()
332 __u32 rfclen = be32_to_cpu(smb->smb_buf_length); in checkSMB()
434 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
529 dump_smb(void *buf, int smb_buf_length) in dump_smb() argument
535 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.c471 unsigned int smb_buf_length) in smb_send() argument
480 iov[1].iov_len = smb_buf_length; in smb_send()
1355 unsigned int len = be32_to_cpu(in_buf->smb_buf_length); in SendReceive()
1497 unsigned int len = be32_to_cpu(in_buf->smb_buf_length); in SendReceiveBlockingLock()
Dcifsencrypt.c316 iov[1].iov_len = be32_to_cpu(cifs_pdu->smb_buf_length); in cifs_sign_smb()
Dsess.c1363 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
1441 be32_add_cpu(&smb_buf->smb_buf_length, count); in sess_sendreceive()
Dcifssmb.c1440 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBRead()
1800 smb_hdr_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 1; in CIFSSMBWrite2()
1880 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4 - in cifs_lockv()
2041 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBPosixLock()
3150 parm_data = ((char *)pSMB) + sizeof(pSMB->hdr.smb_buf_length) + offset; in cifs_do_set_acl()
3405 iov[0].iov_len = be32_to_cpu(pSMB->hdr.smb_buf_length) + 4; in CIFSSMBGetCIFSACL()
Dconnect.c3001 smb_buf->smb_buf_length = cpu_to_be32((RFC1002_SESSION_REQUEST << 24) | len); in ip_rfc1001_connect()
3729 be32_add_cpu(&pSMB->hdr.smb_buf_length, count); in CIFSTCon()
Dcifspdu.h381 __be32 smb_buf_length; /* BB length is only two (rarely three) bytes, member