__roundup_pow_of_two(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ __roundup_pow_of_two(9) β€” Kernel API Manual πŸ¦‹

hiii bestie, welcome to the Kernel API Manual page for __roundup_pow_of_two β€” it's giving "round up to the nearest power of two" and honestly? iconic ✨


🌸 NAME 🌸

__roundup_pow_of_two β€” round up to nearest power of two πŸ’–


✨ SYNOPSIS ✨

no cap, here's the exact signature:

unsigned long __roundup_pow_of_two (unsigned long n );

πŸŽ€ ARGUMENTS πŸŽ€

  • n β€” value to round up 🫢

πŸ’… SEE ALSO πŸ’…

okay so the whole friend group is right here, and yes we're keeping every single one of them:


xoxo, this cutie came from the source ./include/linux, dated October 2026, and it's literally the __roundup_pow_of_two(9) era πŸ’…πŸŽ€πŸ’–

πŸ“¦ where this page comes from