Searched refs:cpus_mask (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/kernel/sched/ |
D | cpupri.c | 99 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()
|
D | cpudeadline.c | 122 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()
|
D | core.c | 2402 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()
|
D | deadline.c | 2087 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()
|
D | rt.c | 1856 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/ |
D | init_task.c | 82 .cpus_ptr = &init_task.cpus_mask, 84 .cpus_mask = CPU_MASK_ALL,
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | nested_trust_failure.c | 38 bpf_cpumask_first_zero(&task->cpus_mask); in BPF_PROG()
|
/linux-6.6.21/arch/mips/include/asm/ |
D | switch_to.h | 60 prev->cpus_mask = prev->thread.user_cpus_allowed; \
|
/linux-6.6.21/fs/proc/ |
D | array.c | 409 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/ |
D | traps.c | 943 if (cpumask_intersects(¤t->cpus_mask, &mt_fpu_cpumask)) { in mt_ase_fp_affinity() 947 = current->cpus_mask; in mt_ase_fp_affinity() 948 cpumask_and(&tmask, ¤t->cpus_mask, in mt_ase_fp_affinity()
|
/linux-6.6.21/tools/perf/ |
D | builtin-record.c | 3648 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/ |
D | fork.c | 1150 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/ |
D | sched.h | 837 cpumask_t cpus_mask; member
|
/linux-6.6.21/arch/ia64/kernel/ |
D | mca.c | 1791 cpumask_set_cpu(cpu, &p->cpus_mask); in format_mca_init_stack()
|
/linux-6.6.21/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 1950 cpumask_and(newmask, newmask, ¤t->cpus_mask); in ipvs_proc_est_cpumask_set()
|