Home
last modified time | relevance | path

Searched refs:tset (Results 1 – 14 of 14) sorted by relevance

/linux/kernel/cgroup/
A Dcgroup-internal.h145 struct cgroup_taskset tset; member
151 #define CGROUP_TASKSET_INIT(tset) \ argument
153 .src_csets = LIST_HEAD_INIT(tset.src_csets), \
154 .dst_csets = LIST_HEAD_INIT(tset.dst_csets), \
155 .csets = &tset.src_csets, \
162 CGROUP_TASKSET_INIT(name.tset), \
A Dpids.c171 static int pids_can_attach(struct cgroup_taskset *tset) in pids_can_attach() argument
176 cgroup_taskset_for_each(task, dst_css, tset) { in pids_can_attach()
196 static void pids_cancel_attach(struct cgroup_taskset *tset) in pids_cancel_attach() argument
201 cgroup_taskset_for_each(task, dst_css, tset) { in pids_cancel_attach()
A Dcgroup.c2394 tset->cur_cset = list_first_entry(tset->csets, struct css_set, mg_node); in cgroup_taskset_first()
2457 struct cgroup_taskset *tset = &mgctx->tset; in cgroup_migrate_execute() local
2464 if (tset->nr_tasks) { in cgroup_migrate_execute()
2467 tset->ssid = ssid; in cgroup_migrate_execute()
2509 tset->csets = &tset->dst_csets; in cgroup_migrate_execute()
2511 if (tset->nr_tasks) { in cgroup_migrate_execute()
2514 tset->ssid = ssid; in cgroup_migrate_execute()
2515 ss->attach(tset); in cgroup_migrate_execute()
2536 list_splice_init(&tset->dst_csets, &tset->src_csets); in cgroup_migrate_execute()
2548 tset->nr_tasks = 0; in cgroup_migrate_execute()
[all …]
A Dlegacy_freezer.c158 static void freezer_attach(struct cgroup_taskset *tset) in freezer_attach() argument
175 cgroup_taskset_for_each(task, new_css, tset) { in freezer_attach()
A Dcpuset.c2193 static int cpuset_can_attach(struct cgroup_taskset *tset) in cpuset_can_attach() argument
2201 cpuset_attach_old_cs = task_cs(cgroup_taskset_first(tset, &css)); in cpuset_can_attach()
2212 cgroup_taskset_for_each(task, css, tset) { in cpuset_can_attach()
2232 static void cpuset_cancel_attach(struct cgroup_taskset *tset) in cpuset_cancel_attach() argument
2236 cgroup_taskset_first(tset, &css); in cpuset_cancel_attach()
2250 static void cpuset_attach(struct cgroup_taskset *tset) in cpuset_attach() argument
2260 cgroup_taskset_first(tset, &css); in cpuset_attach()
2267 cgroup_taskset_for_each(task, css, tset) { in cpuset_attach()
2287 cgroup_taskset_for_each_leader(leader, css, tset) { in cpuset_attach()
/linux/drivers/mtd/nand/raw/
A Dfsmc_nand.c111 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()
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()
326 else if (tims->tset > FSMC_TSET_MASK) in fsmc_calc_timings()
327 tims->tset = FSMC_TSET_MASK; in fsmc_calc_timings()
[all …]
/linux/include/linux/
A Dcgroup.h151 struct task_struct *cgroup_taskset_first(struct cgroup_taskset *tset,
153 struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset,
284 #define cgroup_taskset_for_each(task, dst_css, tset) \ argument
285 for ((task) = cgroup_taskset_first((tset), &(dst_css)); \
287 (task) = cgroup_taskset_next((tset), &(dst_css)))
298 #define cgroup_taskset_for_each_leader(leader, dst_css, tset) \ argument
299 for ((leader) = cgroup_taskset_first((tset), &(dst_css)); \
301 (leader) = cgroup_taskset_next((tset), &(dst_css))) \
A Dcgroup-defs.h636 int (*can_attach)(struct cgroup_taskset *tset);
637 void (*cancel_attach)(struct cgroup_taskset *tset);
638 void (*attach)(struct cgroup_taskset *tset);
/linux/net/core/
A Dnetclassid_cgroup.c99 static void cgrp_attach(struct cgroup_taskset *tset) in cgrp_attach() argument
104 cgroup_taskset_for_each(p, css, tset) { in cgrp_attach()
A Dnetprio_cgroup.c229 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/Documentation/admin-guide/cgroup-v1/
A Dcgroups.rst592 ``int can_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)``
597 @tset contains the tasks to be attached and is guaranteed to have at
602 - @tset contains all tasks from the thread group whether or not
606 Each @tset entry also contains the task's old cgroup and tasks which
627 ``void cancel_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)``
636 ``void attach(struct cgroup *cgrp, struct cgroup_taskset *tset)``
/linux/mm/
A Dmemcontrol.c5889 static int mem_cgroup_can_attach(struct cgroup_taskset *tset) in mem_cgroup_can_attach() argument
5910 cgroup_taskset_for_each_leader(leader, css, tset) { in mem_cgroup_can_attach()
5959 static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset) in mem_cgroup_cancel_attach() argument
6124 static int mem_cgroup_can_attach(struct cgroup_taskset *tset) in mem_cgroup_can_attach() argument
6128 static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset) in mem_cgroup_cancel_attach() argument
/linux/kernel/sched/
A Dcore.c9954 static int cpu_cgroup_can_attach(struct cgroup_taskset *tset) in cpu_cgroup_can_attach() argument
9960 cgroup_taskset_for_each(task, css, tset) { in cpu_cgroup_can_attach()
9985 static void cpu_cgroup_attach(struct cgroup_taskset *tset) in cpu_cgroup_attach() argument
9990 cgroup_taskset_for_each(task, css, tset) in cpu_cgroup_attach()
/linux/kernel/events/
A Dcore.c13474 static void perf_cgroup_attach(struct cgroup_taskset *tset) in perf_cgroup_attach() argument
13479 cgroup_taskset_for_each(task, css, tset) in perf_cgroup_attach()

Completed in 81 milliseconds