Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/mips/kernel/
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()
Dtraps.c950 set_cpus_allowed_ptr(current, &tmask); in mt_ase_fp_affinity()
/linux-6.1.9/kernel/rcu/
Drcuscale.c380 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in rcu_scale_reader()
421 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in rcu_scale_writer()
674 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in kfree_scale_thread()
Drefscale.c546 WARN_ON_ONCE(set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids))); in ref_scale_reader()
669 set_cpus_allowed_ptr(current, cpumask_of(nreaders % nr_cpu_ids)); in main_func()
Dtree_plugin.h1247 set_cpus_allowed_ptr(t, cm); in rcu_boost_kthread_setaffinity()
/linux-6.1.9/io_uring/
Dsqpoll.c233 set_cpus_allowed_ptr(current, cpumask_of(sqd->sq_cpu)); in io_sq_thread()
235 set_cpus_allowed_ptr(current, cpu_online_mask); in io_sq_thread()
Dio-wq.c706 set_cpus_allowed_ptr(tsk, wqe->cpu_mask); in io_init_new_worker()
/linux-6.1.9/kernel/trace/
Dpreemptirq_delay_test.c127 if (set_cpus_allowed_ptr(current, &cpu_mask)) in preemptirq_delay_run()
/linux-6.1.9/kernel/sched/
Disolation.c69 set_cpus_allowed_ptr(t, housekeeping.cpumasks[type]); in housekeeping_affine()
Dcore.c2967 int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function
2971 EXPORT_SYMBOL_GPL(set_cpus_allowed_ptr);
3068 WARN_ON(set_cpus_allowed_ptr(p, override_mask)); in force_compatible_cpus_allowed_ptr()
3583 return set_cpus_allowed_ptr(p, new_mask); in __set_cpus_allowed_ptr()
9617 if (set_cpus_allowed_ptr(current, housekeeping_cpumask(HK_TYPE_DOMAIN)) < 0) in sched_init_smp()
/linux-6.1.9/kernel/
Dscftorture.c450 WARN_ON_ONCE(set_cpus_allowed_ptr(current, cpumask_of(cpu))); in scftorture_invoker()
481 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in scftorture_invoker()
Dkthread.c358 set_cpus_allowed_ptr(current, housekeeping_cpumask(HK_TYPE_KTHREAD)); in kthread()
725 set_cpus_allowed_ptr(tsk, housekeeping_cpumask(HK_TYPE_KTHREAD)); in kthreadd()
Dtorture.c541 set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); in torture_shuffle_tasks()
Dreboot.c243 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in migrate_to_reboot_cpu()
Dworkqueue.c1876 set_cpus_allowed_ptr(worker->task, pool->attrs->cpumask); in worker_attach_to_pool()
5012 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, wq_unbound_cpumask) < 0); in unbind_workers()
5014 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, cpu_possible_mask) < 0); in unbind_workers()
5042 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, in rebind_workers()
5102 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, &cpumask) < 0); in restore_unbound_workers_cpumask()
/linux-6.1.9/drivers/acpi/
Dacpi_pad.c124 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu)); in round_robin_cpu()
/linux-6.1.9/arch/x86/kernel/
Dapm_32.c991 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm_power_off()
1738 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm()
/linux-6.1.9/include/linux/
Dsched.h1852 extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask);
1862 static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function
/linux-6.1.9/net/sunrpc/
Dsvc.c348 set_cpus_allowed_ptr(task, cpumask_of(node)); in svc_pool_map_set_cpumask()
353 set_cpus_allowed_ptr(task, cpumask_of_node(node)); in svc_pool_map_set_cpumask()
/linux-6.1.9/kernel/cgroup/
Dcpuset.c1223 set_cpus_allowed_ptr(task, cs->effective_cpus); in update_tasks_cpumask()
2530 WARN_ON_ONCE(set_cpus_allowed_ptr(task, cpus_attach)); in cpuset_attach()
3225 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
/linux-6.1.9/drivers/misc/sgi-xp/
Dxpc_main.c263 set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); in xpc_hb_checker()
/linux-6.1.9/init/
Dmain.c703 set_cpus_allowed_ptr(tsk, cpumask_of(smp_processor_id())); in rest_init()
/linux-6.1.9/mm/
Dcompaction.c2932 set_cpus_allowed_ptr(tsk, cpumask); in kcompactd()
3044 set_cpus_allowed_ptr(pgdat->kcompactd, mask); in kcompactd_cpu_online()
/linux-6.1.9/kernel/irq/
Dmanage.c1162 set_cpus_allowed_ptr(current, mask); in irq_thread_check_affinity()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_main.c537 set_cpus_allowed_ptr(p, resource->cpu_mask); in drbd_thread_current_set_cpu()

12