Lines Matching refs:kobj_attribute
28 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
37 static ssize_t start_store(struct kobject *kobj, struct kobj_attribute *attr, in start_store()
47 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
56 static ssize_t end_store(struct kobject *kobj, struct kobj_attribute *attr, in end_store()
71 static struct kobj_attribute damon_sysfs_region_start_attr =
74 static struct kobj_attribute damon_sysfs_region_end_attr =
156 struct kobj_attribute *attr, char *buf) in nr_regions_show()
165 struct kobj_attribute *attr, const char *buf, size_t count) in nr_regions_store()
192 static struct kobj_attribute damon_sysfs_regions_nr_attr =
247 struct kobj_attribute *attr, char *buf) in pid_target_show()
256 struct kobj_attribute *attr, const char *buf, size_t count) in pid_target_store()
268 struct kobj_attribute *attr, char *buf) in obsolete_target_show()
277 struct kobj_attribute *attr, const char *buf, size_t count) in obsolete_target_store()
295 static struct kobj_attribute damon_sysfs_target_pid_attr =
298 static struct kobj_attribute damon_sysfs_target_obsolete_attr =
388 struct kobj_attribute *attr, char *buf) in nr_targets_show()
397 struct kobj_attribute *attr, const char *buf, size_t count) in nr_targets_store()
424 static struct kobj_attribute damon_sysfs_targets_nr_attr =
469 struct kobj_attribute *attr, char *buf) in access_bp_show()
478 struct kobj_attribute *attr, const char *buf, size_t count) in access_bp_store()
493 struct kobj_attribute *attr, char *buf) in aggrs_show()
502 struct kobj_attribute *attr, const char *buf, size_t count) in aggrs_store()
517 struct kobj_attribute *attr, char *buf) in min_sample_us_show()
526 struct kobj_attribute *attr, const char *buf, size_t count) in min_sample_us_store()
541 struct kobj_attribute *attr, char *buf) in max_sample_us_show()
550 struct kobj_attribute *attr, const char *buf, size_t count) in max_sample_us_store()
569 static struct kobj_attribute damon_sysfs_intervals_goal_access_bp_attr =
572 static struct kobj_attribute damon_sysfs_intervals_goal_aggrs_attr =
575 static struct kobj_attribute damon_sysfs_intervals_goal_min_sample_us_attr =
578 static struct kobj_attribute damon_sysfs_intervals_goal_max_sample_us_attr =
651 struct kobj_attribute *attr, char *buf) in sample_us_show()
660 struct kobj_attribute *attr, const char *buf, size_t count) in sample_us_store()
674 static ssize_t aggr_us_show(struct kobject *kobj, struct kobj_attribute *attr, in aggr_us_show()
683 static ssize_t aggr_us_store(struct kobject *kobj, struct kobj_attribute *attr, in aggr_us_store()
699 struct kobj_attribute *attr, char *buf) in update_us_show()
708 struct kobj_attribute *attr, const char *buf, size_t count) in update_us_store()
727 static struct kobj_attribute damon_sysfs_intervals_sample_us_attr =
730 static struct kobj_attribute damon_sysfs_intervals_aggr_us_attr =
733 static struct kobj_attribute damon_sysfs_intervals_update_us_attr =
978 struct kobj_attribute *attr, char *buf) in avail_operations_show()
995 struct kobj_attribute *attr, char *buf) in operations_show()
1012 struct kobj_attribute *attr, const char *buf, size_t count) in operations_store()
1031 struct kobj_attribute *attr, char *buf) in addr_unit_show()
1040 struct kobj_attribute *attr, const char *buf, size_t count) in addr_unit_store()
1061 static struct kobj_attribute damon_sysfs_context_avail_operations_attr =
1064 static struct kobj_attribute damon_sysfs_context_operations_attr =
1067 static struct kobj_attribute damon_sysfs_context_addr_unit_attr =
1158 struct kobj_attribute *attr, char *buf) in nr_contexts_show()
1167 struct kobj_attribute *attr, const char *buf, size_t count) in nr_contexts_store()
1195 static struct kobj_attribute damon_sysfs_contexts_nr_attr
1318 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show()
1784 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store()
1807 struct kobj_attribute *attr, char *buf) in pid_show()
1829 struct kobj_attribute *attr, char *buf) in refresh_ms_show()
1838 struct kobj_attribute *attr, const char *buf, size_t count) in refresh_ms_store()
1862 static struct kobj_attribute damon_sysfs_kdamond_state_attr =
1865 static struct kobj_attribute damon_sysfs_kdamond_pid_attr =
1868 static struct kobj_attribute damon_sysfs_kdamond_refresh_ms_attr =
1975 struct kobj_attribute *attr, char *buf) in nr_kdamonds_show()
1984 struct kobj_attribute *attr, const char *buf, size_t count) in nr_kdamonds_store()
2012 static struct kobj_attribute damon_sysfs_kdamonds_nr_attr =