/linux/include/linux/ |
A D | cgroup-defs.h | 536 struct cftype { struct 577 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); argument 581 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); argument 596 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, argument 601 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft, argument 698 struct cftype *dfl_cftypes; /* for the default hierarchy */ 699 struct cftype *legacy_cftypes; /* for the legacy hierarchies */
|
A D | cgroup.h | 113 int cgroup_add_dfl_cftypes(struct cgroup_subsys *ss, struct cftype *cfts); 114 int cgroup_add_legacy_cftypes(struct cgroup_subsys *ss, struct cftype *cfts); 115 int cgroup_rm_cftypes(struct cftype *cfts); 631 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() 639 static inline struct cftype *seq_cft(struct seq_file *seq) in seq_cft()
|
A D | blk-cgroup.h | 161 struct cftype *dfl_cftypes; 162 struct cftype *legacy_cftypes;
|
A D | hugetlb.h | 625 struct cftype cgroup_files_dfl[7]; 626 struct cftype cgroup_files_legacy[9];
|
/linux/kernel/sched/ |
A D | cpuacct.c | 170 struct cftype *cft) in cpuusage_user_read() 176 struct cftype *cft) in cpuusage_sys_read() 181 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() 186 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write() 297 static struct cftype files[] = {
|
A D | core.c | 10173 struct cftype *cftype, u64 shareval) in cpu_shares_write_u64() argument 10181 struct cftype *cft) in cpu_shares_read_u64() 10364 struct cftype *cft) in cpu_cfs_quota_read_s64() 10370 struct cftype *cftype, s64 cfs_quota_us) in cpu_cfs_quota_write_s64() argument 10376 struct cftype *cft) in cpu_cfs_period_read_u64() 10382 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument 10388 struct cftype *cft) in cpu_cfs_burst_read_u64() 10394 struct cftype *cftype, u64 cfs_burst_us) in cpu_cfs_burst_write_u64() argument 10526 struct cftype *cftype, u64 rt_period_us) in cpu_rt_period_write_uint() argument 10532 struct cftype *cft) in cpu_rt_period_read_uint() [all …]
|
/linux/kernel/cgroup/ |
A D | debug.c | 35 struct cftype *cft) in debug_taskcount_read() 77 struct cftype *cft) in current_css_set_refcount_read() 271 static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) in releasable_read() 277 static struct cftype debug_legacy_files[] = { 324 static struct cftype debug_files[] = {
|
A D | legacy_freezer.c | 438 struct cftype *cft) in freezer_self_freezing_read() 446 struct cftype *cft) in freezer_parent_freezing_read() 453 static struct cftype files[] = {
|
A D | cgroup.c | 654 struct cftype *cft = of_cft(of); in of_css() 1672 struct cftype *cfts; in css_clear_dir() 3818 struct cftype *cft = of_cft(of); in cgroup_file_open() 3843 struct cftype *cft = of_cft(of); in cgroup_file_release() 3857 struct cftype *cft = of_cft(of); in cgroup_file_write() 3990 struct cftype *cft) in cgroup_add_file() 4105 struct cftype *cft; in cgroup_exit_cftypes() 4121 struct cftype *cft; in cgroup_init_cftypes() 4239 struct cftype *cft; in cgroup_add_dfl_cftypes() 4256 struct cftype *cft; in cgroup_add_legacy_cftypes() [all …]
|
A D | pids.c | 307 struct cftype *cft) in pids_current_read() 322 static struct cftype pids_files[] = {
|
A D | cgroup-v1.c | 581 struct cftype *cft) in cgroup_read_notify_on_release() 587 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() 597 struct cftype *cft) in cgroup_clone_children_read() 603 struct cftype *cft, u64 val) in cgroup_clone_children_write() 613 struct cftype cgroup1_base_files[] = {
|
A D | cgroup-internal.h | 285 extern struct cftype cgroup1_base_files[];
|
A D | cpuset.c | 2339 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() 2388 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() 2522 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() 2553 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() 2623 static struct cftype legacy_files[] = { 2729 static struct cftype dfl_files[] = {
|
A D | misc.c | 350 static struct cftype misc_cg_files[] = {
|
A D | rdma.c | 545 static struct cftype rdmacg_files[] = {
|
/linux/net/core/ |
A D | netclassid_cgroup.c | 109 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() 114 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid() 131 static struct cftype ss_files[] = {
|
A D | netprio_cgroup.c | 178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() 243 static struct cftype ss_files[] = {
|
/linux/mm/ |
A D | hugetlb_cgroup.c | 422 struct cftype *cft) in hugetlb_cgroup_read_u64() 457 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() 590 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show() 618 struct cftype *cft; in __hugetlb_cgroup_file_dfl_init() 682 struct cftype *cft; in __hugetlb_cgroup_file_legacy_init() 798 static struct cftype hugetlb_files[] = {
|
A D | memcontrol.c | 3524 struct cftype *cft) in mem_cgroup_hierarchy_read() 3530 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() 3570 struct cftype *cft) in mem_cgroup_read_u64() 3799 struct cftype *cft) in mem_cgroup_move_charge_read() 3806 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() 3824 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() 4037 struct cftype *cft) in mem_cgroup_swappiness_read() 4397 struct cftype *cft, u64 val) in mem_cgroup_oom_control_write() 6147 struct cftype *cft) in memory_current_read() 7294 struct cftype *cft) in swap_current_read() [all …]
|
/linux/block/ |
A D | blk-ioprio.c | 165 static struct cftype ioprio_files[] = { 170 static struct cftype ioprio_legacy_files[] = {
|
A D | bfq-iosched.h | 1014 extern struct cftype bfq_blkcg_legacy_files[]; 1015 extern struct cftype bfq_blkg_files[];
|
A D | bfq-cgroup.c | 1030 struct cftype *cftype, in bfq_io_set_weight_legacy() argument 1266 struct cftype bfq_blkcg_legacy_files[] = { 1392 struct cftype bfq_blkg_files[] = {
|
A D | blk-cgroup.c | 456 struct cftype *cftype, u64 val) in blkcg_reset_stats() argument 964 static struct cftype blkcg_files[] = { 972 static struct cftype blkcg_legacy_files[] = {
|
A D | blk-iolatency.c | 1028 static struct cftype iolatency_files[] = {
|
/linux/security/ |
A D | device_cgroup.c | 770 static struct cftype dev_cgroup_files[] = {
|