/linux-6.6.21/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 123 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()
|
D | traps.c | 950 set_cpus_allowed_ptr(current, &tmask); in mt_ase_fp_affinity()
|
/linux-6.6.21/io_uring/ |
D | sqpoll.c | 237 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()
|
D | io-wq.c | 730 set_cpus_allowed_ptr(tsk, wq->cpu_mask); in io_init_new_worker()
|
/linux-6.6.21/kernel/trace/ |
D | preemptirq_delay_test.c | 127 if (set_cpus_allowed_ptr(current, &cpu_mask)) in preemptirq_delay_run()
|
D | trace_hwlat.c | 342 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/ |
D | rcuscale.c | 424 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()
|
D | refscale.c | 814 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()
|
D | tree_plugin.h | 1252 set_cpus_allowed_ptr(t, cm); in rcu_boost_kthread_setaffinity()
|
/linux-6.6.21/kernel/sched/ |
D | isolation.c | 69 set_cpus_allowed_ptr(t, housekeeping.cpumasks[type]); in housekeeping_affine()
|
D | core.c | 3217 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/ |
D | scftorture.c | 456 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()
|
D | kthread.c | 370 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()
|
D | torture.c | 548 set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); in torture_shuffle_tasks()
|
D | reboot.c | 244 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in migrate_to_reboot_cpu()
|
D | workqueue.c | 2112 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/ |
D | acpi_pad.c | 125 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu)); in round_robin_cpu()
|
/linux-6.6.21/include/linux/ |
D | sched.h | 1872 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/ |
D | apm_32.c | 985 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/ |
D | svc.c | 348 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/ |
D | cpuset.c | 1239 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/ |
D | xpc_main.c | 254 set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); in xpc_hb_checker()
|
/linux-6.6.21/init/ |
D | main.c | 704 set_cpus_allowed_ptr(tsk, cpumask_of(smp_processor_id())); in rest_init()
|
/linux-6.6.21/net/netfilter/ipvs/ |
D | ip_vs_est.c | 267 set_cpus_allowed_ptr(kd->task, sysctl_est_cpulist(ipvs)); in ip_vs_est_kthread_start()
|
/linux-6.6.21/mm/ |
D | compaction.c | 3056 set_cpus_allowed_ptr(tsk, cpumask); in kcompactd() 3168 set_cpus_allowed_ptr(pgdat->kcompactd, mask); in kcompactd_cpu_online()
|