init_section_intersects(9)
β¨ init_section_intersects(9) β¨
okay bestie, welcome to the Kernel API Manual, section 9 β this is the page for init_section_intersects, and it's literally just a vibe check for memory regions. π
πΈ NAME πΈ
init_section_intersects β checks if the region occupied by an object intersects with the init section. no cap, that's the whole assignment. β¨
π SYNOPSIS π
bool init_section_intersects (void *virt , size_t size );
π¦ ARGUMENTS π¦
virtβ virtual address of the memory object. that's the starting point bestie πsizeβ size of the memory object. how much memory we're looking at π§
π RETURN π
true if an object's memory region, specified by virt and size, intersects with the init section, false otherwise. periodt. β
π₯ SEE ALSO π₯
Kernel file ./include/asm-generic/sections.h β plus the whole friend group: memory_contains(9), memory_intersects(9), init_section_contains(9), is_kernel_core_data(9), is_kernel_rodata(9), is_kernel_inittext(9), __is_kernel_text(9), __is_kernel(9). iykyk π
signing off from ./include/asm-generic, October 2026 β init_section_intersects(9) π«Άβ¨
π¦ 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