memblock_reg...rved_end_pfn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– memblock_reg...rved_end_pfn(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's a tiny little helper function and honestly it's giving "short but essential," y'know? Let's get into it πŸŽ€


🌸 NAME 🌸

memblock_region_reserved_end_pfn β€” literally just gets the end pfn of the reserved region πŸ’… that's it, that's the whole job, and she does it flawlessly


✨ SYNOPSIS ✨

unsigned long memblock_region_reserved_end_pfn (const struct memblock_region *reg );

like, you hand her a reg and she hands you back an unsigned long, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • reg β€” a memblock_region structure, that's the whole vibe. she takes the struct, she reads it, she's done 🌈

⭐ RETURN ⭐

the end_pfn of the reserved region πŸ‘‘ periodt. that's what you get back, no surprises, no plot twists 😭


πŸ’œ SEE ALSO πŸ’œ

bestie there is a whole friend group of related kernel things, and I'm not skipping a single one of them, we're listing them all fr fr πŸ”₯

Kernel file ./include/linux/memblock.h, plus the 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_base_pfn(9), for_each_mem_region(9), and for_each_reserved_mem_region(9) β€” go say hi to all of them, they're icons, they ate πŸ’…βœ¨


aaaand that's the page! 🧚 from ./include/linux, dated October 2026, this has been memblock_reg...rved_end_pfn(9) β€” mwah, ily, go read the other memblock pages, bye bestie πŸ’–πŸ“πŸ¦‹

πŸ“¦ where this page comes from