get_usable_memory_ranges(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– get_usable_memory_ranges(9) Β· Kernel API Manual πŸ’–

okay bestie, welcome to the get_usable_memory_ranges(9) page from the Kernel API Manual β€” we're getting into usable memory ranges and it's giving kernel-internals main character energy ✨

🌸 NAME 🌸

get_usable_memory_ranges β€” Get usable memory ranges. This list includes regions like crashkernel, opal/rtas & tce-table, that kdump kernel could use.

πŸ¦‹ SYNOPSIS πŸ¦‹

int get_usable_memory_ranges (struct crash_mem **mem_ranges );

πŸŽ€ ARGUMENTS πŸŽ€

  • mem_ranges β€” the range list to add the memory ranges to. Yep, that's the struct crash_mem ** situation, bestie 🫢

πŸ’… DESCRIPTION πŸ’…

Returns 0 on success, negative errno on error. That's the whole return contract, periodt πŸ’€βœ¨

🌈 SEE ALSO 🌈

Kernel file ./arch/powerpc/kexec/ranges.c is the home base 🏠, and these are the sibling functions to check out:

okay bye bestie πŸ’– β€” this page is from source/version ./arch/powerpc/kexec, dated October 2026 ✨

πŸ“¦ where this page comes from