ASSERT_MEM_EQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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