#include <linux/slab.h>
#include "sysfs-common.h"
DEFINE_MUTEX(…) …;
struct damon_sysfs_ul_range *damon_sysfs_ul_range_alloc(
unsigned long min,
unsigned long max)
{ … }
static ssize_t min_show(struct kobject *kobj, struct kobj_attribute *attr,
char *buf)
{ … }
static ssize_t min_store(struct kobject *kobj, struct kobj_attribute *attr,
const char *buf, size_t count)
{ … }
static ssize_t max_show(struct kobject *kobj, struct kobj_attribute *attr,
char *buf)
{ … }
static ssize_t max_store(struct kobject *kobj, struct kobj_attribute *attr,
const char *buf, size_t count)
{ … }
void damon_sysfs_ul_range_release(struct kobject *kobj)
{ … }
static struct kobj_attribute damon_sysfs_ul_range_min_attr = …;
static struct kobj_attribute damon_sysfs_ul_range_max_attr = …;
static struct attribute *damon_sysfs_ul_range_attrs[] = …;
ATTRIBUTE_GROUPS(…);
const struct kobj_type damon_sysfs_ul_range_ktype = …;