Lines Matching refs:kobj_attribute

42 static ssize_t min_show(struct kobject *kobj, struct kobj_attribute *attr,  in min_show()
51 static ssize_t min_store(struct kobject *kobj, struct kobj_attribute *attr, in min_store()
67 static ssize_t max_show(struct kobject *kobj, struct kobj_attribute *attr, in max_show()
76 static ssize_t max_store(struct kobject *kobj, struct kobj_attribute *attr, in max_store()
97 static struct kobj_attribute damon_sysfs_ul_range_min_attr =
100 static struct kobj_attribute damon_sysfs_ul_range_max_attr =
134 static ssize_t nr_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in nr_tried_show()
143 static ssize_t sz_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in sz_tried_show()
153 struct kobj_attribute *attr, char *buf) in nr_applied_show()
162 struct kobj_attribute *attr, char *buf) in sz_applied_show()
171 struct kobj_attribute *attr, char *buf) in qt_exceeds_show()
184 static struct kobj_attribute damon_sysfs_stats_nr_tried_attr =
187 static struct kobj_attribute damon_sysfs_stats_sz_tried_attr =
190 static struct kobj_attribute damon_sysfs_stats_nr_applied_attr =
193 static struct kobj_attribute damon_sysfs_stats_sz_applied_attr =
196 static struct kobj_attribute damon_sysfs_stats_qt_exceeds_attr =
252 static ssize_t metric_show(struct kobject *kobj, struct kobj_attribute *attr, in metric_show()
262 static ssize_t metric_store(struct kobject *kobj, struct kobj_attribute *attr, in metric_store()
279 struct kobj_attribute *attr, char *buf) in interval_us_show()
288 struct kobj_attribute *attr, const char *buf, size_t count) in interval_us_store()
298 struct kobj_attribute *attr, char *buf) in high_show()
307 struct kobj_attribute *attr, const char *buf, size_t count) in high_store()
317 struct kobj_attribute *attr, char *buf) in mid_show()
326 struct kobj_attribute *attr, const char *buf, size_t count) in mid_store()
336 struct kobj_attribute *attr, char *buf) in low_show()
345 struct kobj_attribute *attr, const char *buf, size_t count) in low_store()
359 static struct kobj_attribute damon_sysfs_watermarks_metric_attr =
362 static struct kobj_attribute damon_sysfs_watermarks_interval_us_attr =
365 static struct kobj_attribute damon_sysfs_watermarks_high_attr =
368 static struct kobj_attribute damon_sysfs_watermarks_mid_attr =
371 static struct kobj_attribute damon_sysfs_watermarks_low_attr =
417 struct kobj_attribute *attr, char *buf) in sz_permil_show()
426 struct kobj_attribute *attr, const char *buf, size_t count) in sz_permil_store()
436 struct kobj_attribute *attr, char *buf) in nr_accesses_permil_show()
445 struct kobj_attribute *attr, const char *buf, size_t count) in nr_accesses_permil_store()
455 struct kobj_attribute *attr, char *buf) in age_permil_show()
464 struct kobj_attribute *attr, const char *buf, size_t count) in age_permil_store()
478 static struct kobj_attribute damon_sysfs_weights_sz_attr =
481 static struct kobj_attribute damon_sysfs_weights_nr_accesses_attr =
484 static struct kobj_attribute damon_sysfs_weights_age_attr =
541 static ssize_t ms_show(struct kobject *kobj, struct kobj_attribute *attr, in ms_show()
550 static ssize_t ms_store(struct kobject *kobj, struct kobj_attribute *attr, in ms_store()
562 static ssize_t bytes_show(struct kobject *kobj, struct kobj_attribute *attr, in bytes_show()
572 struct kobj_attribute *attr, const char *buf, size_t count) in bytes_store()
584 struct kobj_attribute *attr, char *buf) in reset_interval_ms_show()
593 struct kobj_attribute *attr, const char *buf, size_t count) in reset_interval_ms_store()
609 static struct kobj_attribute damon_sysfs_quotas_ms_attr =
612 static struct kobj_attribute damon_sysfs_quotas_sz_attr =
615 static struct kobj_attribute damon_sysfs_quotas_reset_interval_ms_attr =
890 static ssize_t action_show(struct kobject *kobj, struct kobj_attribute *attr, in action_show()
900 static ssize_t action_store(struct kobject *kobj, struct kobj_attribute *attr, in action_store()
921 static struct kobj_attribute damon_sysfs_scheme_action_attr =
1009 struct kobj_attribute *attr, char *buf) in nr_schemes_show()
1018 struct kobj_attribute *attr, const char *buf, size_t count) in nr_schemes_store()
1044 static struct kobj_attribute damon_sysfs_schemes_nr_attr =
1084 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
1093 static ssize_t start_store(struct kobject *kobj, struct kobj_attribute *attr, in start_store()
1103 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
1112 static ssize_t end_store(struct kobject *kobj, struct kobj_attribute *attr, in end_store()
1127 static struct kobj_attribute damon_sysfs_region_start_attr =
1130 static struct kobj_attribute damon_sysfs_region_end_attr =
1212 struct kobj_attribute *attr, char *buf) in nr_regions_show()
1221 struct kobj_attribute *attr, const char *buf, size_t count) in nr_regions_store()
1248 static struct kobj_attribute damon_sysfs_regions_nr_attr =
1302 struct kobj_attribute *attr, char *buf) in pid_target_show()
1311 struct kobj_attribute *attr, const char *buf, size_t count) in pid_target_store()
1327 static struct kobj_attribute damon_sysfs_target_pid_attr =
1416 struct kobj_attribute *attr, char *buf) in nr_targets_show()
1425 struct kobj_attribute *attr, const char *buf, size_t count) in nr_targets_store()
1452 static struct kobj_attribute damon_sysfs_targets_nr_attr =
1496 struct kobj_attribute *attr, char *buf) in sample_us_show()
1505 struct kobj_attribute *attr, const char *buf, size_t count) in sample_us_store()
1519 static ssize_t aggr_us_show(struct kobject *kobj, struct kobj_attribute *attr, in aggr_us_show()
1528 static ssize_t aggr_us_store(struct kobject *kobj, struct kobj_attribute *attr, in aggr_us_store()
1544 struct kobj_attribute *attr, char *buf) in update_us_show()
1553 struct kobj_attribute *attr, const char *buf, size_t count) in update_us_store()
1572 static struct kobj_attribute damon_sysfs_intervals_sample_us_attr =
1575 static struct kobj_attribute damon_sysfs_intervals_aggr_us_attr =
1578 static struct kobj_attribute damon_sysfs_intervals_update_us_attr =
1802 struct kobj_attribute *attr, char *buf) in avail_operations_show()
1817 struct kobj_attribute *attr, char *buf) in operations_show()
1826 struct kobj_attribute *attr, const char *buf, size_t count) in operations_store()
1846 static struct kobj_attribute damon_sysfs_context_avail_operations_attr =
1849 static struct kobj_attribute damon_sysfs_context_operations_attr =
1939 struct kobj_attribute *attr, char *buf) in nr_contexts_show()
1948 struct kobj_attribute *attr, const char *buf, size_t count) in nr_contexts_store()
1976 static struct kobj_attribute damon_sysfs_contexts_nr_attr
2091 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show()
2596 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store()
2619 struct kobj_attribute *attr, char *buf) in pid_show()
2651 static struct kobj_attribute damon_sysfs_kdamond_state_attr =
2654 static struct kobj_attribute damon_sysfs_kdamond_pid_attr =
2761 struct kobj_attribute *attr, char *buf) in nr_kdamonds_show()
2770 struct kobj_attribute *attr, const char *buf, size_t count) in nr_kdamonds_store()
2798 static struct kobj_attribute damon_sysfs_kdamonds_nr_attr =