Searched refs:cpus_allowed (Results 1 – 8 of 8) sorted by relevance
/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 68 cpumask_var_t cpus_allowed, new_mask, effective_mask; in mipsmt_sys_sched_setaffinity() local 93 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) { in mipsmt_sys_sched_setaffinity() 131 cpuset_cpus_allowed(p, cpus_allowed); in mipsmt_sys_sched_setaffinity() 132 if (!cpumask_subset(effective_mask, cpus_allowed)) { in mipsmt_sys_sched_setaffinity() 138 cpumask_copy(new_mask, cpus_allowed); in mipsmt_sys_sched_setaffinity() 147 free_cpumask_var(cpus_allowed); in mipsmt_sys_sched_setaffinity() 180 cpumask_or(&allowed, &p->thread.user_cpus_allowed, &p->cpus_allowed); in mipsmt_sys_sched_getaffinity()
|
D | traps.c | 1196 if (cpumask_intersects(¤t->cpus_allowed, &mt_fpu_cpumask)) { in mt_ase_fp_affinity() 1200 = current->cpus_allowed; in mt_ase_fp_affinity() 1201 cpumask_and(&tmask, ¤t->cpus_allowed, in mt_ase_fp_affinity()
|
/arch/tile/include/asm/ |
D | setup.h | 52 if (!cpumask_equal(&p->cpus_allowed, new_mask)) \
|
/arch/mips/include/asm/ |
D | switch_to.h | 60 prev->cpus_allowed = prev->thread.user_cpus_allowed; \
|
/arch/tile/kernel/ |
D | hardwall.c | 593 if (cpumask_weight(&p->cpus_allowed) != 1) in hardwall_activate() 598 BUG_ON(cpumask_first(&p->cpus_allowed) != cpu); in hardwall_activate() 631 if (cpumask_weight(&task->cpus_allowed) != 1) { in _hardwall_deactivate() 634 cpumask_weight(&task->cpus_allowed)); in _hardwall_deactivate()
|
/arch/powerpc/platforms/cell/spufs/ |
D | sched.c | 144 cpumask_copy(&ctx->cpus_allowed, ¤t->cpus_allowed); in __spu_update_sched_info() 173 if (cpumask_intersects(mask, &ctx->cpus_allowed)) in __node_allowed()
|
D | spufs.h | 124 cpumask_t cpus_allowed; member
|
/arch/ia64/kernel/ |
D | mca.c | 1827 cpumask_set_cpu(cpu, &p->cpus_allowed); in format_mca_init_stack()
|