ionic_get_cmb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ionic_get_cmb(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes we're in the kernel manual, get comfy, this is the ionic_get_cmb page and it's literally about reserving cmb pages. that's the whole vibe. let's go πŸŽ€


✨ NAME ✨

ionic_get_cmb β€” Reserve cmb pages

like, it goes and grabs you some cmb pages. that's the job. no cap. πŸ’…


🌸 SYNOPSIS 🌸

int ionic_get_cmb (struct ionic_lif *lif , u32 *pgid , phys_addr_t
*pgaddr , int order , u8 stride_log2 , bool *expdb );

here's the whole squad of parameters, look at them, they're all getting along 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • lif β€” Logical interface. the main character of this whole function, honestly.
  • pgid β€” First page index. emphasis on first, she's the leader of the pack.
  • pgaddr β€” First page bus addr (contiguous). yeah bestie, contiguous, they're all squished together πŸ’œ
  • order β€” Log base two number of pages (PAGE_SIZE). it's giving exponent energy.
  • stride_log2 β€” Size of stride to determine CMB pool. this one decides which pool you're swimming in 🏊
  • expdb β€” Will be set to true if this CMB region has expdb enabled. her lil boolean moment ✨

πŸ”₯ RETURN πŸ”₯

zero or negative error status

translation: 0 means slay, anything negative means it did not slay. check it always, i'm begging 😭


⭐ SEE ALSO ⭐

okay the read-more list is long but that's just how the friend group is, everyone's linked πŸ’€πŸ’–


lowkey reminder from your girl: this page came straight outta ./drivers/net/ethernet/pensand... and it's dated October 2026 β€” and the page itself is ionic_get_cmb(9), iykyk. mwah, go reserve those pages responsibly πŸ‘‘πŸ’…

periodt. 🌈

πŸ“¦ where this page comes from