Searched refs:CIFSMaxBufSize (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/fs/smb/client/ |
D | cifsfs.c | 103 unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; variable 104 module_param(CIFSMaxBufSize, uint, 0444); 105 MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header) " 1651 if (CIFSMaxBufSize < 8192) { in cifs_init_request_bufs() 1654 CIFSMaxBufSize = 8192; in cifs_init_request_bufs() 1655 } else if (CIFSMaxBufSize > 1024*127) { in cifs_init_request_bufs() 1656 CIFSMaxBufSize = 1024 * 127; in cifs_init_request_bufs() 1658 CIFSMaxBufSize &= 0x1FE00; /* Round size to even 512 byte mult*/ in cifs_init_request_bufs() 1665 CIFSMaxBufSize + max_hdr_size, 0, in cifs_init_request_bufs() 1667 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 | cifssmb.c | 339 total_size >= CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) in validate_t2() 1482 if ((data_length > CIFSMaxBufSize) in CIFSSMBRead() 1576 bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count); in CIFSSMBWrite() 2681 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQuerySymLink() 2785 io_req->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in cifs_query_reparse_point() 3362 pSMB->MaxDataCount = cpu_to_le32(CIFSMaxBufSize & 0xFFFFFF00); in smb_init_nttransact() 3669 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBQFileInfo() 3836 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize); in CIFSSMBUnixQFileInfo() 4029 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize & 0xFFFFFF00); in CIFSFindFirst() 4049 pSMB->SearchCount = cpu_to_le16(CIFSMaxBufSize/sizeof(FILE_UNIX_INFO)); in CIFSFindFirst() [all …]
|
D | smb2ops.c | 812 CIFSMaxBufSize, (char **)&out_buf, &ret_data_len); in SMB3_request_interfaces() 1107 CIFSMaxBufSize - in smb2_query_eas() 1209 CIFSMaxBufSize - in smb2_set_ea() 1225 if (CIFSMaxBufSize - MAX_SMB2_CREATE_RESPONSE_SIZE - in smb2_set_ea() 1513 CIFSMaxBufSize, (char **)&res_key, &ret_data_len); in SMB2_request_res_key() 1654 CIFSMaxBufSize - MAX_SMB2_CREATE_RESPONSE_SIZE - in smb2_ioctl_query_info() 1836 CIFSMaxBufSize, (char **)&retbuf, &ret_data_len); in smb2_copychunk_range() 1999 &setsparse, 1, CIFSMaxBufSize, NULL, NULL); in smb2_set_sparse() 2085 CIFSMaxBufSize, NULL, in smb2_duplicate_extents() 2128 CIFSMaxBufSize, NULL, in smb3_set_integrity() [all …]
|
D | smb2file.c | 151 CIFSMaxBufSize, NULL, NULL /* no return info */); in smb2_open_file()
|
D | xattr.c | 22 #define MAX_EA_VALUE_SIZE CIFSMaxBufSize
|
D | transport.c | 1391 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceive() 1535 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in SendReceiveBlockingLock() 1673 CIFSMaxBufSize + MAX_HEADER_SIZE(server))); in cifs_discard_remaining_data()
|
D | smb2inode.c | 538 NULL, 0, CIFSMaxBufSize); in smb2_compound_op() 543 NULL, 0, CIFSMaxBufSize); in smb2_compound_op()
|
D | smb2misc.c | 205 if (len > CIFSMaxBufSize + MAX_SMB2_HDR_SIZE) { in smb2_check_message()
|
D | smb2pdu.c | 1369 (char *)pneg_inbuf, inbuflen, CIFSMaxBufSize, in smb3_validate_negotiate() 1392 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate() 3565 2 /* in data len */, CIFSMaxBufSize /* max out data */, in SMB2_set_compression() 3774 len > CIFSMaxBufSize)) in SMB2_query_info_init() 5346 unsigned int output_size = CIFSMaxBufSize - in SMB2_query_directory_init()
|
D | cifs_debug.c | 357 seq_printf(m, "CIFSMaxBufSize: %d\n", CIFSMaxBufSize); in cifs_debug_data_proc_show()
|
D | cifsglob.h | 2055 extern unsigned int CIFSMaxBufSize; /* max size not including hdr */
|
D | cifsacl.c | 1779 if (posix_acl_xattr_size(acl->a_count) > CIFSMaxBufSize) { in cifs_set_acl()
|
D | sess.c | 647 CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4, in cifs_ssetup_hdr()
|
D | connect.c | 1057 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server) - in standard_receive3()
|
/linux-6.12.1/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)
|