Lines Matching refs:buf

262 				  const char *buf, size_t count)  in read_ahead_kb_store()  argument
268 ret = kstrtoul(buf, 10, &read_ahead_kb); in read_ahead_kb_store()
279 struct device_attribute *attr, char *buf) \
283 return sysfs_emit(buf, "%lld\n", (long long)expr); \
290 struct device_attribute *attr, const char *buf, size_t count) in min_ratio_store() argument
296 ret = kstrtouint(buf, 10, &ratio); in min_ratio_store()
309 struct device_attribute *attr, const char *buf, size_t count) in min_ratio_fine_store() argument
315 ret = kstrtouint(buf, 10, &ratio); in min_ratio_fine_store()
328 struct device_attribute *attr, const char *buf, size_t count) in max_ratio_store() argument
334 ret = kstrtouint(buf, 10, &ratio); in max_ratio_store()
347 struct device_attribute *attr, const char *buf, size_t count) in max_ratio_fine_store() argument
353 ret = kstrtouint(buf, 10, &ratio); in max_ratio_fine_store()
367 char *buf) in min_bytes_show() argument
371 return sysfs_emit(buf, "%llu\n", bdi_get_min_bytes(bdi)); in min_bytes_show()
375 struct device_attribute *attr, const char *buf, size_t count) in min_bytes_store() argument
381 ret = kstrtoull(buf, 10, &bytes); in min_bytes_store()
395 char *buf) in max_bytes_show() argument
399 return sysfs_emit(buf, "%llu\n", bdi_get_max_bytes(bdi)); in max_bytes_show()
403 struct device_attribute *attr, const char *buf, size_t count) in max_bytes_store() argument
409 ret = kstrtoull(buf, 10, &bytes); in max_bytes_store()
423 char *buf) in stable_pages_required_show() argument
427 return sysfs_emit(buf, "%d\n", 0); in stable_pages_required_show()
432 struct device_attribute *attr, const char *buf, size_t count) in strict_limit_store() argument
438 ret = kstrtouint(buf, 10, &strict_limit); in strict_limit_store()
450 struct device_attribute *attr, char *buf) in strict_limit_show() argument
454 return sysfs_emit(buf, "%d\n", in strict_limit_show()