Home
last modified time | relevance | path

Searched refs:set_cpus_allowed_ptr (Results 1 – 25 of 31) sorted by relevance

12

/linux/arch/mips/kernel/
A Dmips-mt-fpaff.c123 retval = set_cpus_allowed_ptr(p, effective_mask); in mipsmt_sys_sched_setaffinity()
127 retval = set_cpus_allowed_ptr(p, new_mask); in mipsmt_sys_sched_setaffinity()
A Dtraps.c950 set_cpus_allowed_ptr(current, &tmask); in mt_ase_fp_affinity()
/linux/kernel/rcu/
A Drcuscale.c360 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in rcu_scale_reader()
401 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in rcu_scale_writer()
653 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in kfree_scale_thread()
A Drefscale.c524 WARN_ON_ONCE(set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids))); in ref_scale_reader()
646 set_cpus_allowed_ptr(current, cpumask_of(nreaders % nr_cpu_ids)); in main_func()
A Dtree_plugin.h1209 set_cpus_allowed_ptr(t, cm); in rcu_boost_kthread_setaffinity()
/linux/kernel/sched/
A Disolation.c53 set_cpus_allowed_ptr(t, housekeeping_mask); in housekeeping_affine()
A Dcore.c2874 int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function
2878 EXPORT_SYMBOL_GPL(set_cpus_allowed_ptr);
2975 WARN_ON(set_cpus_allowed_ptr(p, override_mask)); in force_compatible_cpus_allowed_ptr()
3490 return set_cpus_allowed_ptr(p, new_mask); in __set_cpus_allowed_ptr()
9215 if (set_cpus_allowed_ptr(current, housekeeping_cpumask(HK_FLAG_DOMAIN)) < 0) in sched_init_smp()
/linux/kernel/trace/
A Dpreemptirq_delay_test.c127 if (set_cpus_allowed_ptr(current, &cpu_mask)) in preemptirq_delay_run()
/linux/kernel/
A Dscftorture.c453 WARN_ON_ONCE(set_cpus_allowed_ptr(current, cpumask_of(cpu))); in scftorture_invoker()
484 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in scftorture_invoker()
A Dkthread.c309 set_cpus_allowed_ptr(current, housekeeping_cpumask(HK_FLAG_KTHREAD)); in kthread()
664 set_cpus_allowed_ptr(tsk, housekeeping_cpumask(HK_FLAG_KTHREAD)); in kthreadd()
A Dreboot.c235 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in migrate_to_reboot_cpu()
A Dtorture.c541 set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); in torture_shuffle_tasks()
A Dworkqueue.c1885 set_cpus_allowed_ptr(worker->task, pool->attrs->cpumask); in worker_attach_to_pool()
4995 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, cpu_possible_mask) < 0); in unbind_workers()
5050 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, in rebind_workers()
5121 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, &cpumask) < 0); in restore_unbound_workers_cpumask()
/linux/drivers/acpi/
A Dacpi_pad.c123 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu)); in round_robin_cpu()
/linux/arch/x86/kernel/
A Dapm_32.c984 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm_power_off()
1731 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm()
/linux/include/linux/
A Dsched.h1792 extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask);
1802 static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function
/linux/kernel/cgroup/
A Dcpuset.c1111 set_cpus_allowed_ptr(task, cs->effective_cpus); in update_tasks_cpumask()
2276 WARN_ON_ONCE(set_cpus_allowed_ptr(task, cpus_attach)); in cpuset_attach()
2956 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
/linux/net/sunrpc/
A Dsvc.c321 set_cpus_allowed_ptr(task, cpumask_of(node)); in svc_pool_map_set_cpumask()
326 set_cpus_allowed_ptr(task, cpumask_of_node(node)); in svc_pool_map_set_cpumask()
/linux/include/target/iscsi/
A Discsi_target_core.h924 set_cpus_allowed_ptr(p, conn->conn_cpumask); in iscsit_thread_check_cpumask()
/linux/drivers/misc/sgi-xp/
A Dxpc_main.c263 set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); in xpc_hb_checker()
/linux/init/
A Dmain.c699 set_cpus_allowed_ptr(tsk, cpumask_of(smp_processor_id())); in rest_init()
/linux/mm/
A Dcompaction.c2919 set_cpus_allowed_ptr(tsk, cpumask); in kcompactd()
3033 set_cpus_allowed_ptr(pgdat->kcompactd, mask); in kcompactd_cpu_online()
A Dvmscan.c4461 set_cpus_allowed_ptr(tsk, cpumask); in kswapd()
/linux/fs/
A Dio-wq.c712 set_cpus_allowed_ptr(tsk, wqe->cpu_mask); in io_init_new_worker()
/linux/kernel/irq/
A Dmanage.c1155 set_cpus_allowed_ptr(current, mask); in irq_thread_check_affinity()

Completed in 123 milliseconds

12