#include <linux/ctype.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include "cgroup-internal.h"
static struct cgroup_subsys_state *
debug_css_alloc(struct cgroup_subsys_state *parent_css)
{ … }
static void debug_css_free(struct cgroup_subsys_state *css)
{ … }
static u64 debug_taskcount_read(struct cgroup_subsys_state *css,
struct cftype *cft)
{ … }
static int current_css_set_read(struct seq_file *seq, void *v)
{ … }
static u64 current_css_set_refcount_read(struct cgroup_subsys_state *css,
struct cftype *cft)
{ … }
static int current_css_set_cg_links_read(struct seq_file *seq, void *v)
{ … }
#define MAX_TASKS_SHOWN_PER_CSS …
static int cgroup_css_links_read(struct seq_file *seq, void *v)
{ … }
static int cgroup_subsys_states_read(struct seq_file *seq, void *v)
{ … }
static void cgroup_masks_read_one(struct seq_file *seq, const char *name,
u16 mask)
{ … }
static int cgroup_masks_read(struct seq_file *seq, void *v)
{ … }
static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft)
{ … }
static struct cftype debug_legacy_files[] = …;
static struct cftype debug_files[] = …;
struct cgroup_subsys debug_cgrp_subsys = …;
void __init enable_debug_cgroup(void)
{ … }