/linux-6.1.9/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.1.9/kernel/rcu/ |
D | rcuscale.c | 380 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()
|
D | refscale.c | 546 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()
|
D | tree_plugin.h | 1247 set_cpus_allowed_ptr(t, cm); in rcu_boost_kthread_setaffinity()
|
/linux-6.1.9/io_uring/ |
D | sqpoll.c | 233 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()
|
D | io-wq.c | 706 set_cpus_allowed_ptr(tsk, wqe->cpu_mask); in io_init_new_worker()
|
/linux-6.1.9/kernel/trace/ |
D | preemptirq_delay_test.c | 127 if (set_cpus_allowed_ptr(current, &cpu_mask)) in preemptirq_delay_run()
|
/linux-6.1.9/kernel/sched/ |
D | isolation.c | 69 set_cpus_allowed_ptr(t, housekeeping.cpumasks[type]); in housekeeping_affine()
|
D | core.c | 2967 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/ |
D | scftorture.c | 450 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()
|
D | kthread.c | 358 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 | 541 set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); in torture_shuffle_tasks()
|
D | reboot.c | 243 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in migrate_to_reboot_cpu()
|
D | workqueue.c | 1876 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/ |
D | acpi_pad.c | 124 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu)); in round_robin_cpu()
|
/linux-6.1.9/arch/x86/kernel/ |
D | apm_32.c | 991 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/ |
D | sched.h | 1852 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/ |
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.1.9/kernel/cgroup/ |
D | cpuset.c | 1223 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/ |
D | xpc_main.c | 263 set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); in xpc_hb_checker()
|
/linux-6.1.9/init/ |
D | main.c | 703 set_cpus_allowed_ptr(tsk, cpumask_of(smp_processor_id())); in rest_init()
|
/linux-6.1.9/mm/ |
D | compaction.c | 2932 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/ |
D | manage.c | 1162 set_cpus_allowed_ptr(current, mask); in irq_thread_check_affinity()
|
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_main.c | 537 set_cpus_allowed_ptr(p, resource->cpu_mask); in drbd_thread_current_set_cpu()
|