Home
last modified time | relevance | path

Searched refs:SMB2_MAX_BUFFER_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/ksmbd/
Dsmb2misc.c321 calc_credit_num = DIV_ROUND_UP(max_len, SMB2_MAX_BUFFER_SIZE); in smb2_validate_credit_charge()
/linux-6.1.9/fs/cifs/
Dsmb2ops.c233 *num = SMB2_MAX_BUFFER_SIZE; in smb2_wait_mtu_credits()
242 scredits * SMB2_MAX_BUFFER_SIZE); in smb2_wait_mtu_credits()
245 DIV_ROUND_UP(*num, SMB2_MAX_BUFFER_SIZE); in smb2_wait_mtu_credits()
271 int new_val = DIV_ROUND_UP(payload_size, SMB2_MAX_BUFFER_SIZE); in smb2_adjust_credits()
427 wsize = min_t(unsigned int, wsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_wsize()
459 wsize = min_t(unsigned int, wsize, SMB2_MAX_BUFFER_SIZE); in smb3_negotiate_wsize()
475 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_rsize()
508 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb3_negotiate_rsize()
3447 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3448 io_parms.length = SMB2_MAX_BUFFER_SIZE; in smb3_simple_fallocate_write_range()
[all …]
Dsmb2pdu.c1038 SMB2_MAX_BUFFER_SIZE); in SMB2_negotiate()
3145 SMB2_MAX_BUFFER_SIZE)); in SMB2_ioctl_init()
3664 SMB2_MAX_BUFFER_SIZE, MIN_SEC_DESC_LEN, data, plen); in SMB2_query_acl()
3703 cpu_to_le32(SMB2_MAX_BUFFER_SIZE - MAX_SMB2_HDR_SIZE); in SMB2_notify_init()
4289 SMB2_MAX_BUFFER_SIZE)); in smb2_async_readv()
4596 SMB2_MAX_BUFFER_SIZE)); in smb2_async_writev()
/linux-6.1.9/fs/smbfs_common/
Dsmb2pdu.h87 #define SMB2_MAX_BUFFER_SIZE 65536 macro