FIELD_GET_SIGNED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 FIELD_GET_SIGNED(9) 🌸

okay bestie, you're in the Kernel API Manual, and this page is literally all about FIELD_GET_SIGNED(9) πŸ’… no cap.


πŸŽ€ NAME πŸŽ€

FIELD_GET_SIGNED β€” extract a signed bitfield element ✨

πŸ’– SYNOPSIS πŸ’–

the call looks like this, fr fr:

FIELD_GET_SIGNED (mask , reg );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mask β€” shifted mask defining the field's length and position πŸ‘‘
  • reg β€” value of entire bitfield 🫢

🌈 DESCRIPTION 🌈

Returns the sign-extended field specified by _mask from the bitfield passed in as reg by masking and shifting it down. so yeah β€” masking, shifting down, sign-extended field, that's the whole main character moment πŸ˜­πŸ’–

πŸ’œ SEE ALSO πŸ’œ

go check out these icons:


source/version situation: ./include/linux, date: October 2026, and the page is FIELD_GET_SIGNED(9) β€” byeee bestie, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from