gen_pool_get(9)
okay so bestie, welcome to gen_pool_get(9) from the Kernel API Manual β this page is short, iconic, and here to tell you how to obtain the gen_pool (if any) for a device. β¨
πΈ NAME πΈ
gen_pool_get β Obtain the gen_pool (if any) for a device. periodt. π
β¨ SYNOPSIS β¨
struct gen_pool * gen_pool_get (struct device *dev , const char *name );
π ARGUMENTS π
devβ device to retrieve thegen_poolfrom. like, hand over the device bestie π«Άnameβ name of agen_poolorNULL, identifies a particulargen_poolon device. iykyk β¨
π DESCRIPTION π
Returns the gen_pool for the device if one is present, or NULL. that's literally it, no cap π
π¦ SEE ALSO π¦
Kernel file: ./lib/genalloc.c the source of truth, go off π
gen_pool_create(9)gen_pool_add_owner(9)gen_pool_virt_to_phys(9)gen_pool_destroy(9)gen_pool_alloc_algo_owner(9)gen_pool_dma_alloc(9)gen_pool_dma_alloc_algo(9)gen_pool_dma_alloc_align(9)gen_pool_dma_zalloc(9)gen_pool_dma_zalloc_algo(9)gen_pool_dma_zalloc_align(9)gen_pool_free_owner(9)gen_pool_for_each_chunk(9)gen_pool_has_addr(9)gen_pool_avail(9)gen_pool_size(9)gen_pool_set_algo(9)gen_pool_first_fit(9)gen_pool_first_fit_align(9)gen_pool_fixed_alloc(9)gen_pool_first_fit_order_align(9)gen_pool_best_fit(9)devm_gen_pool_create(9)of_gen_pool_get(9)
byeee π«Ά β source is ./lib, dated October 2026, and this whole cute lil page is gen_pool_get(9). slay and read the source bestie π
π¦ 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