Lines Matching refs:rsize
393 unsigned int rsize; in smb2_negotiate_rsize() local
396 rsize = volume_info->rsize ? volume_info->rsize : CIFS_DEFAULT_IOSIZE; in smb2_negotiate_rsize()
397 rsize = min_t(unsigned int, rsize, server->max_read); in smb2_negotiate_rsize()
400 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_rsize()
402 return rsize; in smb2_negotiate_rsize()
409 unsigned int rsize; in smb3_negotiate_rsize() local
412 rsize = volume_info->rsize ? volume_info->rsize : SMB3_DEFAULT_IOSIZE; in smb3_negotiate_rsize()
413 rsize = min_t(unsigned int, rsize, server->max_read); in smb3_negotiate_rsize()
421 rsize = min_t(unsigned int, in smb3_negotiate_rsize()
422 rsize, in smb3_negotiate_rsize()
427 rsize = min_t(unsigned int, in smb3_negotiate_rsize()
428 rsize, server->smbd_conn->max_readwrite_size); in smb3_negotiate_rsize()
433 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb3_negotiate_rsize()
435 return rsize; in smb3_negotiate_rsize()