linux/mm/damon/sysfs-common.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Common Primitives for DAMON Sysfs Interface
 *
 * Author: SeongJae Park <[email protected]>
 */

#include <linux/slab.h>

#include "sysfs-common.h"

DEFINE_MUTEX();

/*
 * unsigned long range directory
 */

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 =;