add_tce_mem_ranges(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… add_tce_mem_ranges(9) β€” Kernel API Manual

okay so bestie, welcome to add_tce_mem_ranges, a little kernel API page from Kernel API Manual section 9 that is genuinely so specific and so iconic. it does exactly one thing and it does it well. let's get into it πŸŽ€


✨ NAME ✨

add_tce_mem_ranges β€” adds tce-table range to the given memory ranges list.

like, that's the whole gig. it takes the tce-table range and puts it in the list. slay πŸ’…


✨ SYNOPSIS ✨

int add_tce_mem_ranges (struct crash_mem **mem_ranges );

the signature is literally right there, copy it exactly bestie, struct crash_mem **mem_ranges β€” double pointer, no cap πŸ”₯


✨ ARGUMENTS ✨

  • mem_ranges β€” the range list you're adding the memory range(s) to. that's it. that's the vibe check. it's the list, you're adding to it, go off πŸ¦‹

✨ DESCRIPTION ✨

so what happens? returns 0 on success, and a negative errno on error. periodt. that's the whole description, bestie, the manpage is refreshingly short and we respect it for that 🌸

ngl if you get a negative errno back you're in error territory β€” check it, don't sleep on it 😭

✨ SEE ALSO ✨

the friend group πŸ’– β€” all of these live in the kernel file ./arch/powerpc/kexec/ranges.c:

like, the whole range-adjacent squad is right there. iykyk πŸ‘‘


and that's the page!! thank you for coming to my ted talk 🫢 this one's from ./arch/powerpc/kexec, dated October 2026 β€” mwah, bye bestie!! πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from