Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H A Dsmb2misc.c338 calc_credit_num = DIV_ROUND_UP(max_len, SMB2_MAX_BUFFER_SIZE); in smb2_validate_credit_charge()
/openbmc/linux/fs/smb/client/
H A Dsmb2ops.c251 *num = SMB2_MAX_BUFFER_SIZE; in smb2_wait_mtu_credits()
260 scredits * SMB2_MAX_BUFFER_SIZE); in smb2_wait_mtu_credits()
263 DIV_ROUND_UP(*num, SMB2_MAX_BUFFER_SIZE); in smb2_wait_mtu_credits()
289 int new_val = DIV_ROUND_UP(payload_size, SMB2_MAX_BUFFER_SIZE); in smb2_adjust_credits()
447 wsize = min_t(unsigned int, wsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_wsize()
479 wsize = min_t(unsigned int, wsize, SMB2_MAX_BUFFER_SIZE); in smb3_negotiate_wsize()
495 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_rsize()
528 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb3_negotiate_rsize()
3352 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3353 io_parms.length = SMB2_MAX_BUFFER_SIZE; in smb3_simple_fallocate_write_range()
[all …]
H A Dsmb2pdu.c1216 SMB2_MAX_BUFFER_SIZE); in SMB2_negotiate()
3373 SMB2_MAX_BUFFER_SIZE)); in SMB2_ioctl_init()
3939 SMB2_MAX_BUFFER_SIZE, MIN_SEC_DESC_LEN, data, plen); in SMB2_query_acl()
3978 cpu_to_le32(SMB2_MAX_BUFFER_SIZE - MAX_SMB2_HDR_SIZE); in SMB2_notify_init()
4635 SMB2_MAX_BUFFER_SIZE)); in smb2_async_readv()
4958 SMB2_MAX_BUFFER_SIZE)); in smb2_async_writev()
/openbmc/linux/fs/smb/common/
H A Dsmb2pdu.h88 #define SMB2_MAX_BUFFER_SIZE 65536 macro