FIELD_GET_SIGNED(9)
πΈ 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:
- Kernel file
./include/linux/bitfield.h FIELD_MAX(9)FIELD_FIT(9)FIELD_PREP(9)FIELD_PREP_CONST(9)FIELD_GET(9)FIELD_MODIFY(9)field_prep(9)field_get(9)
source/version situation: ./include/linux, date: October 2026, and the page is FIELD_GET_SIGNED(9) β byeee bestie, mwah ππ«Ά
π¦ 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