kdump_setup_usable_lmb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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-memory property 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 🌈


πŸ’– cute lil sign-off from ./arch/powerpc/kexec, October 2026, for kdump_setup_usable_lmb(9) β€” mwah, bye bestie! 🫢✨

πŸ“¦ where this page comes from