bman_acquire(9)
π NAME π
okay so bestie, this is bman_acquire(9) β the whole manual page is about acquiring buffer(s) from a buffer pool. yes, that's literally the name, and it's giving exactly what it says. π
β¨ SYNOPSIS β¨
int bman_acquire (struct bman_pool *pool , struct bm_buffer *bufs , u8 num );
πΈ ARGUMENTS πΈ
poolβ the buffer pool object you're acquiring from. π«Άbufsβ the array where the acquired buffers get stored. it's at leastnumbig.numβ the number of buffers desired. (bufsis at least this big.)
π DESCRIPTION π
So this bad boy issues an "Acquire" command via the portal's management command interface. The return value will be the number of buffers obtained from the pool, or a negative error code if a h/w error or pool starvation was encountered. got it? π
β οΈ In the latter case, the content of bufs is undefined. do not go treating that array like it's valid, bestie β that is not the vibe. π
π₯ SEE ALSO π₯
- Kernel file
./include/soc/fsl/bman.h bman_new_pool(9)bman_free_pool(9)bman_get_bpid(9)bman_release(9)bman_is_probed(9)bman_portals_probed(9)
made with love from the ./include/soc/fsl corner of the kernel, October 2026 πβ¨π
π¦ 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