Home
last modified time | relevance | path

Searched refs:cpus_mask (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/kernel/sched/
Dcpupri.c99 if (cpumask_any_and(&p->cpus_mask, vec->mask) >= nr_cpu_ids) in __cpupri_find()
103 cpumask_and(lowest_mask, &p->cpus_mask, vec->mask); in __cpupri_find()
Dcpudeadline.c122 cpumask_and(later_mask, cp->free_cpus, &p->cpus_mask)) { in cpudl_find()
153 if (cpumask_test_cpu(best_cpu, &p->cpus_mask) && in cpudl_find()
Dcore.c2402 if (p->cpus_ptr != &p->cpus_mask) in migrate_disable_switch()
2431 .new_mask = &p->cpus_mask, in migrate_enable()
2448 if (p->cpus_ptr != &p->cpus_mask) in migrate_enable()
2622 if (cpumask_test_cpu(task_cpu(p), &p->cpus_mask)) in migration_cpu_stop()
2739 cpumask_copy(&p->cpus_mask, ctx->new_mask); in set_cpus_allowed_common()
2972 if (cpumask_test_cpu(task_cpu(p), &p->cpus_mask)) { in affine_move_task()
3154 if (cpumask_equal(&p->cpus_mask, ctx->new_mask)) { in __set_cpus_allowed_ptr_locked()
8483 cpumask_and(mask, &p->cpus_mask, cpu_active_mask); in sched_getaffinity()
Ddeadline.c2087 cpumask_test_cpu(cpu, &p->cpus_mask)) in pick_dl_task()
2237 !cpumask_test_cpu(later_rq->cpu, &task->cpus_mask) || in find_lock_later_rq()
Drt.c1856 cpumask_test_cpu(cpu, &p->cpus_mask)) in pick_rt_task()
2012 !cpumask_test_cpu(lowest_rq->cpu, &task->cpus_mask) || in find_lock_lowest_rq()
/linux-6.6.21/init/
Dinit_task.c82 .cpus_ptr = &init_task.cpus_mask,
84 .cpus_mask = CPU_MASK_ALL,
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dnested_trust_failure.c38 bpf_cpumask_first_zero(&task->cpus_mask); in BPF_PROG()
/linux-6.6.21/arch/mips/include/asm/
Dswitch_to.h60 prev->cpus_mask = prev->thread.user_cpus_allowed; \
/linux-6.6.21/fs/proc/
Darray.c409 cpumask_pr_args(&task->cpus_mask)); in task_cpus_allowed()
411 cpumask_pr_args(&task->cpus_mask)); in task_cpus_allowed()
/linux-6.6.21/arch/mips/kernel/
Dtraps.c943 if (cpumask_intersects(&current->cpus_mask, &mt_fpu_cpumask)) { in mt_ase_fp_affinity()
947 = current->cpus_mask; in mt_ase_fp_affinity()
948 cpumask_and(&tmask, &current->cpus_mask, in mt_ase_fp_affinity()
/linux-6.6.21/tools/perf/
Dbuiltin-record.c3648 struct mmap_cpu_mask cpus_mask; in record__init_thread_masks_spec() local
3651 ret = record__mmap_cpu_mask_alloc(&cpus_mask, cpu__max_cpu().cpu); in record__init_thread_masks_spec()
3657 ret = record__mmap_cpu_mask_init(&cpus_mask, cpus); in record__init_thread_masks_spec()
3689 cpus_mask.bits, thread_mask.maps.nbits)) { in record__init_thread_masks_spec()
3695 cpus_mask.bits, thread_mask.affinity.nbits)) { in record__init_thread_masks_spec()
3751 record__mmap_cpu_mask_free(&cpus_mask); in record__init_thread_masks_spec()
/linux-6.6.21/kernel/
Dfork.c1150 if (orig->cpus_ptr == &orig->cpus_mask) in dup_task_struct()
1151 tsk->cpus_ptr = &tsk->cpus_mask; in dup_task_struct()
/linux-6.6.21/include/linux/
Dsched.h837 cpumask_t cpus_mask; member
/linux-6.6.21/arch/ia64/kernel/
Dmca.c1791 cpumask_set_cpu(cpu, &p->cpus_mask); in format_mca_init_stack()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_ctl.c1950 cpumask_and(newmask, newmask, &current->cpus_mask); in ipvs_proc_est_cpumask_set()