Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dcifsfs.c101 unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; variable
102 module_param(CIFSMaxBufSize, uint, 0444);
103 MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header) "
1521 if (CIFSMaxBufSize < 8192) { in cifs_init_request_bufs()
1524 CIFSMaxBufSize = 8192; in cifs_init_request_bufs()
1525 } else if (CIFSMaxBufSize > 1024*127) { in cifs_init_request_bufs()
1526 CIFSMaxBufSize = 1024 * 127; in cifs_init_request_bufs()
1528 CIFSMaxBufSize &= 0x1FE00; /* Round size to even 512 byte mult*/ in cifs_init_request_bufs()
1535 CIFSMaxBufSize + max_hdr_size, 0, in cifs_init_request_bufs()
1537 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()
Dsmb2ops.c702 CIFSMaxBufSize, (char **)&out_buf, &ret_data_len); in SMB3_request_interfaces()
978 CIFSMaxBufSize - in smb2_query_eas()
1070 CIFSMaxBufSize - in smb2_set_ea()
1086 if(CIFSMaxBufSize - MAX_SMB2_CREATE_RESPONSE_SIZE - in smb2_set_ea()
1359 CIFSMaxBufSize, (char **)&res_key, &ret_data_len); in SMB2_request_res_key()
1502 CIFSMaxBufSize - MAX_SMB2_CREATE_RESPONSE_SIZE - in smb2_ioctl_query_info()
1669 CIFSMaxBufSize, (char **)&retbuf, &ret_data_len); in smb2_copychunk_range()
1829 &setsparse, 1, CIFSMaxBufSize, NULL, NULL); in smb2_set_sparse()
1913 CIFSMaxBufSize, NULL, in smb2_duplicate_extents()
1947 CIFSMaxBufSize, NULL, in smb3_set_integrity()
[all …]
Dcifssmb.c366 total_size >= CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) in validate_t2()
1485 if ((data_length > CIFSMaxBufSize) in CIFSSMBRead()
1579 bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count); in CIFSSMBWrite()
2671 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQuerySymLink()
2765 pSMB->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in CIFSSMBQuerySymLink()
3323 pSMB->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in smb_init_nttransact()
3630 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBQFileInfo()
3797 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQFileInfo()
3989 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize & 0xFFFFFF00); in CIFSFindFirst()
4009 pSMB->SearchCount = cpu_to_le16(CIFSMaxBufSize/sizeof(FILE_UNIX_INFO)); in CIFSFindFirst()
[all …]
Dsmb2file.c150 CIFSMaxBufSize, NULL, NULL /* no return info */); in smb2_open_file()
Dtransport.c1369 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceive()
1514 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceiveBlockingLock()
1651 CIFSMaxBufSize + MAX_HEADER_SIZE(server))); in cifs_discard_remaining_data()
Dxattr.c22 #define MAX_EA_VALUE_SIZE CIFSMaxBufSize
Dsmb2misc.c190 if (len > CIFSMaxBufSize + MAX_SMB2_HDR_SIZE) { in smb2_check_message()
Dcifs_debug.c264 seq_printf(m, "CIFSMaxBufSize: %d\n", CIFSMaxBufSize); in cifs_debug_data_proc_show()
Dsmb2pdu.c1178 (char *)pneg_inbuf, inbuflen, CIFSMaxBufSize, in smb3_validate_negotiate()
1201 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()
3312 2 /* in data len */, CIFSMaxBufSize /* max out data */, in SMB2_set_compression()
4872 unsigned int output_size = CIFSMaxBufSize - in SMB2_query_directory_init()
Dcifsglob.h2021 extern unsigned int CIFSMaxBufSize; /* max size not including hdr */
Dsess.c518 CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4, in cifs_ssetup_hdr()
Dfile.c4409 rsize = min_t(unsigned int, cifs_sb->ctx->rsize, CIFSMaxBufSize); in cifs_read()
4446 current_read_size, CIFSMaxBufSize); in cifs_read()
Dconnect.c1049 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server) - in standard_receive3()
/linux-6.1.9/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)