qman_alloc_cgrid_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ this page is all about qman_alloc_cgrid_range(9) β€” literally allocating a contiguous range of CGR IDs. no cap, that's the vibe. πŸ’…


🌸 SYNOPSIS 🌸

okay so the function's whole energy is this one line, and you gotta keep it exact:

int qman_alloc_cgrid_range (u32 *result , u32 count );

periodt. don't go "fixing" the spacing, bestie β€” it's giving original. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • result β€” the API sets this to the base CGR ID of the allocated range πŸ’– so yeah, this is where the answer lands.
  • count β€” the number of CGR IDs required. literally how many you're asking for, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

here's the whole plot, no extra lore: it returns 0 on success, or a negative error code. 😭 that's it. that's the tea. ngl, kind of iconic in its simplicity.

πŸ’… SEE ALSO πŸ’…

if you're going down the QMan rabbit hole, the kernel file ./include/soc/fsl/qman.h says hi πŸ‘‹ and here's the whole crew, fr fr:

and that's the page, bestie 🫢 β€” signed off from source/version ./include/soc/fsl, dated October 2026, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from