is_kernel_inittext(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… is_kernel_inittext β€” Kernel API Manual ✨

okay bestie, so this one's a little function from the Kernel API Manual, section 9, and honestly? she's a vibe check for pointers. 🫢


πŸŽ€ NAME πŸŽ€

is_kernel_inittext β€” literally just checks if the pointer address is located in the .init.text section. that's it. that's her whole personality. πŸ’–


⭐ SYNOPSIS ⭐

bool is_kernel_inittext (unsigned long addr );

like yes, that's the whole signature, no cap. πŸ”₯


🌸 ARGUMENTS 🌸

  • addr β€” the address to check. that's the one and only thing you're handing her. πŸ‘‘

πŸ¦‹ RETURN πŸ¦‹

true if the address is located in .init.text, false otherwise. simple queen logic, we love to see it. ✨


🧚 SEE ALSO 🧚

Kernel file ./include/asm-generic/sections.h β€” and while you're there, go say hi to her friends, they're all iconic:

iykyk πŸ’œ


ngl bestie, this page lives in ./include/asm-generic and it's dated October 2026 β€” so whenever you're reading this, she's been out here checking addresses the whole time. slay. πŸ’…πŸŽ€β­
πŸ“¦ where this page comes from