Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dhugetlb_cgroup.c425 struct cftype *cft) in hugetlb_cgroup_read_u64() argument
431 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
432 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
434 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64()
460 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() local
465 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max()
471 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max()
593 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show() local
596 idx = MEMFILE_IDX(cft->private); in __hugetlb_events_show()
621 struct cftype *cft; in __hugetlb_cgroup_file_dfl_init() local
[all …]
Dmemcg_control.c141 struct cftype *cft) in mem_cgroup_app_score_read() argument
149 struct cftype *cft, u64 val) in mem_cgroup_app_score_write() argument
326 struct cftype *cft, u64 val) in memcg_ub_ufs2zram_ratio_write() argument
339 static u64 memcg_ub_ufs2zram_ratio_read(struct cgroup_subsys_state *css, struct cftype *cft) in memcg_ub_ufs2zram_ratio_read() argument
346 static int memcg_force_swapin_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val) in memcg_force_swapin_write() argument
377 struct cftype *cft, u64 reclaim_size) in memcg_force_shrink_purgeable_bysize() argument
474 struct cftype *cft) in mem_cgroup_app_score_read() argument
480 struct cftype *cft, u64 val) in mem_cgroup_app_score_write() argument
Dzswapd_control.c210 struct cftype *cft, u64 val) in area_anon_refault_threshold_write() argument
218 struct cftype *cft, u64 val) in empty_round_skip_interval_write() argument
226 struct cftype *cft, u64 val) in max_skip_interval_write() argument
234 struct cftype *cft, u64 val) in empty_round_check_threshold_write() argument
242 struct cftype *cft, u64 val) in anon_refault_snapshot_min_interval_write() argument
250 struct cftype *cft, u64 val) in zram_critical_thres_write() argument
308 static u64 zswapd_pid_read(struct cgroup_subsys_state *css, struct cftype *cft) in zswapd_pid_read() argument
557 struct cftype *cft) in area_anon_refault_threshold_read() argument
563 struct cftype *cft) in empty_round_skip_interval_read() argument
569 struct cftype *cft) in max_skip_interval_read() argument
[all …]
Dmemcontrol.c3564 struct cftype *cft) in mem_cgroup_hierarchy_read() argument
3570 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() argument
3626 struct cftype *cft) in mem_cgroup_read_u64() argument
3631 switch (MEMFILE_TYPE(cft->private)) { in mem_cgroup_read_u64()
3648 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64()
3951 struct cftype *cft) in mem_cgroup_move_charge_read() argument
3958 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
3976 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
4206 struct cftype *cft) in mem_cgroup_swappiness_read() argument
4214 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() argument
[all …]
/kernel/linux/linux-5.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()
1460 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name() argument
1463 struct cgroup_subsys *ss = cft->ss; in cgroup_file_name()
1465 if (cft->ss && !(cft->flags & CFTYPE_NO_PREFIX) && in cgroup_file_name()
1467 const char *dbg = (cft->flags & CFTYPE_DEBUG) ? ".__DEBUG__." : ""; in cgroup_file_name()
1471 cft->name); in cgroup_file_name()
1473 strscpy(buf, cft->name, CGROUP_FILE_NAME_MAX); in cgroup_file_name()
1484 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.c597 struct cftype *cft) in cgroup_read_notify_on_release() argument
603 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() argument
613 struct cftype *cft) in cgroup_clone_children_read() argument
619 struct cftype *cft, u64 val) in cgroup_clone_children_write() argument
Dcpuset.c2312 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() argument
2316 cpuset_filetype_t type = cft->private; in cpuset_write_u64()
2361 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() argument
2365 cpuset_filetype_t type = cft->private; in cpuset_write_s64()
2495 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() argument
2498 cpuset_filetype_t type = cft->private; in cpuset_read_u64()
2526 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() argument
2529 cpuset_filetype_t type = cft->private; in cpuset_read_s64()
Dpids.c307 struct cftype *cft) in pids_current_read() argument
/kernel/linux/linux-5.10/include/linux/
Dcgroup-defs.h577 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft);
581 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
596 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft,
601 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
/kernel/linux/linux-5.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.c8504 struct cftype *cft) in sched_colocate_read() argument
8512 struct cftype *cft, u64 colocate) in sched_colocate_write() argument
8537 struct cftype *cft) in cpu_shares_read_u64() argument
8688 struct cftype *cft) in cpu_cfs_quota_read_s64() argument
8700 struct cftype *cft) in cpu_cfs_period_read_u64() argument
8820 struct cftype *cft, s64 val) in cpu_rt_runtime_write() argument
8826 struct cftype *cft) in cpu_rt_runtime_read() argument
8838 struct cftype *cft) in cpu_rt_period_read_uint() argument
8929 struct cftype *cft) in cpu_weight_read_u64() argument
8938 struct cftype *cft, u64 weight) in cpu_weight_write_u64() argument
[all …]
/kernel/linux/linux-5.10/net/core/
Dnetclassid_cgroup.c110 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() argument
115 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
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch430 …-2317,7 +2337,7 @@ static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft,
439 …-2353,7 +2373,7 @@ static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft,
448 …-2366,7 +2386,7 @@ static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft,
457 …-2379,7 +2399,7 @@ static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft,