knav_pool_create(9)
β¨ 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 frnum_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:
knav_queue_notify(9)knav_queue_open(9)knav_queue_close(9)knav_queue_device_control(9)knav_queue_push(9)knav_queue_pop(9)knav_pool_destroy(9)knav_pool_desc_get(9)knav_pool_desc_put(9)knav_pool_desc_map(9)knav_pool_desc_unmap(9)knav_pool_count(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms