Lines Matching refs:kobj_attribute
41 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
50 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
60 struct kobj_attribute *attr, char *buf) in nr_accesses_show()
68 static ssize_t age_show(struct kobject *kobj, struct kobj_attribute *attr, in age_show()
86 static struct kobj_attribute damon_sysfs_scheme_region_start_attr =
89 static struct kobj_attribute damon_sysfs_scheme_region_end_attr =
92 static struct kobj_attribute damon_sysfs_scheme_region_nr_accesses_attr =
95 static struct kobj_attribute damon_sysfs_scheme_region_age_attr =
186 struct kobj_attribute *attr, char *buf) in total_bytes_show()
211 static struct kobj_attribute damon_sysfs_scheme_regions_total_bytes_attr =
244 static ssize_t nr_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in nr_tried_show()
253 static ssize_t sz_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in sz_tried_show()
263 struct kobj_attribute *attr, char *buf) in nr_applied_show()
272 struct kobj_attribute *attr, char *buf) in sz_applied_show()
281 struct kobj_attribute *attr, char *buf) in qt_exceeds_show()
294 static struct kobj_attribute damon_sysfs_stats_nr_tried_attr =
297 static struct kobj_attribute damon_sysfs_stats_sz_tried_attr =
300 static struct kobj_attribute damon_sysfs_stats_nr_applied_attr =
303 static struct kobj_attribute damon_sysfs_stats_sz_applied_attr =
306 static struct kobj_attribute damon_sysfs_stats_qt_exceeds_attr =
353 struct kobj_attribute *attr, char *buf) in type_show()
363 struct kobj_attribute *attr, const char *buf, size_t count) in type_store()
382 struct kobj_attribute *attr, char *buf) in matching_show()
391 struct kobj_attribute *attr, const char *buf, size_t count) in matching_store()
406 struct kobj_attribute *attr, char *buf) in memcg_path_show()
416 struct kobj_attribute *attr, const char *buf, size_t count) in memcg_path_store()
431 struct kobj_attribute *attr, char *buf) in addr_start_show()
440 struct kobj_attribute *attr, const char *buf, size_t count) in addr_start_store()
450 struct kobj_attribute *attr, char *buf) in addr_end_show()
459 struct kobj_attribute *attr, const char *buf, size_t count) in addr_end_store()
469 struct kobj_attribute *attr, char *buf) in damon_target_idx_show()
478 struct kobj_attribute *attr, const char *buf, size_t count) in damon_target_idx_store()
496 static struct kobj_attribute damon_sysfs_scheme_filter_type_attr =
499 static struct kobj_attribute damon_sysfs_scheme_filter_matching_attr =
502 static struct kobj_attribute damon_sysfs_scheme_filter_memcg_path_attr =
505 static struct kobj_attribute damon_sysfs_scheme_filter_addr_start_attr =
508 static struct kobj_attribute damon_sysfs_scheme_filter_addr_end_attr =
511 static struct kobj_attribute damon_sysfs_scheme_filter_damon_target_idx_attr =
599 struct kobj_attribute *attr, char *buf) in nr_filters_show()
608 struct kobj_attribute *attr, const char *buf, size_t count) in nr_filters_store()
635 static struct kobj_attribute damon_sysfs_scheme_filters_nr_attr =
687 static ssize_t metric_show(struct kobject *kobj, struct kobj_attribute *attr, in metric_show()
697 static ssize_t metric_store(struct kobject *kobj, struct kobj_attribute *attr, in metric_store()
714 struct kobj_attribute *attr, char *buf) in interval_us_show()
723 struct kobj_attribute *attr, const char *buf, size_t count) in interval_us_store()
733 struct kobj_attribute *attr, char *buf) in high_show()
742 struct kobj_attribute *attr, const char *buf, size_t count) in high_store()
752 struct kobj_attribute *attr, char *buf) in mid_show()
761 struct kobj_attribute *attr, const char *buf, size_t count) in mid_store()
771 struct kobj_attribute *attr, char *buf) in low_show()
780 struct kobj_attribute *attr, const char *buf, size_t count) in low_store()
794 static struct kobj_attribute damon_sysfs_watermarks_metric_attr =
797 static struct kobj_attribute damon_sysfs_watermarks_interval_us_attr =
800 static struct kobj_attribute damon_sysfs_watermarks_high_attr =
803 static struct kobj_attribute damon_sysfs_watermarks_mid_attr =
806 static struct kobj_attribute damon_sysfs_watermarks_low_attr =
848 struct kobj_attribute *attr, char *buf) in target_metric_show()
858 struct kobj_attribute *attr, const char *buf, size_t count) in target_metric_store()
874 struct kobj_attribute *attr, char *buf) in target_value_show()
883 struct kobj_attribute *attr, const char *buf, size_t count) in target_value_store()
893 struct kobj_attribute *attr, char *buf) in current_value_show()
902 struct kobj_attribute *attr, const char *buf, size_t count) in current_value_store()
918 static struct kobj_attribute damos_sysfs_quota_goal_target_metric_attr =
921 static struct kobj_attribute damos_sysfs_quota_goal_target_value_attr =
924 static struct kobj_attribute damos_sysfs_quota_goal_current_value_attr =
1008 struct kobj_attribute *attr, char *buf) in nr_goals_show()
1017 struct kobj_attribute *attr, const char *buf, size_t count) in nr_goals_store()
1044 static struct kobj_attribute damos_sysfs_quota_goals_nr_attr =
1086 struct kobj_attribute *attr, char *buf) in sz_permil_show()
1095 struct kobj_attribute *attr, const char *buf, size_t count) in sz_permil_store()
1105 struct kobj_attribute *attr, char *buf) in nr_accesses_permil_show()
1114 struct kobj_attribute *attr, const char *buf, size_t count) in nr_accesses_permil_store()
1124 struct kobj_attribute *attr, char *buf) in age_permil_show()
1133 struct kobj_attribute *attr, const char *buf, size_t count) in age_permil_store()
1147 static struct kobj_attribute damon_sysfs_weights_sz_attr =
1150 static struct kobj_attribute damon_sysfs_weights_nr_accesses_attr =
1153 static struct kobj_attribute damon_sysfs_weights_age_attr =
1232 static ssize_t ms_show(struct kobject *kobj, struct kobj_attribute *attr, in ms_show()
1241 static ssize_t ms_store(struct kobject *kobj, struct kobj_attribute *attr, in ms_store()
1253 static ssize_t bytes_show(struct kobject *kobj, struct kobj_attribute *attr, in bytes_show()
1263 struct kobj_attribute *attr, const char *buf, size_t count) in bytes_store()
1275 struct kobj_attribute *attr, char *buf) in reset_interval_ms_show()
1284 struct kobj_attribute *attr, const char *buf, size_t count) in reset_interval_ms_store()
1296 struct kobj_attribute *attr, char *buf) in effective_bytes_show()
1309 static struct kobj_attribute damon_sysfs_quotas_ms_attr =
1312 static struct kobj_attribute damon_sysfs_quotas_sz_attr =
1315 static struct kobj_attribute damon_sysfs_quotas_reset_interval_ms_attr =
1318 static struct kobj_attribute damon_sysfs_quotas_effective_bytes_attr =
1655 static ssize_t action_show(struct kobject *kobj, struct kobj_attribute *attr, in action_show()
1665 static ssize_t action_store(struct kobject *kobj, struct kobj_attribute *attr, in action_store()
1682 struct kobj_attribute *attr, char *buf) in apply_interval_us_show()
1691 struct kobj_attribute *attr, const char *buf, size_t count) in apply_interval_us_store()
1701 struct kobj_attribute *attr, char *buf) in target_nid_show()
1710 struct kobj_attribute *attr, const char *buf, size_t count) in target_nid_store()
1727 static struct kobj_attribute damon_sysfs_scheme_action_attr =
1730 static struct kobj_attribute damon_sysfs_scheme_apply_interval_us_attr =
1733 static struct kobj_attribute damon_sysfs_scheme_target_nid_attr =
1821 struct kobj_attribute *attr, char *buf) in nr_schemes_show()
1830 struct kobj_attribute *attr, const char *buf, size_t count) in nr_schemes_store()
1856 static struct kobj_attribute damon_sysfs_schemes_nr_attr =