Home
last modified time | relevance | path

Searched refs:possible_mask (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/
Drseq_test.c32 static cpu_set_t possible_mask; variable
70 TEST_ASSERT(CPU_ISSET(cpu, &possible_mask), in next_cpu()
74 } while (!CPU_ISSET(cpu, &possible_mask)); in next_cpu()
175 TEST_REQUIRE(CPU_COUNT(&possible_mask) >= 2); in calc_min_max_cpu()
189 if (!CPU_ISSET(i, &possible_mask)) in calc_min_max_cpu()
211 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in main()
Dmax_guest_memory_test.c145 cpu_set_t possible_mask; in calc_default_nr_vcpus() local
148 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in calc_default_nr_vcpus()
152 nr_vcpus = CPU_COUNT(&possible_mask) * 3/4; in calc_default_nr_vcpus()
/linux-6.1.9/kernel/cgroup/
Dcpuset.c504 const struct cpumask *possible_mask = task_cpu_possible_mask(tsk); in guarantee_online_cpus() local
507 if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_online_mask))) in guarantee_online_cpus()
3697 const struct cpumask *possible_mask = task_cpu_possible_mask(tsk); in cpuset_cpus_allowed_fallback() local
3703 if (is_in_v2_mode() && cpumask_subset(cs_mask, possible_mask)) { in cpuset_cpus_allowed_fallback()