Searched refs:set_cpus_allowed_ptr (Results 1 - 39 of 39) sorted by relevance

/linux-4.1.27/drivers/cpufreq/
H A Dintegrator-cpufreq.c95 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 Dsparc-us3-cpufreq.c86 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 Dia64-acpi-cpufreq.c113 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 Dloongson2_cpufreq.c56 set_cpus_allowed_ptr(current, cpumask_of(cpu)); loongson2_cpufreq_target()
62 set_cpus_allowed_ptr(current, &cpus_allowed); loongson2_cpufreq_target()
H A Dsh-cpufreq.c53 set_cpus_allowed_ptr(current, cpumask_of(cpu)); sh_cpufreq_target()
72 set_cpus_allowed_ptr(current, &cpus_allowed); sh_cpufreq_target()
H A Dsparc-us2e-cpufreq.c238 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 Dmips-mt-fpaff.c119 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 Dtraps.c1168 set_cpus_allowed_ptr(current, &tmask); mt_ase_fp_affinity()
/linux-4.1.27/arch/sparc/kernel/
H A Dsysfs.c111 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 Dtick.h165 set_cpus_allowed_ptr(t, housekeeping_mask); housekeeping_affine()
H A Dsched.h2128 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 Dtopology.c364 retval = set_cpus_allowed_ptr(current, cpumask_of(cpu)); cache_add_dev()
369 set_cpus_allowed_ptr(current, &oldmask); cache_add_dev()
H A Dsalinfo.c405 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 Ddcdbas.c262 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 Di8k.c151 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 Dsmp.c772 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 Dsn_hwperf.c636 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 Dkthread.c321 set_cpus_allowed_ptr(task, cpu_all_mask); kthread_create_on_node()
490 set_cpus_allowed_ptr(tsk, cpu_all_mask); kthreadd()
H A Dreboot.c203 set_cpus_allowed_ptr(current, cpumask_of(cpu)); migrate_to_reboot_cpu()
H A Dcpuset.c850 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 Dkmod.c227 set_cpus_allowed_ptr(current, cpu_all_mask); ____call_usermodehelper()
H A Dtorture.c341 set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); torture_shuffle_tasks()
H A Dworkqueue.c1674 * 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 Dacpi_pad.c131 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu));
H A Dprocessor_throttling.c918 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 Dprocess.c105 set_cpus_allowed_ptr(current, cpumask_of(smp_processor_id())); bfin_clone()
/linux-4.1.27/net/sunrpc/
H A Dsvc.c335 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 Dlinux-cpu.c594 rc = set_cpus_allowed_ptr(current, cpumask); for_each_online_cpu()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dptlrpcd.c389 set_cpus_allowed_ptr(current, ptlrpcd()
/linux-4.1.27/init/
H A Dmain.c990 set_cpus_allowed_ptr(current, cpu_all_mask); kernel_init_freeable()
/linux-4.1.27/drivers/crypto/
H A Dn2_core.c1668 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 Dmanage.c140 * 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 Dxpc_main.c263 set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); xpc_hb_checker()
/linux-4.1.27/kernel/sched/
H A Dcore.c4083 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 Dapm_32.c987 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 Dtree_plugin.h1285 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 Dvmscan.c3364 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 Discsi_target.c3761 set_cpus_allowed_ptr(p, conn->conn_cpumask); iscsit_thread_check_cpumask()
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_main.c553 set_cpus_allowed_ptr(p, resource->cpu_mask); drbd_thread_current_set_cpu()

Completed in 1096 milliseconds