Lines Matching refs:kobj_attribute
40 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
49 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
59 struct kobj_attribute *attr, char *buf) in nr_accesses_show()
67 static ssize_t age_show(struct kobject *kobj, struct kobj_attribute *attr, in age_show()
85 static struct kobj_attribute damon_sysfs_scheme_region_start_attr =
88 static struct kobj_attribute damon_sysfs_scheme_region_end_attr =
91 static struct kobj_attribute damon_sysfs_scheme_region_nr_accesses_attr =
94 static struct kobj_attribute damon_sysfs_scheme_region_age_attr =
140 struct kobj_attribute *attr, char *buf) in total_bytes_show()
165 static struct kobj_attribute damon_sysfs_scheme_regions_total_bytes_attr =
198 static ssize_t nr_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in nr_tried_show()
207 static ssize_t sz_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in sz_tried_show()
217 struct kobj_attribute *attr, char *buf) in nr_applied_show()
226 struct kobj_attribute *attr, char *buf) in sz_applied_show()
235 struct kobj_attribute *attr, char *buf) in qt_exceeds_show()
248 static struct kobj_attribute damon_sysfs_stats_nr_tried_attr =
251 static struct kobj_attribute damon_sysfs_stats_sz_tried_attr =
254 static struct kobj_attribute damon_sysfs_stats_nr_applied_attr =
257 static struct kobj_attribute damon_sysfs_stats_sz_applied_attr =
260 static struct kobj_attribute damon_sysfs_stats_qt_exceeds_attr =
306 struct kobj_attribute *attr, char *buf) in type_show()
316 struct kobj_attribute *attr, const char *buf, size_t count) in type_store()
335 struct kobj_attribute *attr, char *buf) in matching_show()
344 struct kobj_attribute *attr, const char *buf, size_t count) in matching_store()
359 struct kobj_attribute *attr, char *buf) in memcg_path_show()
369 struct kobj_attribute *attr, const char *buf, size_t count) in memcg_path_store()
384 struct kobj_attribute *attr, char *buf) in addr_start_show()
393 struct kobj_attribute *attr, const char *buf, size_t count) in addr_start_store()
403 struct kobj_attribute *attr, char *buf) in addr_end_show()
412 struct kobj_attribute *attr, const char *buf, size_t count) in addr_end_store()
422 struct kobj_attribute *attr, char *buf) in damon_target_idx_show()
431 struct kobj_attribute *attr, const char *buf, size_t count) in damon_target_idx_store()
449 static struct kobj_attribute damon_sysfs_scheme_filter_type_attr =
452 static struct kobj_attribute damon_sysfs_scheme_filter_matching_attr =
455 static struct kobj_attribute damon_sysfs_scheme_filter_memcg_path_attr =
458 static struct kobj_attribute damon_sysfs_scheme_filter_addr_start_attr =
461 static struct kobj_attribute damon_sysfs_scheme_filter_addr_end_attr =
464 static struct kobj_attribute damon_sysfs_scheme_filter_damon_target_idx_attr =
552 struct kobj_attribute *attr, char *buf) in nr_filters_show()
561 struct kobj_attribute *attr, const char *buf, size_t count) in nr_filters_store()
588 static struct kobj_attribute damon_sysfs_scheme_filters_nr_attr =
640 static ssize_t metric_show(struct kobject *kobj, struct kobj_attribute *attr, in metric_show()
650 static ssize_t metric_store(struct kobject *kobj, struct kobj_attribute *attr, in metric_store()
667 struct kobj_attribute *attr, char *buf) in interval_us_show()
676 struct kobj_attribute *attr, const char *buf, size_t count) in interval_us_store()
686 struct kobj_attribute *attr, char *buf) in high_show()
695 struct kobj_attribute *attr, const char *buf, size_t count) in high_store()
705 struct kobj_attribute *attr, char *buf) in mid_show()
714 struct kobj_attribute *attr, const char *buf, size_t count) in mid_store()
724 struct kobj_attribute *attr, char *buf) in low_show()
733 struct kobj_attribute *attr, const char *buf, size_t count) in low_store()
747 static struct kobj_attribute damon_sysfs_watermarks_metric_attr =
750 static struct kobj_attribute damon_sysfs_watermarks_interval_us_attr =
753 static struct kobj_attribute damon_sysfs_watermarks_high_attr =
756 static struct kobj_attribute damon_sysfs_watermarks_mid_attr =
759 static struct kobj_attribute damon_sysfs_watermarks_low_attr =
805 struct kobj_attribute *attr, char *buf) in sz_permil_show()
814 struct kobj_attribute *attr, const char *buf, size_t count) in sz_permil_store()
824 struct kobj_attribute *attr, char *buf) in nr_accesses_permil_show()
833 struct kobj_attribute *attr, const char *buf, size_t count) in nr_accesses_permil_store()
843 struct kobj_attribute *attr, char *buf) in age_permil_show()
852 struct kobj_attribute *attr, const char *buf, size_t count) in age_permil_store()
866 static struct kobj_attribute damon_sysfs_weights_sz_attr =
869 static struct kobj_attribute damon_sysfs_weights_nr_accesses_attr =
872 static struct kobj_attribute damon_sysfs_weights_age_attr =
929 static ssize_t ms_show(struct kobject *kobj, struct kobj_attribute *attr, in ms_show()
938 static ssize_t ms_store(struct kobject *kobj, struct kobj_attribute *attr, in ms_store()
950 static ssize_t bytes_show(struct kobject *kobj, struct kobj_attribute *attr, in bytes_show()
960 struct kobj_attribute *attr, const char *buf, size_t count) in bytes_store()
972 struct kobj_attribute *attr, char *buf) in reset_interval_ms_show()
981 struct kobj_attribute *attr, const char *buf, size_t count) in reset_interval_ms_store()
997 static struct kobj_attribute damon_sysfs_quotas_ms_attr =
1000 static struct kobj_attribute damon_sysfs_quotas_sz_attr =
1003 static struct kobj_attribute damon_sysfs_quotas_reset_interval_ms_attr =
1333 static ssize_t action_show(struct kobject *kobj, struct kobj_attribute *attr, in action_show()
1343 static ssize_t action_store(struct kobject *kobj, struct kobj_attribute *attr, in action_store()
1364 static struct kobj_attribute damon_sysfs_scheme_action_attr =
1446 struct kobj_attribute *attr, char *buf) in nr_schemes_show()
1455 struct kobj_attribute *attr, const char *buf, size_t count) in nr_schemes_store()
1481 static struct kobj_attribute damon_sysfs_schemes_nr_attr =