Lines Matching refs:nr_accesses
397 unsigned int nr_accesses; member
402 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument
411 weights->nr_accesses = nr_accesses; in damon_sysfs_weights_alloc()
441 return sysfs_emit(buf, "%u\n", weights->nr_accesses); in nr_accesses_permil_show()
449 int err = kstrtouint(buf, 0, &weights->nr_accesses); in nr_accesses_permil_store()
639 struct damon_sysfs_ul_range *nr_accesses; member
685 &access_pattern->nr_accesses, "nr_accesses"); in damon_sysfs_access_pattern_add_dirs()
699 kobject_put(&access_pattern->nr_accesses->kobj); in damon_sysfs_access_pattern_add_dirs()
700 access_pattern->nr_accesses = NULL; in damon_sysfs_access_pattern_add_dirs()
711 kobject_put(&access_pattern->nr_accesses->kobj); in damon_sysfs_access_pattern_rm_dirs()
2261 .min_nr_accesses = access_pattern->nr_accesses->min, in damon_sysfs_mk_scheme()
2262 .max_nr_accesses = access_pattern->nr_accesses->max, in damon_sysfs_mk_scheme()
2271 .weight_nr_accesses = sysfs_weights->nr_accesses, in damon_sysfs_mk_scheme()
2297 scheme->pattern.min_nr_accesses = access_pattern->nr_accesses->min; in damon_sysfs_update_scheme()
2298 scheme->pattern.max_nr_accesses = access_pattern->nr_accesses->max; in damon_sysfs_update_scheme()
2308 scheme->quota.weight_nr_accesses = sysfs_weights->nr_accesses; in damon_sysfs_update_scheme()