Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/io_uring/
Dsqpoll.c237 set_cpus_allowed_ptr(current, cpumask_of(sqd->sq_cpu)); in io_sq_thread()
239 set_cpus_allowed_ptr(current, cpu_online_mask); in io_sq_thread()
Dio-wq.c730 set_cpus_allowed_ptr(tsk, wq->cpu_mask); in io_init_new_worker()
/linux-6.6.21/kernel/trace/
Dpreemptirq_delay_test.c127 if (set_cpus_allowed_ptr(current, &cpu_mask)) in preemptirq_delay_run()
Dtrace_hwlat.c342 set_cpus_allowed_ptr(current, current_mask); in move_to_next_cpu()
449 set_cpus_allowed_ptr(kthread, current_mask); in start_single_kthread()
/linux-6.6.21/kernel/rcu/
Drcuscale.c424 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in rcu_scale_reader()
467 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in rcu_scale_writer()
635 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in kfree_scale_thread()
Drefscale.c814 WARN_ON_ONCE(set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids))); in ref_scale_reader()
937 set_cpus_allowed_ptr(current, cpumask_of(nreaders % nr_cpu_ids)); in main_func()
Dtree_plugin.h1252 set_cpus_allowed_ptr(t, cm); in rcu_boost_kthread_setaffinity()
/linux-6.6.21/kernel/sched/
Disolation.c69 set_cpus_allowed_ptr(t, housekeeping.cpumasks[type]); in housekeeping_affine()
Dcore.c3217 int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function
3226 EXPORT_SYMBOL_GPL(set_cpus_allowed_ptr);
3312 WARN_ON(set_cpus_allowed_ptr(p, override_mask)); in force_compatible_cpus_allowed_ptr()
3705 return set_cpus_allowed_ptr(p, ctx->new_mask); in __set_cpus_allowed_ptr()
9868 if (set_cpus_allowed_ptr(current, housekeeping_cpumask(HK_TYPE_DOMAIN)) < 0) in sched_init_smp()
/linux-6.6.21/kernel/
Dscftorture.c456 WARN_ON_ONCE(set_cpus_allowed_ptr(current, cpumask_of(cpu))); in scftorture_invoker()
487 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in scftorture_invoker()
Dkthread.c370 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.c548 set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); in torture_shuffle_tasks()
Dreboot.c244 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in migrate_to_reboot_cpu()
Dworkqueue.c2112 set_cpus_allowed_ptr(worker->task, pool_allowed_cpus(pool)); in worker_attach_to_pool()
2239 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, wq_unbound_cpumask) < 0); in unbind_worker()
2241 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, cpu_possible_mask) < 0); in unbind_worker()
5467 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, in rebind_workers()
5527 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, &cpumask) < 0); in restore_unbound_workers_cpumask()
/linux-6.6.21/drivers/acpi/
Dacpi_pad.c125 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu)); in round_robin_cpu()
/linux-6.6.21/include/linux/
Dsched.h1872 extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask);
1882 static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function
/linux-6.6.21/arch/x86/kernel/
Dapm_32.c985 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm_power_off()
1732 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm()
/linux-6.6.21/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.6.21/kernel/cgroup/
Dcpuset.c1239 set_cpus_allowed_ptr(task, new_cpus); in update_tasks_cpumask()
2657 WARN_ON_ONCE(set_cpus_allowed_ptr(task, cpus_attach)); in cpuset_attach_task()
3482 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
/linux-6.6.21/drivers/misc/sgi-xp/
Dxpc_main.c254 set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); in xpc_hb_checker()
/linux-6.6.21/init/
Dmain.c704 set_cpus_allowed_ptr(tsk, cpumask_of(smp_processor_id())); in rest_init()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_est.c267 set_cpus_allowed_ptr(kd->task, sysctl_est_cpulist(ipvs)); in ip_vs_est_kthread_start()
/linux-6.6.21/mm/
Dcompaction.c3056 set_cpus_allowed_ptr(tsk, cpumask); in kcompactd()
3168 set_cpus_allowed_ptr(pgdat->kcompactd, mask); in kcompactd_cpu_online()

12