kdump_setup_usable_lmb(9)
π kdump_setup_usable_lmb(9) β Kernel API Manual π¦
okay so bestie, welcome to the kdump_setup_usable_lmb(9) page in the Kernel API Manual. This one is short, sweet, and lowkey iconic: itβs a callback situation, and the kernel comes knocking for every LMB. iykyk. π
β¨ NAME β¨
kdump_setup_usable_lmb β this is a callback function that gets called by walk_drmem_lmbs for every LMB to set its usable memory ranges. no cap, thatβs the whole vibe. π
πΈ SYNOPSIS πΈ
int kdump_setup_usable_lmb (struct drmem_lmb *lmb , const __be32 **usm ,
void *data );
π«Ά ARGUMENTS π«Ά
lmbβ LMB info. literally the LMB details being handed over. πusmβlinux,drconf-usable-memoryproperty value. yes, that exact property name, bestie. π¦dataβ Pointer to usable memory buffer and ranges info. itβs giving βhereβs the buffer and the ranges, go off.β β¨
π DESCRIPTION π
Returns 0 on success, negative errno on error. thatβs it, thatβs the whole description. short king behavior, fr fr. π
bestie note: this page is tiny, but the callback still matters β it gets called by walk_drmem_lmbs for every LMB to set its usable memory ranges. π§
π SEE ALSO π
- Kernel file:
./arch/powerpc/kexec/file_load_64.c check_realloc_usable_mem(9)add_usable_mem(9)add_usable_mem_property(9)update_usable_mem_fdt(9)load_backup_segment(9)load_elfcorehdr_segment(9)load_crashdump_segments_ppc64(9)setup_purgatory_ppc64(9)cpu_node_size(9)kexec_extra_fdt_size_ppc64(9)setup_new_fdt_ppc64(9)arch_kexec_kernel_image_probe(9)arch_kimage_file_post_load_cleanup(9)
π cute lil sign-off from ./arch/powerpc/kexec, October 2026, for kdump_setup_usable_lmb(9) β mwah, bye bestie! π«Άβ¨
π¦ 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