/Linux-v5.15/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 | 944 set_cpus_allowed_ptr(current, &tmask); in mt_ase_fp_affinity()
|
/Linux-v5.15/kernel/rcu/ |
D | rcuscale.c | 360 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()
|
D | refscale.c | 524 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()
|
D | tree_plugin.h | 1210 set_cpus_allowed_ptr(t, cm); in rcu_boost_kthread_setaffinity()
|
/Linux-v5.15/kernel/sched/ |
D | isolation.c | 53 set_cpus_allowed_ptr(t, housekeeping_mask); in housekeeping_affine()
|
D | core.c | 2851 int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function 2855 EXPORT_SYMBOL_GPL(set_cpus_allowed_ptr); 2952 WARN_ON(set_cpus_allowed_ptr(p, override_mask)); in force_compatible_cpus_allowed_ptr() 3467 return set_cpus_allowed_ptr(p, new_mask); in __set_cpus_allowed_ptr() 9237 if (set_cpus_allowed_ptr(current, housekeeping_cpumask(HK_FLAG_DOMAIN)) < 0) in sched_init_smp()
|
/Linux-v5.15/kernel/trace/ |
D | preemptirq_delay_test.c | 127 if (set_cpus_allowed_ptr(current, &cpu_mask)) in preemptirq_delay_run()
|
/Linux-v5.15/kernel/ |
D | scftorture.c | 452 WARN_ON_ONCE(set_cpus_allowed_ptr(current, cpumask_of(cpu))); in scftorture_invoker() 483 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in scftorture_invoker()
|
D | kthread.c | 414 set_cpus_allowed_ptr(task, in __kthread_create_on_node() 664 set_cpus_allowed_ptr(tsk, housekeeping_cpumask(HK_FLAG_KTHREAD)); in kthreadd()
|
D | reboot.c | 234 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in migrate_to_reboot_cpu()
|
D | torture.c | 541 set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); in torture_shuffle_tasks()
|
D | workqueue.c | 1884 set_cpus_allowed_ptr(worker->task, pool->attrs->cpumask); in worker_attach_to_pool() 4975 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, cpu_possible_mask) < 0); in unbind_workers() 5030 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, in rebind_workers() 5101 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, &cpumask) < 0); in restore_unbound_workers_cpumask()
|
/Linux-v5.15/drivers/acpi/ |
D | acpi_pad.c | 123 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu)); in round_robin_cpu()
|
/Linux-v5.15/include/linux/ |
D | sched.h | 1795 extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask); 1805 static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function
|
/Linux-v5.15/arch/x86/kernel/ |
D | apm_32.c | 984 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm_power_off() 1731 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm()
|
/Linux-v5.15/include/target/iscsi/ |
D | iscsi_target_core.h | 924 set_cpus_allowed_ptr(p, conn->conn_cpumask); in iscsit_thread_check_cpumask()
|
/Linux-v5.15/net/sunrpc/ |
D | svc.c | 321 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-v5.15/kernel/cgroup/ |
D | cpuset.c | 1093 set_cpus_allowed_ptr(task, cs->effective_cpus); in update_tasks_cpumask() 2256 WARN_ON_ONCE(set_cpus_allowed_ptr(task, cpus_attach)); in cpuset_attach() 2936 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
|
/Linux-v5.15/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-v5.15/init/ |
D | main.c | 708 set_cpus_allowed_ptr(tsk, cpumask_of(smp_processor_id())); in rest_init()
|
/Linux-v5.15/mm/ |
D | compaction.c | 2913 set_cpus_allowed_ptr(tsk, cpumask); in kcompactd() 3027 set_cpus_allowed_ptr(pgdat->kcompactd, mask); in kcompactd_cpu_online()
|
D | vmscan.c | 4270 set_cpus_allowed_ptr(tsk, cpumask); in kswapd()
|
/Linux-v5.15/fs/ |
D | io-wq.c | 645 set_cpus_allowed_ptr(tsk, wqe->cpu_mask); in io_init_new_worker()
|
/Linux-v5.15/kernel/irq/ |
D | manage.c | 1155 set_cpus_allowed_ptr(current, mask); in irq_thread_check_affinity()
|