/linux-6.6.21/kernel/cgroup/ |
D | cgroup-internal.h | 144 struct cgroup_taskset tset; member 150 #define CGROUP_TASKSET_INIT(tset) \ argument 152 .src_csets = LIST_HEAD_INIT(tset.src_csets), \ 153 .dst_csets = LIST_HEAD_INIT(tset.dst_csets), \ 154 .csets = &tset.src_csets, \ 161 CGROUP_TASKSET_INIT(name.tset), \
|
D | pids.c | 191 static int pids_can_attach(struct cgroup_taskset *tset) in pids_can_attach() argument 196 cgroup_taskset_for_each(task, dst_css, tset) { in pids_can_attach() 216 static void pids_cancel_attach(struct cgroup_taskset *tset) in pids_cancel_attach() argument 221 cgroup_taskset_for_each(task, dst_css, tset) { in pids_cancel_attach()
|
D | cgroup.c | 2426 mgctx->tset.nr_tasks++; in cgroup_migrate_add_task() 2431 &mgctx->tset.src_csets); in cgroup_migrate_add_task() 2434 &mgctx->tset.dst_csets); in cgroup_migrate_add_task() 2444 struct task_struct *cgroup_taskset_first(struct cgroup_taskset *tset, in cgroup_taskset_first() argument 2447 tset->cur_cset = list_first_entry(tset->csets, struct css_set, mg_node); in cgroup_taskset_first() 2448 tset->cur_task = NULL; in cgroup_taskset_first() 2450 return cgroup_taskset_next(tset, dst_cssp); in cgroup_taskset_first() 2461 struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset, in cgroup_taskset_next() argument 2464 struct css_set *cset = tset->cur_cset; in cgroup_taskset_next() 2465 struct task_struct *task = tset->cur_task; in cgroup_taskset_next() [all …]
|
D | legacy_freezer.c | 169 static void freezer_attach(struct cgroup_taskset *tset) in freezer_attach() argument 186 cgroup_taskset_for_each(task, new_css, tset) { in freezer_attach()
|
D | cpuset.c | 2537 static int cpuset_can_attach(struct cgroup_taskset *tset) in cpuset_can_attach() argument 2546 cpuset_attach_old_cs = task_cs(cgroup_taskset_first(tset, &css)); in cpuset_can_attach() 2560 cgroup_taskset_for_each(task, css, tset) { in cpuset_can_attach() 2613 static void cpuset_cancel_attach(struct cgroup_taskset *tset) in cpuset_cancel_attach() argument 2618 cgroup_taskset_first(tset, &css); in cpuset_cancel_attach() 2663 static void cpuset_attach(struct cgroup_taskset *tset) in cpuset_attach() argument 2672 cgroup_taskset_first(tset, &css); in cpuset_attach() 2695 cgroup_taskset_for_each(task, css, tset) in cpuset_attach() 2708 cgroup_taskset_for_each_leader(leader, css, tset) { in cpuset_attach()
|
/linux-6.6.21/include/linux/ |
D | cgroup.h | 153 struct task_struct *cgroup_taskset_first(struct cgroup_taskset *tset, 155 struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset, 286 #define cgroup_taskset_for_each(task, dst_css, tset) \ argument 287 for ((task) = cgroup_taskset_first((tset), &(dst_css)); \ 289 (task) = cgroup_taskset_next((tset), &(dst_css))) 300 #define cgroup_taskset_for_each_leader(leader, dst_css, tset) \ argument 301 for ((leader) = cgroup_taskset_first((tset), &(dst_css)); \ 303 (leader) = cgroup_taskset_next((tset), &(dst_css))) \
|
D | cgroup-defs.h | 681 int (*can_attach)(struct cgroup_taskset *tset); 682 void (*cancel_attach)(struct cgroup_taskset *tset); 683 void (*attach)(struct cgroup_taskset *tset);
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | fsmc_nand.c | 111 u8 tset; member 266 u32 tclr, tar, thiz, thold, twait, tset; in fsmc_nand_setup() local 273 tset = (tims->tset & FSMC_TSET_MASK) << FSMC_TSET_SHIFT; in fsmc_nand_setup() 279 writel_relaxed(thiz | thold | twait | tset, host->regs_va + COMM); in fsmc_nand_setup() 280 writel_relaxed(thiz | thold | twait | tset, host->regs_va + ATTRIB); in fsmc_nand_setup() 289 u32 thiz, thold, twait, tset, twait_min; in fsmc_calc_timings() local 321 tset = max(sdrt->tCS_min - sdrt->tWP_min, in fsmc_calc_timings() 323 tims->tset = DIV_ROUND_UP(tset / 1000, hclkn) - 1; in fsmc_calc_timings() 324 if (tims->tset == 0) in fsmc_calc_timings() 325 tims->tset = 1; in fsmc_calc_timings() [all …]
|
/linux-6.6.21/net/core/ |
D | netclassid_cgroup.c | 99 static void cgrp_attach(struct cgroup_taskset *tset) in cgrp_attach() argument 104 cgroup_taskset_for_each(p, css, tset) { in cgrp_attach()
|
D | netprio_cgroup.c | 229 static void net_prio_attach(struct cgroup_taskset *tset) in net_prio_attach() argument 234 cgroup_taskset_for_each(p, css, tset) { in net_prio_attach()
|
/linux-6.6.21/Documentation/admin-guide/cgroup-v1/ |
D | cgroups.rst | 594 ``int can_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)`` 599 @tset contains the tasks to be attached and is guaranteed to have at 604 - @tset contains all tasks from the thread group whether or not 608 Each @tset entry also contains the task's old cgroup and tasks which 629 ``void cancel_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)`` 638 ``void attach(struct cgroup *cgrp, struct cgroup_taskset *tset)``
|
/linux-6.6.21/mm/ |
D | memcontrol.c | 6132 static int mem_cgroup_can_attach(struct cgroup_taskset *tset) in mem_cgroup_can_attach() argument 6153 cgroup_taskset_for_each_leader(leader, css, tset) { in mem_cgroup_can_attach() 6202 static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset) in mem_cgroup_cancel_attach() argument 6369 static int mem_cgroup_can_attach(struct cgroup_taskset *tset) in mem_cgroup_can_attach() argument 6373 static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset) in mem_cgroup_cancel_attach() argument 6382 static void mem_cgroup_attach(struct cgroup_taskset *tset) in mem_cgroup_attach() argument 6388 cgroup_taskset_for_each_leader(task, css, tset) in mem_cgroup_attach() 6400 static void mem_cgroup_attach(struct cgroup_taskset *tset) in mem_cgroup_attach() argument
|
/linux-6.6.21/arch/arm64/boot/dts/qcom/ |
D | sm7225-fairphone-fp4.dts | 413 awinic,tset = /bits/ 8 <0x12>;
|
/linux-6.6.21/kernel/sched/ |
D | core.c | 10606 static int cpu_cgroup_can_attach(struct cgroup_taskset *tset) in cpu_cgroup_can_attach() argument 10611 cgroup_taskset_for_each(task, css, tset) { in cpu_cgroup_can_attach() 10619 static void cpu_cgroup_attach(struct cgroup_taskset *tset) in cpu_cgroup_attach() argument 10624 cgroup_taskset_for_each(task, css, tset) in cpu_cgroup_attach()
|
/linux-6.6.21/kernel/events/ |
D | core.c | 13847 static void perf_cgroup_attach(struct cgroup_taskset *tset) in perf_cgroup_attach() argument 13852 cgroup_taskset_for_each(task, css, tset) in perf_cgroup_attach()
|