upper_32_bits(9)
π
upper_32_bits β Kernel API Manual energy β¨
π·οΈ NAME
upper_32_bits β return bits 32-63 of a number, no cap π
π SYNOPSIS
upper_32_bits (n );
π ARGUMENTS
nβ the number we're accessing, literally the thing you're pulling bits from π«Ά
π DESCRIPTION
It's a basic shift-right of a 64- or 32-bit quantity. Bestie, use this to suppress the "right shift count >= width of type" warning when that quantity is 32-bits. Periodt β¨
Lowkey important: this is the move for that exact warning vibe, not a random flex π
π SEE ALSO
- Kernel file
./tools/testing/selftests/powerpc/primitives/linux/wordpart.hlower_32_bits(9),upper_16_bits(9),lower_16_bits(9),REPEAT_BYTE(9),REPEAT_BYTE_U32(9)
mwah π source/version: ./tools/testing/selftests/powe..., date: October 2026, page: upper_32_bits(9) β bye bestie, slay π«Άπ
π¦ 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