memblock_re...ved_base_pfn(9)
β¨ memblock_region_reserved_base_pfn β Kernel API Manual β¨
okay bestie so this is a page from the Kernel API Manual, and the function is memblock_region_reserved_base_pfn π (yes the title got squished to memblock_re...ved_base_pfn in the header, that's just the terminal being dramatic, she's fine).
πΈ NAME πΈ
memblock_region_reserved_base_pfn β get the lowest pfn of the reserved region π
π¦ SYNOPSIS π¦
unsigned long memblock_region_reserved_base_pfn (const struct memblock_region *reg );
π ARGUMENTS π
regβ thememblock_regionstructure, iykyk π
β RETURN β
the lowest pfn intersecting with the reserved region π«Ά
π SEE ALSO π
Kernel file ./include/linux/memblock.h β and literally the whole friend group shows up here, no cap:
enum memblock_flags(9)struct memblock_region(9)struct memblock_type(9)struct memblock(9)for_each_physmem_range(9)__for_each_mem_range(9)__for_each_mem_range_rev(9)for_each_mem_range(9)for_each_mem_range_rev(9)for_each_reserved_mem_range(9)for_each_mem_pfn_range(9)for_each_free_mem_range(9)for_each_free_mem_range_reverse(9)memblock_set_current_limit(9)memblock_region_memory_base_pfn(9)memblock_region_memory_end_pfn(9)memblock_region_reserved_end_pfn(9)for_each_mem_region(9)for_each_reserved_mem_region(9)
lowkey a whole squad of for_each_* macros just to say hi π but that's the memblock life bestie, we stan a thorough cross-reference list πβ¨
and that's the whole page, mwah π β this one's living in ./include/linux, dated October 2026, and it's signed off as memblock_re...ved_base_pfn(9) because the header and footer both refuse to spell the whole thing out π every single time, fr fr. bye bestie, go read a for_each_reserved_mem_region(9) for me ππ¦π
π¦ 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