Home
last modified time | relevance | path

Searched refs:cftype (Results 1 – 25 of 27) sorted by relevance

12

/linux/include/linux/
A Dcgroup-defs.h536 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 Dcgroup.h113 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 Dblk-cgroup.h161 struct cftype *dfl_cftypes;
162 struct cftype *legacy_cftypes;
A Dhugetlb.h625 struct cftype cgroup_files_dfl[7];
626 struct cftype cgroup_files_legacy[9];
/linux/kernel/sched/
A Dcpuacct.c170 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 Dcore.c10173 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 Ddebug.c35 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 Dlegacy_freezer.c438 struct cftype *cft) in freezer_self_freezing_read()
446 struct cftype *cft) in freezer_parent_freezing_read()
453 static struct cftype files[] = {
A Dcgroup.c654 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 Dpids.c307 struct cftype *cft) in pids_current_read()
322 static struct cftype pids_files[] = {
A Dcgroup-v1.c581 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 Dcgroup-internal.h285 extern struct cftype cgroup1_base_files[];
A Dcpuset.c2339 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 Dmisc.c350 static struct cftype misc_cg_files[] = {
A Drdma.c545 static struct cftype rdmacg_files[] = {
/linux/net/core/
A Dnetclassid_cgroup.c109 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 Dnetprio_cgroup.c178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx()
243 static struct cftype ss_files[] = {
/linux/mm/
A Dhugetlb_cgroup.c422 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 Dmemcontrol.c3524 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 Dblk-ioprio.c165 static struct cftype ioprio_files[] = {
170 static struct cftype ioprio_legacy_files[] = {
A Dbfq-iosched.h1014 extern struct cftype bfq_blkcg_legacy_files[];
1015 extern struct cftype bfq_blkg_files[];
A Dbfq-cgroup.c1030 struct cftype *cftype, in bfq_io_set_weight_legacy() argument
1266 struct cftype bfq_blkcg_legacy_files[] = {
1392 struct cftype bfq_blkg_files[] = {
A Dblk-cgroup.c456 struct cftype *cftype, u64 val) in blkcg_reset_stats() argument
964 static struct cftype blkcg_files[] = {
972 static struct cftype blkcg_legacy_files[] = {
A Dblk-iolatency.c1028 static struct cftype iolatency_files[] = {
/linux/security/
A Ddevice_cgroup.c770 static struct cftype dev_cgroup_files[] = {

Completed in 112 milliseconds

12