tset 1280 block/blk-cgroup.c static int blkcg_can_attach(struct cgroup_taskset *tset) tset 1288 block/blk-cgroup.c cgroup_taskset_for_each(task, dst_css, tset) { tset 102 drivers/mtd/nand/raw/fsmc_nand.c u8 tset; tset 257 drivers/mtd/nand/raw/fsmc_nand.c u32 tclr, tar, thiz, thold, twait, tset; tset 264 drivers/mtd/nand/raw/fsmc_nand.c tset = (tims->tset & FSMC_TSET_MASK) << FSMC_TSET_SHIFT; tset 270 drivers/mtd/nand/raw/fsmc_nand.c writel_relaxed(thiz | thold | twait | tset, host->regs_va + COMM); tset 271 drivers/mtd/nand/raw/fsmc_nand.c writel_relaxed(thiz | thold | twait | tset, host->regs_va + ATTRIB); tset 280 drivers/mtd/nand/raw/fsmc_nand.c u32 thiz, thold, twait, tset; tset 319 drivers/mtd/nand/raw/fsmc_nand.c tset = max(sdrt->tCS_min - sdrt->tWP_min, tset 321 drivers/mtd/nand/raw/fsmc_nand.c tims->tset = DIV_ROUND_UP(tset / 1000, hclkn) - 1; tset 322 drivers/mtd/nand/raw/fsmc_nand.c if (tims->tset == 0) tset 323 drivers/mtd/nand/raw/fsmc_nand.c tims->tset = 1; tset 324 drivers/mtd/nand/raw/fsmc_nand.c else if (tims->tset > FSMC_TSET_MASK) tset 325 drivers/mtd/nand/raw/fsmc_nand.c tims->tset = FSMC_TSET_MASK; tset 640 include/linux/cgroup-defs.h int (*can_attach)(struct cgroup_taskset *tset); tset 641 include/linux/cgroup-defs.h void (*cancel_attach)(struct cgroup_taskset *tset); tset 642 include/linux/cgroup-defs.h void (*attach)(struct cgroup_taskset *tset); tset 149 include/linux/cgroup.h struct task_struct *cgroup_taskset_first(struct cgroup_taskset *tset, tset 151 include/linux/cgroup.h struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset, tset 283 include/linux/cgroup.h #define cgroup_taskset_for_each(task, dst_css, tset) \ tset 284 include/linux/cgroup.h for ((task) = cgroup_taskset_first((tset), &(dst_css)); \ tset 286 include/linux/cgroup.h (task) = cgroup_taskset_next((tset), &(dst_css))) tset 297 include/linux/cgroup.h #define cgroup_taskset_for_each_leader(leader, dst_css, tset) \ tset 298 include/linux/cgroup.h for ((leader) = cgroup_taskset_first((tset), &(dst_css)); \ tset 300 include/linux/cgroup.h (leader) = cgroup_taskset_next((tset), &(dst_css))) \ tset 126 kernel/cgroup/cgroup-internal.h struct cgroup_taskset tset; tset 132 kernel/cgroup/cgroup-internal.h #define CGROUP_TASKSET_INIT(tset) \ tset 134 kernel/cgroup/cgroup-internal.h .src_csets = LIST_HEAD_INIT(tset.src_csets), \ tset 135 kernel/cgroup/cgroup-internal.h .dst_csets = LIST_HEAD_INIT(tset.dst_csets), \ tset 136 kernel/cgroup/cgroup-internal.h .csets = &tset.src_csets, \ tset 143 kernel/cgroup/cgroup-internal.h CGROUP_TASKSET_INIT(name.tset), \ tset 2383 kernel/cgroup/cgroup.c mgctx->tset.nr_tasks++; tset 2388 kernel/cgroup/cgroup.c &mgctx->tset.src_csets); tset 2391 kernel/cgroup/cgroup.c &mgctx->tset.dst_csets); tset 2401 kernel/cgroup/cgroup.c struct task_struct *cgroup_taskset_first(struct cgroup_taskset *tset, tset 2404 kernel/cgroup/cgroup.c tset->cur_cset = list_first_entry(tset->csets, struct css_set, mg_node); tset 2405 kernel/cgroup/cgroup.c tset->cur_task = NULL; tset 2407 kernel/cgroup/cgroup.c return cgroup_taskset_next(tset, dst_cssp); tset 2418 kernel/cgroup/cgroup.c struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset, tset 2421 kernel/cgroup/cgroup.c struct css_set *cset = tset->cur_cset; tset 2422 kernel/cgroup/cgroup.c struct task_struct *task = tset->cur_task; tset 2424 kernel/cgroup/cgroup.c while (&cset->mg_node != tset->csets) { tset 2432 kernel/cgroup/cgroup.c tset->cur_cset = cset; tset 2433 kernel/cgroup/cgroup.c tset->cur_task = task; tset 2442 kernel/cgroup/cgroup.c *dst_cssp = cset->mg_dst_cset->subsys[tset->ssid]; tset 2444 kernel/cgroup/cgroup.c *dst_cssp = cset->subsys[tset->ssid]; tset 2467 kernel/cgroup/cgroup.c struct cgroup_taskset *tset = &mgctx->tset; tset 2474 kernel/cgroup/cgroup.c if (tset->nr_tasks) { tset 2477 kernel/cgroup/cgroup.c tset->ssid = ssid; tset 2478 kernel/cgroup/cgroup.c ret = ss->can_attach(tset); tset 2493 kernel/cgroup/cgroup.c list_for_each_entry(cset, &tset->src_csets, mg_node) { tset 2519 kernel/cgroup/cgroup.c tset->csets = &tset->dst_csets; tset 2521 kernel/cgroup/cgroup.c if (tset->nr_tasks) { tset 2524 kernel/cgroup/cgroup.c tset->ssid = ssid; tset 2525 kernel/cgroup/cgroup.c ss->attach(tset); tset 2534 kernel/cgroup/cgroup.c if (tset->nr_tasks) { tset 2539 kernel/cgroup/cgroup.c tset->ssid = ssid; tset 2540 kernel/cgroup/cgroup.c ss->cancel_attach(tset); tset 2546 kernel/cgroup/cgroup.c list_splice_init(&tset->dst_csets, &tset->src_csets); tset 2547 kernel/cgroup/cgroup.c list_for_each_entry_safe(cset, tmp_cset, &tset->src_csets, mg_node) { tset 2558 kernel/cgroup/cgroup.c tset->nr_tasks = 0; tset 2559 kernel/cgroup/cgroup.c tset->csets = &tset->src_csets; tset 2105 kernel/cgroup/cpuset.c static int cpuset_can_attach(struct cgroup_taskset *tset) tset 2113 kernel/cgroup/cpuset.c cpuset_attach_old_cs = task_cs(cgroup_taskset_first(tset, &css)); tset 2124 kernel/cgroup/cpuset.c cgroup_taskset_for_each(task, css, tset) { tset 2144 kernel/cgroup/cpuset.c static void cpuset_cancel_attach(struct cgroup_taskset *tset) tset 2148 kernel/cgroup/cpuset.c cgroup_taskset_first(tset, &css); tset 2162 kernel/cgroup/cpuset.c static void cpuset_attach(struct cgroup_taskset *tset) tset 2172 kernel/cgroup/cpuset.c cgroup_taskset_first(tset, &css); tset 2185 kernel/cgroup/cpuset.c cgroup_taskset_for_each(task, css, tset) { tset 2201 kernel/cgroup/cpuset.c cgroup_taskset_for_each_leader(leader, css, tset) { tset 158 kernel/cgroup/legacy_freezer.c static void freezer_attach(struct cgroup_taskset *tset) tset 175 kernel/cgroup/legacy_freezer.c cgroup_taskset_for_each(task, new_css, tset) { tset 170 kernel/cgroup/pids.c static int pids_can_attach(struct cgroup_taskset *tset) tset 175 kernel/cgroup/pids.c cgroup_taskset_for_each(task, dst_css, tset) { tset 195 kernel/cgroup/pids.c static void pids_cancel_attach(struct cgroup_taskset *tset) tset 200 kernel/cgroup/pids.c cgroup_taskset_for_each(task, dst_css, tset) { tset 12335 kernel/events/core.c static void perf_cgroup_attach(struct cgroup_taskset *tset) tset 12340 kernel/events/core.c cgroup_taskset_for_each(task, css, tset) tset 7142 kernel/sched/core.c static int cpu_cgroup_can_attach(struct cgroup_taskset *tset) tset 7148 kernel/sched/core.c cgroup_taskset_for_each(task, css, tset) { tset 7173 kernel/sched/core.c static void cpu_cgroup_attach(struct cgroup_taskset *tset) tset 7178 kernel/sched/core.c cgroup_taskset_for_each(task, css, tset) tset 5800 mm/memcontrol.c static int mem_cgroup_can_attach(struct cgroup_taskset *tset) tset 5821 mm/memcontrol.c cgroup_taskset_for_each_leader(leader, css, tset) { tset 5870 mm/memcontrol.c static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset) tset 6034 mm/memcontrol.c static int mem_cgroup_can_attach(struct cgroup_taskset *tset) tset 6038 mm/memcontrol.c static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset) tset 103 net/core/netclassid_cgroup.c static void cgrp_attach(struct cgroup_taskset *tset) tset 108 net/core/netclassid_cgroup.c cgroup_taskset_for_each(p, css, tset) { tset 234 net/core/netprio_cgroup.c static void net_prio_attach(struct cgroup_taskset *tset) tset 241 net/core/netprio_cgroup.c cgroup_taskset_for_each(p, css, tset) {