/kernel/linux/linux-5.10/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()
|
/kernel/linux/common_modules/tzdriver/ |
D | ko_adapt.c | 63 (void)set_cpus_allowed_ptr(task, mask); in koadpt_kthread_bind_mask()
|
/kernel/linux/linux-5.10/kernel/rcu/ |
D | rcuscale.c | 330 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in rcu_scale_reader() 371 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in rcu_scale_writer() 619 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in kfree_scale_thread()
|
D | refscale.c | 372 set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); in ref_scale_reader() 494 set_cpus_allowed_ptr(current, cpumask_of(nreaders % nr_cpu_ids)); in main_func()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | isolation.c | 53 set_cpus_allowed_ptr(t, housekeeping_mask); in housekeeping_affine()
|
D | core.c | 2045 int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function 2049 EXPORT_SYMBOL_GPL(set_cpus_allowed_ptr); 2548 return set_cpus_allowed_ptr(p, new_mask); in __set_cpus_allowed_ptr() 7609 if (set_cpus_allowed_ptr(current, housekeeping_cpumask(HK_FLAG_DOMAIN)) < 0) in sched_init_smp()
|
/kernel/linux/linux-5.10/kernel/ |
D | scftorture.c | 393 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in scftorture_invoker() 421 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in scftorture_invoker()
|
D | reboot.c | 233 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in migrate_to_reboot_cpu()
|
D | kthread.c | 408 set_cpus_allowed_ptr(task, in __kthread_create_on_node() 658 set_cpus_allowed_ptr(tsk, housekeeping_cpumask(HK_FLAG_KTHREAD)); in kthreadd()
|
D | torture.c | 422 set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); in torture_shuffle_tasks()
|
D | workqueue.c | 1867 set_cpus_allowed_ptr(worker->task, pool->attrs->cpumask); in worker_attach_to_pool() 4983 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, in rebind_workers() 5053 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, &cpumask) < 0); in restore_unbound_workers_cpumask()
|
/kernel/linux/common_modules/tzdriver/core/ |
D | smc_smp.c | 588 set_cpus_allowed_ptr(current, &pe->ca_mask); in restore_cpu_mask() 618 if (set_cpus_allowed_ptr(current, &pe->ta_mask)) { in match_ta_affinity() 671 set_cpus_allowed_ptr(current, &g_cpu_mask); in set_cpu_strategy() 682 set_cpus_allowed_ptr(current, old_mask); in restore_cpu() 1297 set_cpus_allowed_ptr(current, &g_drm_cpu_mask);
|
/kernel/linux/linux-5.10/mm/ |
D | zswapd.c | 774 set_cpus_allowed_ptr(tsk, cpumask); in zswapd() 887 set_cpus_allowed_ptr(pgdat->zswapd, mask); in zswapd_cpu_online()
|
D | compaction.c | 2805 set_cpus_allowed_ptr(tsk, cpumask); in kcompactd() 2902 set_cpus_allowed_ptr(pgdat->kcompactd, mask); in kcompactd_cpu_online()
|
/kernel/linux/linux-5.10/lib/ |
D | test_vmalloc.c | 466 if (set_cpus_allowed_ptr(current, cpumask_of(t->cpu)) < 0) in test_func()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | acpi_pad.c | 123 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu)); in round_robin_cpu()
|
/kernel/linux/linux-5.10/include/linux/ |
D | sched.h | 1817 extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask); 1822 static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr() function
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | kernel.patch | 328 + return set_cpus_allowed_ptr(p, new_mask); 338 - set_cpus_allowed_ptr(task, cs->effective_cpus); 416 - WARN_ON_ONCE(set_cpus_allowed_ptr(task, cpus_attach)); 562 - set_cpus_allowed_ptr(task, current->cpus_ptr);
|
/kernel/linux/linux-5.10/include/target/iscsi/ |
D | iscsi_target_core.h | 924 set_cpus_allowed_ptr(p, conn->conn_cpumask); in iscsit_thread_check_cpumask()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | svc.c | 319 set_cpus_allowed_ptr(task, cpumask_of(node)); in svc_pool_map_set_cpumask() 324 set_cpus_allowed_ptr(task, cpumask_of_node(node)); in svc_pool_map_set_cpumask()
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | cpuset.c | 1083 set_cpus_allowed_ptr(task, cs->effective_cpus); in update_tasks_cpumask() 2253 WARN_ON_ONCE(set_cpus_allowed_ptr(task, cpus_attach)); in cpuset_attach() 2929 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
|
/kernel/linux/linux-5.10/drivers/misc/sgi-xp/ |
D | xpc_main.c | 263 set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); in xpc_hb_checker()
|
/kernel/linux/linux-5.10/init/ |
D | main.c | 699 set_cpus_allowed_ptr(tsk, cpumask_of(smp_processor_id())); in rest_init()
|
/kernel/linux/linux-5.10/io_uring/ |
D | io-wq.c | 709 set_cpus_allowed_ptr(tsk, wqe->cpu_mask); in io_init_new_worker()
|