gsi_trans_pool_init(9)
π NAME π
okay so bestie, welcome to gsi_trans_pool_init(9) from the Kernel API Manual β this is the function whose whole job is to initialize a pool of structures for transactions. Slay. β¨
β¨ SYNOPSIS β¨
int gsi_trans_pool_init (struct gsi_trans_pool *pool , size_t size , u32
count , u32 max_alloc );
π ARGUMENTS π
poolβ the GSI transaction pool pointer, aka the thing we're pointing at and setting up π«Άsizeβ Size of elements in the pool. Yes, every element's size, no cap πcountβ Minimum number of elements in the pool. Minimum, bestie πmax_allocβ Maximum number of elements allocated at a time from pool. That's the ceiling when grabbing elements from the pool.
π RETURN π
0 if successful, or a negative error code β iconic when zero, kinda tragic when negative π
π¦ SEE ALSO π¦
Go check these out, iykyk:
- Kernel file
./drivers/net/ipa/gsi_trans.h struct gsi_trans(9)gsi_trans_pool_alloc(9)gsi_trans_pool_exit(9)gsi_trans_pool_init_dma(9)gsi_trans_pool_alloc_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)
Signed, sealed, delivered from ./drivers/net/ipa β dated October 2026, title still gsi_trans_pool_init(9), and this page remains part of the Kernel API Manual π
β¨
π¦ 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