Home
last modified time | relevance | path

Searched refs:cpus_allowed (Results 1 – 8 of 8) sorted by relevance

/arch/mips/kernel/
Dmips-mt-fpaff.c68 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()
Dtraps.c1196 if (cpumask_intersects(&current->cpus_allowed, &mt_fpu_cpumask)) { in mt_ase_fp_affinity()
1200 = current->cpus_allowed; in mt_ase_fp_affinity()
1201 cpumask_and(&tmask, &current->cpus_allowed, in mt_ase_fp_affinity()
/arch/tile/include/asm/
Dsetup.h52 if (!cpumask_equal(&p->cpus_allowed, new_mask)) \
/arch/mips/include/asm/
Dswitch_to.h60 prev->cpus_allowed = prev->thread.user_cpus_allowed; \
/arch/tile/kernel/
Dhardwall.c593 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/
Dsched.c144 cpumask_copy(&ctx->cpus_allowed, &current->cpus_allowed); in __spu_update_sched_info()
173 if (cpumask_intersects(mask, &ctx->cpus_allowed)) in __node_allowed()
Dspufs.h124 cpumask_t cpus_allowed; member
/arch/ia64/kernel/
Dmca.c1827 cpumask_set_cpu(cpu, &p->cpus_allowed); in format_mca_init_stack()