FIELD_MAX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– FIELD_MAX(9) β€” kernel API manual πŸ’–

🌸 NAME 🌸

FIELD_MAX β€” bestie, it produces the maximum value representable by a field. That’s the whole assignment, and it ate. πŸ’…


✨ SYNOPSIS ✨

FIELD_MAX (_mask );

πŸŽ€ ARGUMENTS πŸŽ€

  • _mask β€” the shifted mask defining the field’s length and position. Like, it tells you where the field lives and how wide it is. Slay. πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

FIELD_MAX returns the maximum value that can be held in the field specified by _mask. No cap, no drama β€” it’s literally giving β€œwhat’s the biggest value this field can hold?” energy. ✨


🌈 SEE ALSO 🌈

Kernel file ./tools/include/linux/bitfield.h, plus FIELD_FIT(9), FIELD_PREP(9), and FIELD_GET(9) β€” go read those too, iykyk. πŸ“šπŸ’–


source vibes: ./tools/include/linux Β· date: October 2026 Β· stay iconic, bestie πŸ’…πŸŽ€βœ¨
πŸ“¦ where this page comes from