Home
last modified time | relevance | path

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

/fs/cifs/
Dcifsfs.c78 unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; variable
79 module_param(CIFSMaxBufSize, uint, 0444);
80 MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header) "
1382 if (CIFSMaxBufSize < 8192) { in cifs_init_request_bufs()
1385 CIFSMaxBufSize = 8192; in cifs_init_request_bufs()
1386 } else if (CIFSMaxBufSize > 1024*127) { in cifs_init_request_bufs()
1387 CIFSMaxBufSize = 1024 * 127; in cifs_init_request_bufs()
1389 CIFSMaxBufSize &= 0x1FE00; /* Round size to even 512 byte mult*/ in cifs_init_request_bufs()
1396 CIFSMaxBufSize + max_hdr_size, 0, in cifs_init_request_bufs()
1398 CIFSMaxBufSize + max_hdr_size, in cifs_init_request_bufs()
Dsmb1ops.c271 if (total_data_size > CIFSMaxBufSize) { in check2ndT2()
273 total_data_size, CIFSMaxBufSize); in check2ndT2()
349 if (byte_count > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in coalesce_t2()
500 rsize = min_t(unsigned int, CIFSMaxBufSize, rsize); in cifs_negotiate_rsize()
Dsmb2ops.c569 CIFSMaxBufSize, (char **)&out_buf, &ret_data_len); in SMB3_request_interfaces()
1032 CIFSMaxBufSize - in smb2_query_eas()
1335 NULL, 0 /* no input */, CIFSMaxBufSize, in SMB2_request_res_key()
1464 CIFSMaxBufSize - in smb2_ioctl_query_info()
1621 sizeof(struct copychunk_ioctl), CIFSMaxBufSize, in smb2_copychunk_range()
1783 &setsparse, 1, CIFSMaxBufSize, NULL, NULL); in smb2_set_sparse()
1856 CIFSMaxBufSize, NULL, in smb2_duplicate_extents()
1891 CIFSMaxBufSize, NULL, in smb3_set_integrity()
1936 max_response_size = CIFSMaxBufSize; in smb3_enum_snapshots()
2434 (char *)dfs_req, dfs_req_size, CIFSMaxBufSize, in smb2_get_dfs_refer()
[all …]
Dcifssmb.c474 total_size >= CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) in validate_t2()
1528 CIFSMaxBufSize + MAX_HEADER_SIZE(server))); in cifs_discard_remaining_data()
1887 if ((data_length > CIFSMaxBufSize) in CIFSSMBRead()
1981 bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count); in CIFSSMBWrite()
3244 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQuerySymLink()
3338 pSMB->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in CIFSSMBQuerySymLink()
3897 pSMB->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in smb_init_nttransact()
4204 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBQFileInfo()
4371 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQFileInfo()
4563 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize & 0xFFFFFF00); in CIFSFindFirst()
[all …]
Dsmb2file.c79 CIFSMaxBufSize, NULL, NULL /* no return info */); in smb2_open_file()
Dxattr.c34 #define MAX_EA_VALUE_SIZE CIFSMaxBufSize
Dtransport.c1284 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceive()
1425 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceiveBlockingLock()
Dsmb2misc.c182 if (len > CIFSMaxBufSize + MAX_SMB2_HDR_SIZE) { in smb2_check_message()
Dcifs_debug.c245 seq_printf(m, "CIFSMaxBufSize: %d\n", CIFSMaxBufSize); in cifs_debug_data_proc_show()
Dsmb2pdu.c1091 (char *)pneg_inbuf, inbuflen, CIFSMaxBufSize, in smb3_validate_negotiate()
1113 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()
2900 2 /* in data len */, CIFSMaxBufSize /* max out data */, in SMB2_set_compression()
4210 unsigned int output_size = CIFSMaxBufSize; in SMB2_query_directory()
Dcifsglob.h1893 extern unsigned int CIFSMaxBufSize; /* max size not including hdr */
Dsess.c46 CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4, in cifs_ssetup_hdr()
Dfile.c3960 rsize = min_t(unsigned int, cifs_sb->rsize, CIFSMaxBufSize); in cifs_read()
3997 current_read_size, CIFSMaxBufSize); in cifs_read()
Dconnect.c1065 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server) - in standard_receive3()