Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dsmb1transport.c251 if (in_len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) { in SendReceive()
314 if (total_data_size > CIFSMaxBufSize) { in check2ndT2()
316 total_data_size, CIFSMaxBufSize); in check2ndT2()
392 if (byte_count > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) { in coalesce_t2()
H A Dcifsfs.c102 unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; variable
103 module_param(CIFSMaxBufSize, uint, 0444);
104 MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header) "
1730 if (CIFSMaxBufSize < 8192) { in cifs_init_request_bufs()
1733 CIFSMaxBufSize = 8192; in cifs_init_request_bufs()
1734 } else if (CIFSMaxBufSize > 1024*127) { in cifs_init_request_bufs()
1735 CIFSMaxBufSize = 1024 * 127; in cifs_init_request_bufs()
1737 CIFSMaxBufSize &= 0x1FE00; /* Round size to even 512 byte mult*/ in cifs_init_request_bufs()
1744 CIFSMaxBufSize + max_hdr_size, 0, in cifs_init_request_bufs()
1746 CIFSMaxBufSize + max_hdr_size, in cifs_init_request_bufs()
H A Dsmb2ops.c853 CIFSMaxBufSize, (char **)&out_buf, &ret_data_len); in SMB3_request_interfaces()
1147 CIFSMaxBufSize - in smb2_query_eas()
1250 CIFSMaxBufSize - in smb2_set_ea()
1266 if (CIFSMaxBufSize - MAX_SMB2_CREATE_RESPONSE_SIZE - in smb2_set_ea()
1555 CIFSMaxBufSize, (char **)&res_key, &ret_data_len); in SMB2_request_res_key()
1697 CIFSMaxBufSize - MAX_SMB2_CREATE_RESPONSE_SIZE - in smb2_ioctl_query_info()
1973 CIFSMaxBufSize, (char **)&cc_rsp, &ret_data_len); in smb2_copychunk_range()
2150 &setsparse, 1, CIFSMaxBufSize, NULL, NULL); in smb2_set_sparse()
2228 CIFSMaxBufSize, NULL, in smb2_duplicate_extents()
2271 CIFSMaxBufSize, NULL, in smb3_set_integrity()
[all …]
H A Dsmb2file.c227 CIFSMaxBufSize, NULL, NULL /* no return info */); in smb2_open_file()
H A Dxattr.c21 #define MAX_EA_VALUE_SIZE CIFSMaxBufSize
H A Dsmb2misc.c207 if (len > CIFSMaxBufSize + MAX_SMB2_HDR_SIZE) { in smb2_check_message()
H A Dsmb1session.c52 CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4, in cifs_ssetup_hdr()
H A Dsmb2pdu.c1411 (char *)pneg_inbuf, inbuflen, CIFSMaxBufSize, in smb3_validate_negotiate()
1433 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) { in smb3_validate_negotiate()
3641 2 /* in data len */, CIFSMaxBufSize /* max out data */, in SMB2_set_compression()
3854 len > CIFSMaxBufSize)) in SMB2_query_info_init()
5522 unsigned int output_size = CIFSMaxBufSize - in SMB2_query_directory_init()
H A Dtransport.c1126 CIFSMaxBufSize + MAX_HEADER_SIZE(server))); in cifs_discard_remaining_data()
H A Dsmb1ops.c488 rsize = min_t(unsigned int, CIFSMaxBufSize, rsize); in smb1_negotiate_rsize()
H A Dcifsglob.h2120 extern unsigned int CIFSMaxBufSize; /* max size not including hdr */
H A Dcifsacl.c1891 if (posix_acl_xattr_size(acl->a_count) > CIFSMaxBufSize) { in cifs_set_acl()
H A Dsmb2inode.c480 NULL, 0, CIFSMaxBufSize); in smb2_compound_op()
H A Dconnect.c1160 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server)) { in standard_receive3()
/linux/Documentation/admin-guide/cifs/
H A Dusage.rst368 can not use rsize larger than CIFSMaxBufSize. CIFSMaxBufSize
371 for cifs.ko. Setting CIFSMaxBufSize to a very large value
378 CIFSMaxBufSize, whichever is smaller)