Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dhugetlb_cgroup.c419 struct cftype *cft) in hugetlb_cgroup_read_u64() argument
425 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
426 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
428 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64()
454 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() local
459 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max()
465 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max()
587 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show() local
590 idx = MEMFILE_IDX(cft->private); in __hugetlb_events_show()
615 struct cftype *cft; in __hugetlb_cgroup_file_dfl_init() local
[all …]
Dmemcontrol.c3534 struct cftype *cft) in mem_cgroup_hierarchy_read() argument
3540 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() argument
3596 struct cftype *cft) in mem_cgroup_read_u64() argument
3601 switch (MEMFILE_TYPE(cft->private)) { in mem_cgroup_read_u64()
3618 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64()
3921 struct cftype *cft) in mem_cgroup_move_charge_read() argument
3928 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
3946 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
4163 struct cftype *cft) in mem_cgroup_swappiness_read() argument
4171 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() argument
[all …]
/Linux-v5.10/kernel/cgroup/
Dcgroup.c626 struct cftype *cft = of_cft(of); in of_css() local
636 if (cft->ss) in of_css()
637 return rcu_dereference_raw(cgrp->subsys[cft->ss->id]); in of_css()
1458 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name() argument
1461 struct cgroup_subsys *ss = cft->ss; in cgroup_file_name()
1463 if (cft->ss && !(cft->flags & CFTYPE_NO_PREFIX) && in cgroup_file_name()
1465 const char *dbg = (cft->flags & CFTYPE_DEBUG) ? ".__DEBUG__." : ""; in cgroup_file_name()
1469 cft->name); in cgroup_file_name()
1471 strscpy(buf, cft->name, CGROUP_FILE_NAME_MAX); in cgroup_file_name()
1482 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
Dlegacy_freezer.c438 struct cftype *cft) in freezer_self_freezing_read() argument
446 struct cftype *cft) in freezer_parent_freezing_read() argument
Dcgroup-v1.c577 struct cftype *cft) in cgroup_read_notify_on_release() argument
583 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() argument
593 struct cftype *cft) in cgroup_clone_children_read() argument
599 struct cftype *cft, u64 val) in cgroup_clone_children_write() argument
Dcpuset.c2255 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() argument
2259 cpuset_filetype_t type = cft->private; in cpuset_write_u64()
2304 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() argument
2308 cpuset_filetype_t type = cft->private; in cpuset_write_s64()
2438 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() argument
2441 cpuset_filetype_t type = cft->private; in cpuset_read_u64()
2469 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() argument
2472 cpuset_filetype_t type = cft->private; in cpuset_read_s64()
Dpids.c307 struct cftype *cft) in pids_current_read() argument
/Linux-v5.10/kernel/sched/
Dcpuacct.c170 struct cftype *cft) in cpuusage_user_read() argument
176 struct cftype *cft) in cpuusage_sys_read() argument
181 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() argument
186 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write() argument
Dcore.c7881 struct cftype *cft) in cpu_shares_read_u64() argument
8032 struct cftype *cft) in cpu_cfs_quota_read_s64() argument
8044 struct cftype *cft) in cpu_cfs_period_read_u64() argument
8164 struct cftype *cft, s64 val) in cpu_rt_runtime_write() argument
8170 struct cftype *cft) in cpu_rt_runtime_read() argument
8182 struct cftype *cft) in cpu_rt_period_read_uint() argument
8265 struct cftype *cft) in cpu_weight_read_u64() argument
8274 struct cftype *cft, u64 weight) in cpu_weight_write_u64() argument
8292 struct cftype *cft) in cpu_weight_nice_read_s64() argument
8310 struct cftype *cft, s64 nice) in cpu_weight_nice_write_s64() argument
/Linux-v5.10/include/linux/
Dcgroup-defs.h573 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft);
577 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
592 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft,
597 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
/Linux-v5.10/net/core/
Dnetclassid_cgroup.c113 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() argument
118 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