Home
last modified time | relevance | path

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

/linux-4.19.296/fs/cifs/
Dcifsfs.c66 unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; variable
67 module_param(CIFSMaxBufSize, uint, 0444);
68 MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header) "
1292 if (CIFSMaxBufSize < 8192) { in cifs_init_request_bufs()
1295 CIFSMaxBufSize = 8192; in cifs_init_request_bufs()
1296 } else if (CIFSMaxBufSize > 1024*127) { in cifs_init_request_bufs()
1297 CIFSMaxBufSize = 1024 * 127; in cifs_init_request_bufs()
1299 CIFSMaxBufSize &= 0x1FE00; /* Round size to even 512 byte mult*/ in cifs_init_request_bufs()
1306 CIFSMaxBufSize + max_hdr_size, 0, in cifs_init_request_bufs()
1308 CIFSMaxBufSize + max_hdr_size, in cifs_init_request_bufs()
Dsmb1ops.c283 if (total_data_size > CIFSMaxBufSize) { in check2ndT2()
285 total_data_size, CIFSMaxBufSize); in check2ndT2()
361 if (byte_count > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in coalesce_t2()
510 rsize = min_t(unsigned int, CIFSMaxBufSize, rsize); in cifs_negotiate_rsize()
Dcifssmb.c383 total_size >= CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) in validate_t2()
1450 CIFSMaxBufSize + MAX_HEADER_SIZE(server))); in cifs_discard_remaining_data()
1807 if ((data_length > CIFSMaxBufSize) in CIFSSMBRead()
1901 bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count); in CIFSSMBWrite()
3184 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQuerySymLink()
3278 pSMB->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in CIFSSMBQuerySymLink()
3850 pSMB->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in smb_init_nttransact()
4160 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBQFileInfo()
4329 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQFileInfo()
4524 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize & 0xFFFFFF00); in CIFSFindFirst()
[all …]
Dxattr.c34 #define MAX_EA_VALUE_SIZE CIFSMaxBufSize
Dtransport.c1065 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceive()
1206 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceiveBlockingLock()
Dsmb2misc.c182 if (len > CIFSMaxBufSize + MAX_SMB2_HDR_SIZE) { in smb2_check_message()
Dcifsglob.h1783 extern unsigned int CIFSMaxBufSize; /* max size not including hdr */
Dsess.c46 CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4, in cifs_ssetup_hdr()
Dsmb2pdu.c941 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()
2462 req->MaxOutputResponse = cpu_to_le32(CIFSMaxBufSize); in SMB2_ioctl()
3748 unsigned int output_size = CIFSMaxBufSize; in SMB2_query_directory()
Dfile.c3502 rsize = min_t(unsigned int, cifs_sb->rsize, CIFSMaxBufSize); in cifs_read()
3539 current_read_size, CIFSMaxBufSize); in cifs_read()
Dconnect.c869 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server) - in standard_receive3()
Dsmb2ops.c3334 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server)) { in smb3_receive_transform()