cftype
struct cftype *cftype,
struct cftype bfq_blkcg_legacy_files[] = {
struct cftype bfq_blkg_files[] = {
extern struct cftype bfq_blkcg_legacy_files[];
extern struct cftype bfq_blkg_files[];
static struct cftype blkcg_files[] = {
static struct cftype blkcg_legacy_files[] = {
struct cftype *cftype, u64 val)
pr_info_once("blkio.%s is deprecated\n", cftype->name);
struct cftype *dfl_cftypes;
struct cftype *legacy_cftypes;
static struct cftype ioc_files[] = {
static struct cftype iolatency_files[] = {
static struct cftype ioprio_files[] = {
static struct cftype throtl_legacy_files[] = {
static struct cftype throtl_files[] = {
u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft);
s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft,
int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
struct cftype *dfl_cftypes; /* for the default hierarchy */
struct cftype *legacy_cftypes; /* for the legacy hierarchies */
int cgroup_add_dfl_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
int cgroup_add_legacy_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
int cgroup_rm_cftypes(struct cftype *cfts);
static inline struct cftype *of_cft(struct kernfs_open_file *of)
static inline struct cftype *seq_cft(struct seq_file *seq)
extern struct cftype cgroup1_base_files[];
struct cftype *cft)
struct cftype *cft, u64 val)
struct cftype *cft)
struct cftype *cft, u64 val)
struct cftype cgroup1_base_files[] = {
static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft,
static umode_t cgroup_file_mode(const struct cftype *cft)
static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft)
struct cftype *cfts;
struct cftype *cfts, *failed_cfts;
static struct cftype cgroup_base_files[];
static struct cftype cgroup_psi_files[];
struct cgroup *cgrp, struct cftype cfts[],
struct cftype *cft = of_cft(of);
struct cftype *cft = of_cft(of);
struct cftype *cft = of_cft(of);
struct cftype *cft = of_cft(of);
struct cftype *cft = seq_cft(m);
struct cftype *cft)
struct cgroup *cgrp, struct cftype cfts[],
struct cftype *cft, *cft_end = NULL;
static int cgroup_apply_cftypes(struct cftype *cfts, bool is_add)
static void cgroup_exit_cftypes(struct cftype *cfts)
struct cftype *cft;
static int cgroup_init_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)
struct cftype *cft;
static void cgroup_rm_cftypes_locked(struct cftype *cfts)
int cgroup_rm_cftypes(struct cftype *cfts)
int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)
int cgroup_add_dfl_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)
struct cftype *cft;
int cgroup_add_legacy_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)
struct cftype *cft;
static struct cftype cgroup_base_files[] = {
static struct cftype cgroup_psi_files[] = {
struct cftype *cft = of_cft(of);
static ssize_t show_delegatable_files(struct cftype *files, char *buf,
struct cftype *cft;
extern struct cftype cpuset1_files[];
static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft,
static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft)
static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft)
static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft,
struct cftype cpuset1_files[] = {
static struct cftype dfl_files[] = {
static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft)
static struct cftype debug_legacy_files[] = {
static struct cftype debug_files[] = {
struct cftype *cft)
struct cftype *cft)
static struct cftype files[] = {
struct cftype *cft)
struct cftype *cft)
static struct cftype files[] = {
static struct cftype misc_cg_files[] = {
struct cftype *cft)
struct cftype *cft)
static struct cftype pids_files[] = {
static struct cftype pids_files_legacy[] = {
static struct cftype rdmacg_files[] = {
struct cftype *cft)
struct cftype *cft)
struct cftype *cft)
struct cftype *cftype, u64 period_us)
struct cftype *cftype, s64 quota_us)
struct cftype *cftype, u64 burst_us)
struct cftype *cft, s64 val)
struct cftype *cft)
struct cftype *cftype, u64 rt_period_us)
struct cftype *cft)
struct cftype *cft)
struct cftype *cft, s64 idle)
static struct cftype cpu_legacy_files[] = {
static struct cftype rt_group_files[] = {
struct cftype *cft)
struct cftype *cft, u64 cgrp_weight)
struct cftype *cft)
struct cftype *cft, s64 nice)
static struct cftype cpu_files[] = {
struct cftype *cftype, u64 shareval)
struct cftype *cft)
struct cftype *cft)
struct cftype *cft)
static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft)
static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft,
static struct cftype files[] = {
static struct cftype *dfl_files;
static struct cftype *legacy_files;
struct cftype *cft = seq_cft(seq);
struct cftype *cft)
struct cftype *cft = seq_cft(seq);
struct cftype *cft = seq_cft(seq);
static struct cftype hugetlb_dfl_tmpl[] = {
static struct cftype hugetlb_legacy_tmpl[] = {
hugetlb_cgroup_cfttypes_init(struct hstate *h, struct cftype *cft,
struct cftype *tmpl, int tmpl_size)
dfl_files = kzalloc_objs(struct cftype, cft_count);
legacy_files = kzalloc_objs(struct cftype, cft_count);
static struct cftype hugetlb_files[] = {
struct cftype *cft)
struct cftype *cft, u64 val)
struct cftype *cft)
struct cftype *cft)
struct cftype *cft, u64 val)
struct cftype *cft, u64 val)
struct cftype mem_cgroup_legacy_files[] = {
struct cftype memsw_files[] = {
struct cftype *cft)
struct cftype *cft, u64 val)
struct cftype *cft, u64 val)
extern struct cftype memsw_files[];
extern struct cftype mem_cgroup_legacy_files[];
struct cftype *cft)
static struct cftype memory_files[] = {
struct cftype *cft)
static struct cftype swap_files[] = {
struct cftype *cft)
static struct cftype zswap_files[] = {
static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft)
static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft,
static struct cftype ss_files[] = {
static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft)
static struct cftype ss_files[] = {
static struct cftype dev_cgroup_files[] = {