Searched refs:sysfs_strtoul_clamp (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/md/bcache/ |
D | sysfs.c | 304 #define d_strtoul_nonzero(var) sysfs_strtoul_clamp(var, dc->var, 1, INT_MAX) in STORE() 313 sysfs_strtoul_clamp(writeback_delay, dc->writeback_delay, 0, UINT_MAX); in STORE() 315 sysfs_strtoul_clamp(writeback_percent, dc->writeback_percent, in STORE() 332 sysfs_strtoul_clamp(writeback_rate_update_seconds, in STORE() 335 sysfs_strtoul_clamp(writeback_rate_i_term_inverse, in STORE() 338 sysfs_strtoul_clamp(writeback_rate_p_term_inverse, in STORE() 341 sysfs_strtoul_clamp(writeback_rate_fp_term_low, in STORE() 344 sysfs_strtoul_clamp(writeback_rate_fp_term_mid, in STORE() 348 sysfs_strtoul_clamp(writeback_rate_fp_term_high, in STORE() 351 sysfs_strtoul_clamp(writeback_rate_minimum, in STORE() [all …]
|
D | sysfs.h | 106 #define sysfs_strtoul_clamp(file, var, min, max) \ macro
|