knav_pool_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

knav_pool_create β€” Create a pool of descriptors πŸ’…

okay so real talk, this is knav_pool_create(9) from the Kernel API Manual, and it literally just makes you a whole pool of descriptors. that's the vibe. 🫢


πŸ’… SYNOPSIS πŸ’…

void * knav_pool_create (const char *name , int num_desc , int region_id );

that's the whole signature bestie, no cap. three args in, a void * out. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • name β€” the name you wanna give the pool handle 🏷️ like, its whole identity fr fr
  • num_desc β€” numbers of descriptors in the pool πŸ”’ yes plural "numbers", that's what the page says, i'm not gonna fix it, i'm just the messenger 😭
  • region_id β€” the QMSS region id where the descriptors are gonna be allocated from πŸ—ΊοΈ that's the source of truth for where they live

🌸 RETURN 🌸

you get a pool handle on success πŸ’– iconic, we love a happy ending.

but bestie, listen β€” use IS_ERR_OR_NULL to identify error values on return ⚠️ don't just raw-dog that pointer, check it properly. this is your sign. 🚨


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/soc/ti/knav_qmss_queue.c πŸ“ and these whole icons:

go read all of them, i'll wait πŸ’œ


k bye, this page lives in ./drivers/soc/ti, dated October 2026 🌈 mwah, love u, read the man page πŸŽ€πŸ’–

πŸ“¦ where this page comes from