/linux-4.4.14/drivers/cpufreq/ |
D | integrator-cpufreq.c | 80 cpumask_t cpus_allowed; in integrator_set_target() local 89 cpus_allowed = current->cpus_allowed; in integrator_set_target() 120 set_cpus_allowed_ptr(current, &cpus_allowed); in integrator_set_target() 143 set_cpus_allowed_ptr(current, &cpus_allowed); in integrator_set_target() 152 cpumask_t cpus_allowed; in integrator_get() local 157 cpus_allowed = current->cpus_allowed; in integrator_get() 174 set_cpus_allowed_ptr(current, &cpus_allowed); in integrator_get()
|
D | sparc-us3-cpufreq.c | 81 cpumask_t cpus_allowed; in us3_freq_get() local 85 cpumask_copy(&cpus_allowed, tsk_cpus_allowed(current)); in us3_freq_get() 91 set_cpus_allowed_ptr(current, &cpus_allowed); in us3_freq_get() 100 cpumask_t cpus_allowed; in us3_freq_target() local 102 cpumask_copy(&cpus_allowed, tsk_cpus_allowed(current)); in us3_freq_target() 130 set_cpus_allowed_ptr(current, &cpus_allowed); in us3_freq_target()
|
D | loongson2_cpufreq.c | 52 cpumask_t cpus_allowed; in loongson2_cpufreq_target() local 55 cpus_allowed = current->cpus_allowed; in loongson2_cpufreq_target() 62 set_cpus_allowed_ptr(current, &cpus_allowed); in loongson2_cpufreq_target()
|
D | sparc-us2e-cpufreq.c | 234 cpumask_t cpus_allowed; in us2e_freq_get() local 237 cpumask_copy(&cpus_allowed, tsk_cpus_allowed(current)); in us2e_freq_get() 243 set_cpus_allowed_ptr(current, &cpus_allowed); in us2e_freq_get() 253 cpumask_t cpus_allowed; in us2e_freq_target() local 255 cpumask_copy(&cpus_allowed, tsk_cpus_allowed(current)); in us2e_freq_target() 271 set_cpus_allowed_ptr(current, &cpus_allowed); in us2e_freq_target()
|
D | sh-cpufreq.c | 47 cpumask_t cpus_allowed; in sh_cpufreq_target() local 52 cpus_allowed = current->cpus_allowed; in sh_cpufreq_target() 72 set_cpus_allowed_ptr(current, &cpus_allowed); in sh_cpufreq_target()
|
D | ia64-acpi-cpufreq.c | 111 saved_mask = current->cpus_allowed; in processor_get_freq() 148 saved_mask = current->cpus_allowed; in processor_set_freq()
|
/linux-4.4.14/kernel/ |
D | cpuset.c | 100 cpumask_var_t cpus_allowed; member 389 return cpumask_subset(p->cpus_allowed, q->cpus_allowed) && in is_cpuset_subset() 407 if (!alloc_cpumask_var(&trial->cpus_allowed, GFP_KERNEL)) in alloc_trial_cpuset() 412 cpumask_copy(trial->cpus_allowed, cs->cpus_allowed); in alloc_trial_cpuset() 417 free_cpumask_var(trial->cpus_allowed); in alloc_trial_cpuset() 430 free_cpumask_var(trial->cpus_allowed); in free_trial_cpuset() 489 cpumask_intersects(trial->cpus_allowed, c->cpus_allowed)) in validate_change() 503 if (!cpumask_empty(cur->cpus_allowed) && in validate_change() 504 cpumask_empty(trial->cpus_allowed)) in validate_change() 517 !cpuset_cpumask_can_shrink(cur->cpus_allowed, in validate_change() [all …]
|
/linux-4.4.14/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 65 cpumask_var_t cpus_allowed, new_mask, effective_mask; in mipsmt_sys_sched_setaffinity() local 90 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) { in mipsmt_sys_sched_setaffinity() 127 cpuset_cpus_allowed(p, cpus_allowed); in mipsmt_sys_sched_setaffinity() 128 if (!cpumask_subset(effective_mask, cpus_allowed)) { in mipsmt_sys_sched_setaffinity() 134 cpumask_copy(new_mask, cpus_allowed); in mipsmt_sys_sched_setaffinity() 143 free_cpumask_var(cpus_allowed); in mipsmt_sys_sched_setaffinity() 176 cpumask_or(&allowed, &p->thread.user_cpus_allowed, &p->cpus_allowed); in mipsmt_sys_sched_getaffinity()
|
D | traps.c | 1174 if (cpumask_intersects(¤t->cpus_allowed, &mt_fpu_cpumask)) { in mt_ase_fp_affinity() 1178 = current->cpus_allowed; in mt_ase_fp_affinity() 1179 cpumask_and(&tmask, ¤t->cpus_allowed, in mt_ase_fp_affinity()
|
/linux-4.4.14/kernel/sched/ |
D | cpupri.c | 106 if (cpumask_any_and(&p->cpus_allowed, vec->mask) >= nr_cpu_ids) in cpupri_find() 110 cpumask_and(lowest_mask, &p->cpus_allowed, vec->mask); in cpupri_find()
|
D | cpudeadline.c | 106 cpumask_and(later_mask, cp->free_cpus, &p->cpus_allowed)) { in cpudl_find() 109 } else if (cpumask_test_cpu(cpudl_maximum(cp), &p->cpus_allowed) && in cpudl_find()
|
D | core.c | 1163 cpumask_copy(&p->cpus_allowed, new_mask); in set_cpus_allowed_common() 1224 if (cpumask_equal(&p->cpus_allowed, new_mask)) in __set_cpus_allowed_ptr() 3941 if (!cpumask_subset(span, &p->cpus_allowed) || in __sched_setscheduler() 4402 cpumask_var_t cpus_allowed, new_mask; in sched_setaffinity() local 4422 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) { in sched_setaffinity() 4445 cpuset_cpus_allowed(p, cpus_allowed); in sched_setaffinity() 4446 cpumask_and(new_mask, in_mask, cpus_allowed); in sched_setaffinity() 4469 cpuset_cpus_allowed(p, cpus_allowed); in sched_setaffinity() 4470 if (!cpumask_subset(new_mask, cpus_allowed)) { in sched_setaffinity() 4476 cpumask_copy(new_mask, cpus_allowed); in sched_setaffinity() [all …]
|
D | deadline.c | 1444 &task->cpus_allowed) || in find_lock_later_rq()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | setup.h | 47 if (!cpumask_equal(&p->cpus_allowed, new_mask)) \
|
/linux-4.4.14/arch/mips/include/asm/ |
D | switch_to.h | 60 prev->cpus_allowed = prev->thread.user_cpus_allowed; \
|
/linux-4.4.14/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()
|
/linux-4.4.14/include/linux/ |
D | init_task.h | 200 .cpus_allowed = CPU_MASK_ALL, \
|
D | sched.h | 1419 cpumask_t cpus_allowed; member 1835 #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
|
/linux-4.4.14/fs/proc/ |
D | array.c | 349 cpumask_pr_args(&task->cpus_allowed)); in task_cpus_allowed() 351 cpumask_pr_args(&task->cpus_allowed)); in task_cpus_allowed()
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | spufs.h | 126 cpumask_t cpus_allowed; member
|
D | sched.c | 143 cpumask_copy(&ctx->cpus_allowed, tsk_cpus_allowed(current)); in __spu_update_sched_info() 172 if (cpumask_intersects(mask, &ctx->cpus_allowed)) in __node_allowed()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | topology.c | 363 oldmask = current->cpus_allowed; in cache_add_dev()
|
D | salinfo.c | 404 cpumask_t save_cpus_allowed = current->cpus_allowed; in call_on_cpu()
|
D | mca.c | 1825 cpumask_set_cpu(cpu, &p->cpus_allowed); in format_mca_init_stack()
|
/linux-4.4.14/drivers/firmware/ |
D | dcdbas.c | 261 cpumask_copy(old_mask, ¤t->cpus_allowed); in dcdbas_smi_request()
|
/linux-4.4.14/drivers/hwmon/ |
D | dell-smm-hwmon.c | 142 cpumask_copy(old_mask, ¤t->cpus_allowed); in i8k_smm()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 1169 const unsigned int weight = cpumask_weight(¤t->cpus_allowed); in assign_ctxt_affinity() 1650 const unsigned int cpu = cpumask_first(¤t->cpus_allowed); in qib_assign_ctxt() 1652 cpumask_weight(¤t->cpus_allowed); in qib_assign_ctxt()
|
/linux-4.4.14/Documentation/cgroups/ |
D | cpusets.txt | 58 schedule a task on a CPU that is not allowed in its cpus_allowed 158 displaying the task's cpus_allowed (on which CPUs it may be scheduled) 480 (makes sure that all the CPUs in the cpus_allowed of that cpuset are 654 their cpus_allowed to allow all online CPUs. When memory hotplug
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
D | sn_hwperf.c | 635 save_allowed = current->cpus_allowed; in sn_hwperf_op_cpu()
|
/linux-4.4.14/drivers/acpi/ |
D | processor_throttling.c | 912 cpumask_copy(saved_mask, ¤t->cpus_allowed); in acpi_processor_get_throttling()
|
/linux-4.4.14/drivers/crypto/ |
D | n2_core.c | 1666 cpumask_copy(old_allowed, ¤t->cpus_allowed); in spu_queue_register()
|
/linux-4.4.14/Documentation/RCU/ |
D | trace.txt | 219 ->cpus_allowed mask permits it to run on other than
|