Searched refs:SMB2_MAX_BUFFER_SIZE (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/fs/cifs/ |
| D | smb2glob.h | 55 #define SMB2_MAX_BUFFER_SIZE 65536 macro
|
| D | smb2ops.c | 219 *num = SMB2_MAX_BUFFER_SIZE; in smb2_wait_mtu_credits() 228 scredits * SMB2_MAX_BUFFER_SIZE); in smb2_wait_mtu_credits() 231 DIV_ROUND_UP(*num, SMB2_MAX_BUFFER_SIZE); in smb2_wait_mtu_credits() 257 int new_val = DIV_ROUND_UP(payload_size, SMB2_MAX_BUFFER_SIZE); in smb2_adjust_credits() 411 wsize = min_t(unsigned int, wsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_wsize() 443 wsize = min_t(unsigned int, wsize, SMB2_MAX_BUFFER_SIZE); in smb3_negotiate_wsize() 459 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_rsize() 492 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb3_negotiate_rsize() 3641 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range() 3642 io_parms.length = SMB2_MAX_BUFFER_SIZE; in smb3_simple_fallocate_write_range() [all …]
|
| D | smb2pdu.c | 1002 SMB2_MAX_BUFFER_SIZE); in SMB2_negotiate() 3057 SMB2_MAX_BUFFER_SIZE)); in SMB2_ioctl_init() 3568 SMB2_MAX_BUFFER_SIZE, MIN_SEC_DESC_LEN, data, plen); in SMB2_query_acl() 3607 cpu_to_le32(SMB2_MAX_BUFFER_SIZE - MAX_SMB2_HDR_SIZE); in SMB2_notify_init() 4112 SMB2_MAX_BUFFER_SIZE)); in smb2_async_readv() 4418 SMB2_MAX_BUFFER_SIZE)); in smb2_async_writev()
|
| /Linux-v5.15/fs/ksmbd/ |
| D | smb2misc.c | 324 calc_credit_num = DIV_ROUND_UP(max_len, SMB2_MAX_BUFFER_SIZE); in smb2_validate_credit_charge()
|
| D | smb2pdu.h | 103 #define SMB2_MAX_BUFFER_SIZE 65536 macro
|