Home
last modified time | relevance | path

Searched refs:CIFSMaxBufSize (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/fs/smb/client/
Dcifsfs.c103 unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; variable
104 module_param(CIFSMaxBufSize, uint, 0444);
105 MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header) "
1651 if (CIFSMaxBufSize < 8192) { in cifs_init_request_bufs()
1654 CIFSMaxBufSize = 8192; in cifs_init_request_bufs()
1655 } else if (CIFSMaxBufSize > 1024*127) { in cifs_init_request_bufs()
1656 CIFSMaxBufSize = 1024 * 127; in cifs_init_request_bufs()
1658 CIFSMaxBufSize &= 0x1FE00; /* Round size to even 512 byte mult*/ in cifs_init_request_bufs()
1665 CIFSMaxBufSize + max_hdr_size, 0, in cifs_init_request_bufs()
1667 CIFSMaxBufSize + max_hdr_size, in cifs_init_request_bufs()
Dsmb1ops.c278 if (total_data_size > CIFSMaxBufSize) { in check2ndT2()
280 total_data_size, CIFSMaxBufSize); in check2ndT2()
356 if (byte_count > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in coalesce_t2()
507 rsize = min_t(unsigned int, CIFSMaxBufSize, rsize); in cifs_negotiate_rsize()
Dcifssmb.c339 total_size >= CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) in validate_t2()
1482 if ((data_length > CIFSMaxBufSize) in CIFSSMBRead()
1576 bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count); in CIFSSMBWrite()
2681 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQuerySymLink()
2785 io_req->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in cifs_query_reparse_point()
3362 pSMB->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in smb_init_nttransact()
3669 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBQFileInfo()
3836 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQFileInfo()
4029 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize & 0xFFFFFF00); in CIFSFindFirst()
4049 pSMB->SearchCount = cpu_to_le16(CIFSMaxBufSize/sizeof(FILE_UNIX_INFO)); in CIFSFindFirst()
[all …]
Dsmb2ops.c812 CIFSMaxBufSize, (char **)&out_buf, &ret_data_len); in SMB3_request_interfaces()
1107 CIFSMaxBufSize - in smb2_query_eas()
1209 CIFSMaxBufSize - in smb2_set_ea()
1225 if (CIFSMaxBufSize - MAX_SMB2_CREATE_RESPONSE_SIZE - in smb2_set_ea()
1513 CIFSMaxBufSize, (char **)&res_key, &ret_data_len); in SMB2_request_res_key()
1654 CIFSMaxBufSize - MAX_SMB2_CREATE_RESPONSE_SIZE - in smb2_ioctl_query_info()
1836 CIFSMaxBufSize, (char **)&retbuf, &ret_data_len); in smb2_copychunk_range()
1999 &setsparse, 1, CIFSMaxBufSize, NULL, NULL); in smb2_set_sparse()
2085 CIFSMaxBufSize, NULL, in smb2_duplicate_extents()
2128 CIFSMaxBufSize, NULL, in smb3_set_integrity()
[all …]
Dsmb2file.c151 CIFSMaxBufSize, NULL, NULL /* no return info */); in smb2_open_file()
Dxattr.c22 #define MAX_EA_VALUE_SIZE CIFSMaxBufSize
Dtransport.c1391 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceive()
1535 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceiveBlockingLock()
1673 CIFSMaxBufSize + MAX_HEADER_SIZE(server))); in cifs_discard_remaining_data()
Dsmb2inode.c538 NULL, 0, CIFSMaxBufSize); in smb2_compound_op()
543 NULL, 0, CIFSMaxBufSize); in smb2_compound_op()
Dsmb2misc.c205 if (len > CIFSMaxBufSize + MAX_SMB2_HDR_SIZE) { in smb2_check_message()
Dsmb2pdu.c1369 (char *)pneg_inbuf, inbuflen, CIFSMaxBufSize, in smb3_validate_negotiate()
1392 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()
3565 2 /* in data len */, CIFSMaxBufSize /* max out data */, in SMB2_set_compression()
3774 len > CIFSMaxBufSize)) in SMB2_query_info_init()
5346 unsigned int output_size = CIFSMaxBufSize - in SMB2_query_directory_init()
Dcifs_debug.c357 seq_printf(m, "CIFSMaxBufSize: %d\n", CIFSMaxBufSize); in cifs_debug_data_proc_show()
Dcifsglob.h2055 extern unsigned int CIFSMaxBufSize; /* max size not including hdr */
Dcifsacl.c1779 if (posix_acl_xattr_size(acl->a_count) > CIFSMaxBufSize) { in cifs_set_acl()
Dsess.c647 CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4, in cifs_ssetup_hdr()
Dconnect.c1057 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server) - in standard_receive3()
/linux-6.12.1/Documentation/admin-guide/cifs/
Dusage.rst366 can not use rsize larger than CIFSMaxBufSize. CIFSMaxBufSize
369 for cifs.ko. Setting CIFSMaxBufSize to a very large value
376 CIFSMaxBufSize, whichever is smaller)