Lines Matching refs:kobj
27 range->kobj = (struct kobject){}; in damon_sysfs_ul_range_alloc()
34 static ssize_t min_show(struct kobject *kobj, struct kobj_attribute *attr, in min_show() argument
37 struct damon_sysfs_ul_range *range = container_of(kobj, in min_show()
38 struct damon_sysfs_ul_range, kobj); in min_show()
43 static ssize_t min_store(struct kobject *kobj, struct kobj_attribute *attr, in min_store() argument
46 struct damon_sysfs_ul_range *range = container_of(kobj, in min_store()
47 struct damon_sysfs_ul_range, kobj); in min_store()
59 static ssize_t max_show(struct kobject *kobj, struct kobj_attribute *attr, in max_show() argument
62 struct damon_sysfs_ul_range *range = container_of(kobj, in max_show()
63 struct damon_sysfs_ul_range, kobj); in max_show()
68 static ssize_t max_store(struct kobject *kobj, struct kobj_attribute *attr, in max_store() argument
71 struct damon_sysfs_ul_range *range = container_of(kobj, in max_store()
72 struct damon_sysfs_ul_range, kobj); in max_store()
84 void damon_sysfs_ul_range_release(struct kobject *kobj) in damon_sysfs_ul_range_release() argument
86 kfree(container_of(kobj, struct damon_sysfs_ul_range, kobj)); in damon_sysfs_ul_range_release()