init_section_intersects(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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