/linux/kernel/cgroup/ |
H A D | cgroup.c | 639 struct cftype *cft = of_cft(of); in of_css() local 649 if (CGROUP_HAS_SUBSYS_CONFIG && cft->ss) in of_css() 650 return rcu_dereference_raw(cgrp->subsys[cft->ss->id]); in of_css() 1513 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name() argument 1516 struct cgroup_subsys *ss = cft->ss; in cgroup_file_name() 1518 if (cft->ss && !(cft->flags & CFTYPE_NO_PREFIX) && in cgroup_file_name() 1520 const char *dbg = (cft->flags & CFTYPE_DEBUG) ? ".__DEBUG__." : ""; in cgroup_file_name() 1524 cft->name); in cgroup_file_name() 1526 strscpy(buf, cft->name, CGROUP_FILE_NAME_MAX); in cgroup_file_name() 1537 static umode_t cgroup_file_mode(const struct cftype *cft) in cgroup_file_mode() argument [all …]
|
H A D | cpuset-v1.c | 164 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() argument 168 cpuset_filetype_t type = cft->private; in cpuset_write_s64() 190 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() argument 193 cpuset_filetype_t type = cft->private; in cpuset_read_s64() 376 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() argument 379 cpuset_filetype_t type = cft->private; in cpuset_read_u64() 408 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() argument 412 cpuset_filetype_t type = cft->private; in cpuset_write_u64()
|
H A D | debug.c | 35 struct cftype *cft) in debug_taskcount_read() argument 77 struct cftype *cft) in current_css_set_refcount_read() argument 271 static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) in releasable_read() argument
|
H A D | legacy_freezer.c | 443 struct cftype *cft) in freezer_self_freezing_read() argument 451 struct cftype *cft) in freezer_parent_freezing_read() argument
|
H A D | pids.c | 346 struct cftype *cft) in pids_current_read() argument 354 struct cftype *cft) in pids_peak_read() argument
|
H A D | cgroup-v1.c | 596 struct cftype *cft) in cgroup_read_notify_on_release() argument 602 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() argument 612 struct cftype *cft) in cgroup_clone_children_read() argument 618 struct cftype *cft, u64 val) in cgroup_clone_children_write() argument
|
/linux/mm/ |
H A D | hugetlb_cgroup.c | 470 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat() 471 int idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_numa_stat() local 521 struct cftype *cft) in hugetlb_cgroup_read_u64() 527 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64() 528 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64() 530 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64() 556 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() 561 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max() 567 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max() 689 struct cftype *cft in __hugetlb_events_show() 522 hugetlb_cgroup_read_u64(struct cgroup_subsys_state * css,struct cftype * cft) hugetlb_cgroup_read_u64() argument 557 struct cftype *cft = seq_cft(seq); hugetlb_cgroup_read_u64_max() local 690 struct cftype *cft = seq_cft(seq); __hugetlb_events_show() local 817 hugetlb_cgroup_cfttypes_init(struct hstate * h,struct cftype * cft,struct cftype * tmpl,int tmpl_size) hugetlb_cgroup_cfttypes_init() argument [all...] |
H A D | memcontrol.c | 3935 struct cftype *cft) in memory_current_read() argument 5142 struct cftype *cft) in swap_current_read() argument 5371 struct cftype *cft) in zswap_current_read() argument
|
/linux/include/linux/ |
H A D | cgroup-defs.h | 661 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); 665 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); 680 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, 685 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
|
/linux/kernel/sched/ |
H A D | cpuacct.c | 175 struct cftype *cft) in cpuusage_user_read() argument 181 struct cftype *cft) in cpuusage_sys_read() argument 186 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() argument 191 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write() argument
|
H A D | core.c | 9394 struct cftype *cft) in cpu_shares_read_u64() argument 9576 struct cftype *cft) in cpu_cfs_quota_read_s64() argument 9588 struct cftype *cft) in cpu_cfs_period_read_u64() argument 9600 struct cftype *cft) in cpu_cfs_burst_read_u64() argument 9747 struct cftype *cft, s64 val) in cpu_rt_runtime_write() argument 9753 struct cftype *cft) in cpu_rt_runtime_read() argument 9765 struct cftype *cft) in cpu_rt_period_read_uint() argument 9773 struct cftype *cft) in cpu_idle_read_s64() argument 9779 struct cftype *cft, s64 idle) in cpu_idle_write_s64() argument 9904 struct cftype *cft) in cpu_weight_read_u64() argument [all …]
|
/linux/net/core/ |
H A D | netclassid_cgroup.c | 115 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() argument 120 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid() argument
|
H A D | netprio_cgroup.c | 178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() argument
|