/linux-4.1.27/drivers/cpufreq/ |
H A D | integrator-cpufreq.c | 95 set_cpus_allowed_ptr(current, cpumask_of(cpu)); integrator_set_target() 121 set_cpus_allowed_ptr(current, &cpus_allowed); integrator_set_target() 144 set_cpus_allowed_ptr(current, &cpus_allowed); integrator_set_target() 160 set_cpus_allowed_ptr(current, cpumask_of(cpu)); integrator_get() 176 set_cpus_allowed_ptr(current, &cpus_allowed); integrator_get()
|
H A D | sparc-us3-cpufreq.c | 86 set_cpus_allowed_ptr(current, cpumask_of(cpu)); us3_freq_get() 91 set_cpus_allowed_ptr(current, &cpus_allowed); us3_freq_get() 103 set_cpus_allowed_ptr(current, cpumask_of(cpu)); us3_freq_target() 130 set_cpus_allowed_ptr(current, &cpus_allowed); us3_freq_target()
|
H A D | ia64-acpi-cpufreq.c | 113 set_cpus_allowed_ptr(current, cpumask_of(cpu)); processor_get_freq() 121 set_cpus_allowed_ptr(current, &saved_mask); processor_get_freq() 131 set_cpus_allowed_ptr(current, &saved_mask); processor_get_freq() 150 set_cpus_allowed_ptr(current, cpumask_of(policy->cpu)); processor_set_freq() 191 set_cpus_allowed_ptr(current, &saved_mask); processor_set_freq()
|
H A D | loongson2_cpufreq.c | 56 set_cpus_allowed_ptr(current, cpumask_of(cpu)); loongson2_cpufreq_target() 62 set_cpus_allowed_ptr(current, &cpus_allowed); loongson2_cpufreq_target()
|
H A D | sh-cpufreq.c | 53 set_cpus_allowed_ptr(current, cpumask_of(cpu)); sh_cpufreq_target() 72 set_cpus_allowed_ptr(current, &cpus_allowed); sh_cpufreq_target()
|
H A D | sparc-us2e-cpufreq.c | 238 set_cpus_allowed_ptr(current, cpumask_of(cpu)); us2e_freq_get() 243 set_cpus_allowed_ptr(current, &cpus_allowed); us2e_freq_get() 256 set_cpus_allowed_ptr(current, cpumask_of(cpu)); us2e_freq_target() 271 set_cpus_allowed_ptr(current, &cpus_allowed); us2e_freq_target()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | mips-mt-fpaff.c | 119 retval = set_cpus_allowed_ptr(p, effective_mask); mipsmt_sys_sched_setaffinity() 123 retval = set_cpus_allowed_ptr(p, new_mask); mipsmt_sys_sched_setaffinity()
|
H A D | traps.c | 1168 set_cpus_allowed_ptr(current, &tmask); mt_ase_fp_affinity()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | sysfs.c | 111 if (set_cpus_allowed_ptr(current, cpumask_of(cpu))) run_on_cpu() 116 set_cpus_allowed_ptr(current, &old_affinity); run_on_cpu()
|
/linux-4.1.27/include/linux/ |
H A D | tick.h | 165 set_cpus_allowed_ptr(t, housekeeping_mask); housekeeping_affine()
|
H A D | sched.h | 2128 extern int set_cpus_allowed_ptr(struct task_struct *p, 2135 static inline int set_cpus_allowed_ptr(struct task_struct *p, set_cpus_allowed_ptr() function 2155 return set_cpus_allowed_ptr(p, &new_mask); set_cpus_allowed()
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | topology.c | 364 retval = set_cpus_allowed_ptr(current, cpumask_of(cpu)); cache_add_dev() 369 set_cpus_allowed_ptr(current, &oldmask); cache_add_dev()
|
H A D | salinfo.c | 405 set_cpus_allowed_ptr(current, cpumask_of(cpu)); call_on_cpu() 407 set_cpus_allowed_ptr(current, &save_cpus_allowed); call_on_cpu()
|
/linux-4.1.27/drivers/firmware/ |
H A D | dcdbas.c | 262 set_cpus_allowed_ptr(current, cpumask_of(0)); dcdbas_smi_request() 284 set_cpus_allowed_ptr(current, old_mask); dcdbas_smi_request()
|
/linux-4.1.27/drivers/char/ |
H A D | i8k.c | 151 rc = set_cpus_allowed_ptr(current, cpumask_of(0)); i8k_smm() 216 set_cpus_allowed_ptr(current, old_mask); i8k_smm()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | smp.c | 772 set_cpus_allowed_ptr(current, cpumask_of(boot_cpuid)); smp_cpus_done() 777 set_cpus_allowed_ptr(current, old_mask); smp_cpus_done()
|
/linux-4.1.27/arch/ia64/sn/kernel/sn2/ |
H A D | sn_hwperf.c | 636 set_cpus_allowed_ptr(current, cpumask_of(cpu)); sn_hwperf_op_cpu() 638 set_cpus_allowed_ptr(current, &save_allowed); sn_hwperf_op_cpu()
|
/linux-4.1.27/kernel/ |
H A D | kthread.c | 321 set_cpus_allowed_ptr(task, cpu_all_mask); kthread_create_on_node() 490 set_cpus_allowed_ptr(tsk, cpu_all_mask); kthreadd()
|
H A D | reboot.c | 203 set_cpus_allowed_ptr(current, cpumask_of(cpu)); migrate_to_reboot_cpu()
|
H A D | cpuset.c | 850 set_cpus_allowed_ptr(task, cs->effective_cpus); update_tasks_cpumask() 1508 WARN_ON_ONCE(set_cpus_allowed_ptr(task, cpus_attach)); cgroup_taskset_for_each() 2385 * subsequent cpuset_change_cpumask()->set_cpus_allowed_ptr() cpuset_cpus_allowed_fallback() 2391 * the pending set_cpus_allowed_ptr() will fix things. cpuset_cpus_allowed_fallback()
|
H A D | kmod.c | 227 set_cpus_allowed_ptr(current, cpu_all_mask); ____call_usermodehelper()
|
H A D | torture.c | 341 set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); torture_shuffle_tasks()
|
H A D | workqueue.c | 1674 * set_cpus_allowed_ptr() will fail if the cpumask doesn't have any worker_attach_to_pool() 1677 set_cpus_allowed_ptr(worker->task, pool->attrs->cpumask); worker_attach_to_pool() 4476 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, rebind_workers() 4559 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, restore_unbound_workers_cpumask()
|
/linux-4.1.27/drivers/acpi/ |
H A D | acpi_pad.c | 131 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu));
|
H A D | processor_throttling.c | 918 if (set_cpus_allowed_ptr(current, cpumask_of(pr->id))) { acpi_processor_get_throttling() 925 set_cpus_allowed_ptr(current, saved_mask); acpi_processor_get_throttling()
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | process.c | 105 set_cpus_allowed_ptr(current, cpumask_of(smp_processor_id())); bfin_clone()
|
/linux-4.1.27/net/sunrpc/ |
H A D | svc.c | 335 set_cpus_allowed_ptr(task, cpumask_of(node)); svc_pool_map_set_cpumask() 340 set_cpus_allowed_ptr(task, cpumask_of_node(node)); svc_pool_map_set_cpumask()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-cpu.c | 594 rc = set_cpus_allowed_ptr(current, cpumask); for_each_online_cpu()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | ptlrpcd.c | 389 set_cpus_allowed_ptr(current, ptlrpcd()
|
/linux-4.1.27/init/ |
H A D | main.c | 990 set_cpus_allowed_ptr(current, cpu_all_mask); kernel_init_freeable()
|
/linux-4.1.27/drivers/crypto/ |
H A D | n2_core.c | 1668 set_cpus_allowed_ptr(current, &p->sharing); spu_queue_register() 1675 set_cpus_allowed_ptr(current, old_allowed); spu_queue_register()
|
/linux-4.1.27/kernel/irq/ |
H A D | manage.c | 140 * set_cpus_allowed_ptr() here as we hold desc->lock and this 806 set_cpus_allowed_ptr(current, mask); irq_thread_check_affinity()
|
/linux-4.1.27/drivers/misc/sgi-xp/ |
H A D | xpc_main.c | 263 set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); xpc_hb_checker()
|
/linux-4.1.27/kernel/sched/ |
H A D | core.c | 4083 retval = set_cpus_allowed_ptr(p, new_mask); sched_setaffinity() 4685 * success of set_cpus_allowed_ptr() on all attached tasks task_can_attach() 4788 int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) set_cpus_allowed_ptr() function 4826 EXPORT_SYMBOL_GPL(set_cpus_allowed_ptr); variable 4938 * during wakeups, see set_cpus_allowed_ptr()'s TASK_WAKING test. migration_cpu_stop() 7071 if (set_cpus_allowed_ptr(current, non_isolated_cpus) < 0) sched_init_smp()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | apm_32.c | 987 set_cpus_allowed_ptr(current, cpumask_of(0)); apm_power_off() 1742 set_cpus_allowed_ptr(current, cpumask_of(0)); apm()
|
/linux-4.1.27/kernel/rcu/ |
H A D | tree_plugin.h | 1285 set_cpus_allowed_ptr(t, cm); rcu_boost_kthread_setaffinity() 3070 set_cpus_allowed_ptr(current, cpumask_of(cpu)); rcu_bind_gp_kthread()
|
/linux-4.1.27/mm/ |
H A D | vmscan.c | 3364 set_cpus_allowed_ptr(tsk, cpumask); kswapd() 3527 set_cpus_allowed_ptr(pgdat->kswapd, mask); for_each_node_state()
|
/linux-4.1.27/drivers/target/iscsi/ |
H A D | iscsi_target.c | 3761 set_cpus_allowed_ptr(p, conn->conn_cpumask); iscsit_thread_check_cpumask()
|
/linux-4.1.27/drivers/block/drbd/ |
H A D | drbd_main.c | 553 set_cpus_allowed_ptr(p, resource->cpu_mask); drbd_thread_current_set_cpu()
|