ASSERT_MEM_EQ(9)
π ASSERT_MEM_EQ(9) π
okay so bestie, welcome to the Kernel API Manual β this page is all about ASSERT_MEM_EQ, and we're keeping every single detail, no cap. β¨
β¨ NAME β¨
ASSERT_MEM_EQ β check that the first @_size bytes of @_seen are all equal to @_expected. If false, it prints the failed test message (only when running with --verbose) and then asserts. π
πΈ SYNOPSIS πΈ
ASSERT_MEM_EQ (_seen , _expected , _size );
π ARGUMENTS π
_seenβ-- undescribed --(yes, the page literally says undescribed, and we're not inventing lore π)_expectedβ-- undescribed --(same energy: undescribed, but the name is right there π)_sizeβ-- undescribed --(undescribed again, bestie, that's the whole note π)
π¦ SEE ALSO π¦
Kernel file ./tools/testing/memblock/tests/common.h plus ASSERT_EQ(9), ASSERT_NE(9), ASSERT_LT(9), ASSERT_LE(9), and ASSERT_MEM_NE(9).
mwah π β source/version line: ./tools/testing/memblock/tests; date: October 2026; title: ASSERT_MEM_EQ(9), periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms