Searched refs:CIFSMaxBufSize (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/fs/cifs/ |
D | cifsfs.c | 101 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()
|
D | smb1ops.c | 278 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()
|
D | smb2ops.c | 702 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 …]
|
D | cifssmb.c | 366 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 …]
|
D | smb2file.c | 150 CIFSMaxBufSize, NULL, NULL /* no return info */); in smb2_open_file()
|
D | transport.c | 1369 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()
|
D | xattr.c | 22 #define MAX_EA_VALUE_SIZE CIFSMaxBufSize
|
D | smb2misc.c | 190 if (len > CIFSMaxBufSize + MAX_SMB2_HDR_SIZE) { in smb2_check_message()
|
D | cifs_debug.c | 264 seq_printf(m, "CIFSMaxBufSize: %d\n", CIFSMaxBufSize); in cifs_debug_data_proc_show()
|
D | smb2pdu.c | 1178 (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()
|
D | cifsglob.h | 2021 extern unsigned int CIFSMaxBufSize; /* max size not including hdr */
|
D | sess.c | 518 CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4, in cifs_ssetup_hdr()
|
D | file.c | 4409 rsize = min_t(unsigned int, cifs_sb->ctx->rsize, CIFSMaxBufSize); in cifs_read() 4446 current_read_size, CIFSMaxBufSize); in cifs_read()
|
D | connect.c | 1049 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server) - in standard_receive3()
|
/linux-6.1.9/Documentation/admin-guide/cifs/ |
D | usage.rst | 366 can not use rsize larger than CIFSMaxBufSize. CIFSMaxBufSize 369 for cifs.ko. Setting CIFSMaxBufSize to a very large value 376 CIFSMaxBufSize, whichever is smaller)
|