Home
last modified time | relevance | path

Searched refs:sysfs_strtoul_clamp (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/md/bcache/
Dsysfs.c298 #define d_strtoul_nonzero(var) sysfs_strtoul_clamp(var, dc->var, 1, INT_MAX) in STORE()
306 sysfs_strtoul_clamp(writeback_delay, dc->writeback_delay, 0, UINT_MAX); in STORE()
308 sysfs_strtoul_clamp(writeback_percent, dc->writeback_percent, in STORE()
325 sysfs_strtoul_clamp(writeback_rate_update_seconds, in STORE()
328 sysfs_strtoul_clamp(writeback_rate_i_term_inverse, in STORE()
331 sysfs_strtoul_clamp(writeback_rate_p_term_inverse, in STORE()
334 sysfs_strtoul_clamp(writeback_rate_minimum, in STORE()
338 sysfs_strtoul_clamp(io_error_limit, dc->error_limit, 0, INT_MAX); in STORE()
346 sysfs_strtoul_clamp(sequential_cutoff, in STORE()
851 sysfs_strtoul_clamp(congested_read_threshold_us, in STORE()
[all …]
Dsysfs.h92 #define sysfs_strtoul_clamp(file, var, min, max) \ macro