FIELD_FIT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is FIELD_FIT(9) from the Kernel API Manual, and its whole thing is: check if value fits in the field. that's the name, no cap πŸ’…

🌸 SYNOPSIS 🌸

FIELD_FIT (_mask , _val );

πŸŽ€ ARGUMENTS πŸŽ€

  • _mask β€” the shifted mask defining the field's length and position. it's literally giving the field's layout, periodt ✨
  • _val β€” the value to test against the field. this is the little guy we're checking on 🫢

πŸ’– RETURN πŸ’–

  • true if _val can fit inside _mask β€” slay, it fits πŸ‘‘
  • false if _val is too big β€” oop, too big for the field, bestie πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ this page comes from ./tools/include/linux, dated October 2026, and it's literally FIELD_FIT(9). byeee πŸ’œ

πŸ“¦ where this page comes from