Lines Matching refs:ncpus
53 int ncpus; in TEST_IMPL() local
74 ncpus = 0; in TEST_IMPL()
75 while (cpumask[++ncpus]) { } in TEST_IMPL()
85 cpumask[t1first + (ncpus >= 2)] = 1; in TEST_IMPL()
86 cpumask[t2second + (ncpus >= 2)] = 1; in TEST_IMPL()
93 if (ncpus >= 3) { in TEST_IMPL()
97 if (ncpus >= 4) { in TEST_IMPL()
112 ASSERT(cpumask[t1first + 0] == (ncpus == 1)); in TEST_IMPL()
113 ASSERT(cpumask[t1first + 1] == (ncpus >= 2)); in TEST_IMPL()
115 ASSERT(cpumask[t1first + 3] == (ncpus >= 4)); in TEST_IMPL()
119 ASSERT(cpumask[t2first + 2] == (ncpus >= 3)); in TEST_IMPL()