Lines Matching refs:sz

281 void init_smb2_max_read_size(unsigned int sz)  in init_smb2_max_read_size()  argument
283 sz = clamp_val(sz, SMB3_MIN_IOSIZE, SMB3_MAX_IOSIZE); in init_smb2_max_read_size()
284 smb21_server_values.max_read_size = sz; in init_smb2_max_read_size()
285 smb30_server_values.max_read_size = sz; in init_smb2_max_read_size()
286 smb302_server_values.max_read_size = sz; in init_smb2_max_read_size()
287 smb311_server_values.max_read_size = sz; in init_smb2_max_read_size()
290 void init_smb2_max_write_size(unsigned int sz) in init_smb2_max_write_size() argument
292 sz = clamp_val(sz, SMB3_MIN_IOSIZE, SMB3_MAX_IOSIZE); in init_smb2_max_write_size()
293 smb21_server_values.max_write_size = sz; in init_smb2_max_write_size()
294 smb30_server_values.max_write_size = sz; in init_smb2_max_write_size()
295 smb302_server_values.max_write_size = sz; in init_smb2_max_write_size()
296 smb311_server_values.max_write_size = sz; in init_smb2_max_write_size()
299 void init_smb2_max_trans_size(unsigned int sz) in init_smb2_max_trans_size() argument
301 sz = clamp_val(sz, SMB3_MIN_IOSIZE, SMB3_MAX_IOSIZE); in init_smb2_max_trans_size()
302 smb21_server_values.max_trans_size = sz; in init_smb2_max_trans_size()
303 smb30_server_values.max_trans_size = sz; in init_smb2_max_trans_size()
304 smb302_server_values.max_trans_size = sz; in init_smb2_max_trans_size()
305 smb311_server_values.max_trans_size = sz; in init_smb2_max_trans_size()
308 void init_smb2_max_credits(unsigned int sz) in init_smb2_max_credits() argument
310 smb21_server_values.max_credits = sz; in init_smb2_max_credits()
311 smb30_server_values.max_credits = sz; in init_smb2_max_credits()
312 smb302_server_values.max_credits = sz; in init_smb2_max_credits()
313 smb311_server_values.max_credits = sz; in init_smb2_max_credits()