match_bytes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… match_bytes β€” Kernel API Manual β€” match_bytes(9) ✨

okay so bestie, welcome to the manual page for match_bytes(9) β€” it’s giving tiny kernel helper with main character energy, and we’re gonna read it together πŸ’–


🌸 NAME 🌸

match_bytes β€” Check an 8-byte word for bytes matching the value specified. That’s literally the assignment, no cap ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

u64 match_bytes (u64 input , u8 match );

πŸŽ€ ARGUMENTS πŸŽ€

  • input β€” A word to examine the bytes of. Yes, the whole word is under the microscope πŸ‘€
  • match β€” The byte value sought. The one we’re looking for, periodt πŸ”

πŸ”₯ RETURN πŸ”₯

1 in each byte when the corresponding input byte matched, 0 otherwise. So matching bytes get a lil 1, non-matching bytes get a 0 β€” that’s the vibe check πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./drivers/md/dm-vdo/slab-depot.c is the home base for this whole bestie lineup:

xoxo, your match_bytes(9) page πŸ’– source/version: ./drivers/md/dm-vdo; date: October 2026 🫢

πŸ“¦ where this page comes from