Home
last modified time | relevance | path

Searched refs:cft (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/mm/ !
Dhugetlb_cgroup.c470 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat() local
471 int idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_numa_stat()
472 bool legacy = MEMFILE_ATTR(cft->private); in hugetlb_cgroup_read_numa_stat()
521 struct cftype *cft) in hugetlb_cgroup_read_u64() argument
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() local
561 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max()
567 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max()
[all …]
Dmemcontrol.c3647 struct cftype *cft) in mem_cgroup_hierarchy_read() argument
3653 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() argument
3696 struct cftype *cft) in mem_cgroup_read_u64() argument
3701 switch (MEMFILE_TYPE(cft->private)) { in mem_cgroup_read_u64()
3718 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64()
3933 struct cftype *cft) in mem_cgroup_move_charge_read() argument
3940 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
3962 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
4177 struct cftype *cft) in mem_cgroup_swappiness_read() argument
4185 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() argument
[all …]
/linux-6.6.21/kernel/cgroup/ !
Dcgroup.c637 struct cftype *cft = of_cft(of); in of_css() local
647 if (CGROUP_HAS_SUBSYS_CONFIG && cft->ss) in of_css()
648 return rcu_dereference_raw(cgrp->subsys[cft->ss->id]); in of_css()
1496 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name() argument
1499 struct cgroup_subsys *ss = cft->ss; in cgroup_file_name()
1501 if (cft->ss && !(cft->flags & CFTYPE_NO_PREFIX) && in cgroup_file_name()
1503 const char *dbg = (cft->flags & CFTYPE_DEBUG) ? ".__DEBUG__." : ""; in cgroup_file_name()
1507 cft->name); in cgroup_file_name()
1509 strscpy(buf, cft->name, CGROUP_FILE_NAME_MAX); in cgroup_file_name()
1520 static umode_t cgroup_file_mode(const struct cftype *cft) in cgroup_file_mode() argument
[all …]
Ddebug.c35 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
Dpids.c327 struct cftype *cft) in pids_current_read() argument
335 struct cftype *cft) in pids_peak_read() argument
Dlegacy_freezer.c444 struct cftype *cft) in freezer_self_freezing_read() argument
452 struct cftype *cft) in freezer_parent_freezing_read() argument
Dcgroup-v1.c590 struct cftype *cft) in cgroup_read_notify_on_release() argument
596 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() argument
606 struct cftype *cft) in cgroup_clone_children_read() argument
612 struct cftype *cft, u64 val) in cgroup_clone_children_write() argument
Dcpuset.c2767 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() argument
2771 cpuset_filetype_t type = cft->private; in cpuset_write_u64()
2816 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() argument
2820 cpuset_filetype_t type = cft->private; in cpuset_write_s64()
2950 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() argument
2953 cpuset_filetype_t type = cft->private; in cpuset_read_u64()
2981 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() argument
2984 cpuset_filetype_t type = cft->private; in cpuset_read_s64()
/linux-6.6.21/include/linux/ !
Dcgroup-defs.h620 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft);
624 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
639 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft,
644 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
/linux-6.6.21/kernel/sched/ !
Dcpuacct.c175 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
Dcore.c10815 struct cftype *cft) in cpu_shares_read_u64() argument
10998 struct cftype *cft) in cpu_cfs_quota_read_s64() argument
11010 struct cftype *cft) in cpu_cfs_period_read_u64() argument
11022 struct cftype *cft) in cpu_cfs_burst_read_u64() argument
11174 struct cftype *cft, s64 val) in cpu_rt_runtime_write() argument
11180 struct cftype *cft) in cpu_rt_runtime_read() argument
11192 struct cftype *cft) in cpu_rt_period_read_uint() argument
11200 struct cftype *cft) in cpu_idle_read_s64() argument
11206 struct cftype *cft, s64 idle) in cpu_idle_write_s64() argument
11325 struct cftype *cft) in cpu_weight_read_u64() argument
[all …]
/linux-6.6.21/net/core/ !
Dnetclassid_cgroup.c109 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() argument
114 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid() argument
Dnetprio_cgroup.c178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() argument