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 =
137 struct kobj_attribute *attr, char *buf) in total_bytes_show()
162 static struct kobj_attribute damon_sysfs_scheme_regions_total_bytes_attr =
195 static ssize_t nr_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in nr_tried_show()
204 static ssize_t sz_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in sz_tried_show()
214 struct kobj_attribute *attr, char *buf) in nr_applied_show()
223 struct kobj_attribute *attr, char *buf) in sz_applied_show()
232 struct kobj_attribute *attr, char *buf) in qt_exceeds_show()
245 static struct kobj_attribute damon_sysfs_stats_nr_tried_attr =
248 static struct kobj_attribute damon_sysfs_stats_sz_tried_attr =
251 static struct kobj_attribute damon_sysfs_stats_nr_applied_attr =
254 static struct kobj_attribute damon_sysfs_stats_sz_applied_attr =
257 static struct kobj_attribute damon_sysfs_stats_qt_exceeds_attr =
303 struct kobj_attribute *attr, char *buf) in type_show()
313 struct kobj_attribute *attr, const char *buf, size_t count) in type_store()
332 struct kobj_attribute *attr, char *buf) in matching_show()
341 struct kobj_attribute *attr, const char *buf, size_t count) in matching_store()
356 struct kobj_attribute *attr, char *buf) in memcg_path_show()
366 struct kobj_attribute *attr, const char *buf, size_t count) in memcg_path_store()
381 struct kobj_attribute *attr, char *buf) in addr_start_show()
390 struct kobj_attribute *attr, const char *buf, size_t count) in addr_start_store()
400 struct kobj_attribute *attr, char *buf) in addr_end_show()
409 struct kobj_attribute *attr, const char *buf, size_t count) in addr_end_store()
419 struct kobj_attribute *attr, char *buf) in damon_target_idx_show()
428 struct kobj_attribute *attr, const char *buf, size_t count) in damon_target_idx_store()
446 static struct kobj_attribute damon_sysfs_scheme_filter_type_attr =
449 static struct kobj_attribute damon_sysfs_scheme_filter_matching_attr =
452 static struct kobj_attribute damon_sysfs_scheme_filter_memcg_path_attr =
455 static struct kobj_attribute damon_sysfs_scheme_filter_addr_start_attr =
458 static struct kobj_attribute damon_sysfs_scheme_filter_addr_end_attr =
461 static struct kobj_attribute damon_sysfs_scheme_filter_damon_target_idx_attr =
549 struct kobj_attribute *attr, char *buf) in nr_filters_show()
558 struct kobj_attribute *attr, const char *buf, size_t count) in nr_filters_store()
585 static struct kobj_attribute damon_sysfs_scheme_filters_nr_attr =
637 static ssize_t metric_show(struct kobject *kobj, struct kobj_attribute *attr, in metric_show()
647 static ssize_t metric_store(struct kobject *kobj, struct kobj_attribute *attr, in metric_store()
664 struct kobj_attribute *attr, char *buf) in interval_us_show()
673 struct kobj_attribute *attr, const char *buf, size_t count) in interval_us_store()
683 struct kobj_attribute *attr, char *buf) in high_show()
692 struct kobj_attribute *attr, const char *buf, size_t count) in high_store()
702 struct kobj_attribute *attr, char *buf) in mid_show()
711 struct kobj_attribute *attr, const char *buf, size_t count) in mid_store()
721 struct kobj_attribute *attr, char *buf) in low_show()
730 struct kobj_attribute *attr, const char *buf, size_t count) in low_store()
744 static struct kobj_attribute damon_sysfs_watermarks_metric_attr =
747 static struct kobj_attribute damon_sysfs_watermarks_interval_us_attr =
750 static struct kobj_attribute damon_sysfs_watermarks_high_attr =
753 static struct kobj_attribute damon_sysfs_watermarks_mid_attr =
756 static struct kobj_attribute damon_sysfs_watermarks_low_attr =
802 struct kobj_attribute *attr, char *buf) in sz_permil_show()
811 struct kobj_attribute *attr, const char *buf, size_t count) in sz_permil_store()
821 struct kobj_attribute *attr, char *buf) in nr_accesses_permil_show()
830 struct kobj_attribute *attr, const char *buf, size_t count) in nr_accesses_permil_store()
840 struct kobj_attribute *attr, char *buf) in age_permil_show()
849 struct kobj_attribute *attr, const char *buf, size_t count) in age_permil_store()
863 static struct kobj_attribute damon_sysfs_weights_sz_attr =
866 static struct kobj_attribute damon_sysfs_weights_nr_accesses_attr =
869 static struct kobj_attribute damon_sysfs_weights_age_attr =
926 static ssize_t ms_show(struct kobject *kobj, struct kobj_attribute *attr, in ms_show()
935 static ssize_t ms_store(struct kobject *kobj, struct kobj_attribute *attr, in ms_store()
947 static ssize_t bytes_show(struct kobject *kobj, struct kobj_attribute *attr, in bytes_show()
957 struct kobj_attribute *attr, const char *buf, size_t count) in bytes_store()
969 struct kobj_attribute *attr, char *buf) in reset_interval_ms_show()
978 struct kobj_attribute *attr, const char *buf, size_t count) in reset_interval_ms_store()
994 static struct kobj_attribute damon_sysfs_quotas_ms_attr =
997 static struct kobj_attribute damon_sysfs_quotas_sz_attr =
1000 static struct kobj_attribute damon_sysfs_quotas_reset_interval_ms_attr =
1330 static ssize_t action_show(struct kobject *kobj, struct kobj_attribute *attr, in action_show()
1340 static ssize_t action_store(struct kobject *kobj, struct kobj_attribute *attr, in action_store()
1361 static struct kobj_attribute damon_sysfs_scheme_action_attr =
1443 struct kobj_attribute *attr, char *buf) in nr_schemes_show()
1452 struct kobj_attribute *attr, const char *buf, size_t count) in nr_schemes_store()
1478 static struct kobj_attribute damon_sysfs_schemes_nr_attr =