gsi_trans_pool_alloc_dma(9)
π gsi_trans_pool_alloc_dma β Kernel API Manual β¨
okay so this is a page from the Kernel API Manual (gsi_trans_pool_alloc_dma(9)), and honestly it's short and sweet β we love a low-effort icon π
πΈ NAME πΈ
gsi_trans_pool_alloc_dma β allocate an element from a DMA pool. that's it, that's the whole vibe π«Ά
β¨ SYNOPSIS β¨
void * gsi_trans_pool_alloc_dma (struct gsi_trans_pool *pool ,
dma_addr_t *addr );
π¦ ARGUMENTS π¦
poolβ the DMA pool pointer, aka where you're grabbing the element from πaddrβ the DMA address "handle" that comes along with the allocation. lowkey it's the element's little name tag π·οΈ
π RETURN π
the virtual address of the element you just allocated out of the pool. slay, you got a pointer β¨
π DESCRIPTION π
only one element at a time may be allocated from a DMA pool. yes, seriously β one. not two, not "just a couple bestie". one. no cap π
π SEE ALSO π
- Kernel file
./drivers/net/ipa/gsi_trans.h struct gsi_trans(9)gsi_trans_pool_init(9)gsi_trans_pool_alloc(9)gsi_trans_pool_exit(9)gsi_trans_pool_init_dma(9)gsi_trans_pool_exit_dma(9)gsi_channel_trans_idle(9)gsi_channel_trans_alloc(9)gsi_trans_free(9)gsi_trans_cmd_add(9)gsi_trans_page_add(9)gsi_trans_skb_add(9)gsi_trans_commit(9)gsi_trans_commit_wait(9)gsi_trans_read_byte(9)gsi_trans_read_byte_done(9)
like yes that's a whole friend group π go read the rest of them, iykyk π
mwah, that's a wrap π§ source/version is ./drivers/net/ipa, dated October 2026, and this whole cute lil moment was brought to you by gsi_trans_pool_alloc_dma(9) β take care of her ππ
π¦ 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