Lines Matching refs:KUNIT_EXPECT_EQ
277 KUNIT_EXPECT_EQ(test, obj_to_index(s, page, alloc), 0U); in test_alloc()
278 KUNIT_EXPECT_EQ(test, objs_per_slab_page(s, page), 1); in test_alloc()
562 KUNIT_EXPECT_EQ(test, expect.addr[i], (char)0); in test_init_on_free()
580 KUNIT_EXPECT_EQ(test, buf[i], (char)'x'); in test_memcache_ctor()
619 KUNIT_EXPECT_EQ(test, buf2[i], (char)0); in test_gfpzero()
657 KUNIT_EXPECT_EQ(test, *expect.addr, (char)42); in test_memcache_typesafe_by_rcu()
671 KUNIT_EXPECT_EQ(test, *expect.addr, (char)42); in test_memcache_typesafe_by_rcu()
689 KUNIT_EXPECT_EQ(test, ksize(buf), size); /* Precise size match after KFENCE alloc. */ in test_krealloc()
698 KUNIT_EXPECT_EQ(test, buf[i], (char)(i + 1)); in test_krealloc()
705 KUNIT_EXPECT_EQ(test, buf[i], (char)(i + 1)); in test_krealloc()
708 KUNIT_EXPECT_EQ(test, (unsigned long)buf, (unsigned long)ZERO_SIZE_PTR); in test_krealloc()