Lines Matching refs:mask_empty

68 static cpumask_t mask_empty;  variable
74 KUNIT_EXPECT_TRUE_MSG(test, cpumask_empty(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_weight()
77 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_weight(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_weight()
85 KUNIT_EXPECT_LE_MSG(test, nr_cpu_ids, cpumask_first(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_first()
88 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_first_zero(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_first()
95 KUNIT_EXPECT_LE_MSG(test, nr_cpumask_bits, cpumask_last(&mask_empty), in test_cpumask_last()
96 MASK_MSG(&mask_empty)); in test_cpumask_last()
103 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_next_zero(-1, &mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_next()
107 KUNIT_EXPECT_LE_MSG(test, nr_cpu_ids, cpumask_next(-1, &mask_empty), in test_cpumask_next()
108 MASK_MSG(&mask_empty)); in test_cpumask_next()
115 EXPECT_FOR_EACH_CPU_EQ(test, &mask_empty); in test_cpumask_iterators()
116 EXPECT_FOR_EACH_CPU_NOT_EQ(test, &mask_empty); in test_cpumask_iterators()
117 EXPECT_FOR_EACH_CPU_WRAP_EQ(test, &mask_empty); in test_cpumask_iterators()
118 EXPECT_FOR_EACH_CPU_OP_EQ(test, and, &mask_empty, &mask_empty); in test_cpumask_iterators()
119 EXPECT_FOR_EACH_CPU_OP_EQ(test, and, cpu_possible_mask, &mask_empty); in test_cpumask_iterators()
120 EXPECT_FOR_EACH_CPU_OP_EQ(test, andnot, &mask_empty, &mask_empty); in test_cpumask_iterators()
126 EXPECT_FOR_EACH_CPU_OP_EQ(test, andnot, cpu_possible_mask, &mask_empty); in test_cpumask_iterators()
144 cpumask_clear(&mask_empty); in test_cpumask_init()