#include <kunit/test.h>
#include <linux/cpu.h>
#include <linux/cpumask.h>
#define MASK_MSG(m) …
#define EXPECT_FOR_EACH_CPU_EQ(test, mask) …
#define EXPECT_FOR_EACH_CPU_OP_EQ(test, op, mask1, mask2) …
#define EXPECT_FOR_EACH_CPU_WRAP_EQ(test, mask) …
#define EXPECT_FOR_EACH_CPU_BUILTIN_EQ(test, name) …
static cpumask_t mask_empty;
static cpumask_t mask_all;
static cpumask_t mask_tmp;
static void test_cpumask_weight(struct kunit *test)
{ … }
static void test_cpumask_first(struct kunit *test)
{ … }
static void test_cpumask_last(struct kunit *test)
{ … }
static void test_cpumask_next(struct kunit *test)
{ … }
static void test_cpumask_iterators(struct kunit *test)
{ … }
static void test_cpumask_iterators_builtin(struct kunit *test)
{ … }
static int test_cpumask_init(struct kunit *test)
{ … }
static struct kunit_case test_cpumask_cases[] = …;
static struct kunit_suite test_cpumask_suite = …;
kunit_test_suite(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;