Searched refs:mask_empty (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/lib/ |
D | cpumask_kunit.c | 58 static cpumask_t mask_empty; variable 64 KUNIT_EXPECT_TRUE_MSG(test, cpumask_empty(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_weight() 67 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_weight(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_weight() 75 KUNIT_EXPECT_LE_MSG(test, nr_cpu_ids, cpumask_first(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_first() 78 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_first_zero(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_first() 85 KUNIT_EXPECT_LE_MSG(test, nr_cpumask_bits, cpumask_last(&mask_empty), in test_cpumask_last() 86 MASK_MSG(&mask_empty)); in test_cpumask_last() 93 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_next_zero(-1, &mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_next() 97 KUNIT_EXPECT_LE_MSG(test, nr_cpu_ids, cpumask_next(-1, &mask_empty), in test_cpumask_next() 98 MASK_MSG(&mask_empty)); in test_cpumask_next() [all …]
|