FIELD_MAX(9)
π 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
- 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