genpool_algo_t(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ genpool_algo_t(9) πŸ‘‘

okay so bestie, this is the genpool_algo_t(9) page straight outta the Kernel API Manual ✨ and it's literally the allocation callback function type definition. no cap, that's the whole vibe.


🌸 NAME 🌸

genpool_algo_t β€” allocation callback function type definition πŸ’…


✨ SYNOPSIS ✨

here's the signature, verbatim, don't touch the commas bestie:

unsigned long genpool_algo_t (unsigned long *map , unsigned long size ,
       unsigned long start , unsigned int nr , void *data , struct gen_pool
       *pool , unsigned long start_addr );

πŸŽ€ ARGUMENTS πŸŽ€

  • map β€” pointer to bitmap πŸ—ΊοΈ
  • size β€” the bitmap size in bits πŸ”’
  • start β€” the bitnumber to start searching at πŸ”Ž
  • nr β€” the number of zeroed bits we're looking for πŸ•΅οΈβ€β™€οΈ
  • data β€” optional additional data used by the callback πŸŽ’
  • pool β€” the pool being allocated from 🏊
  • start_addr β€” start address of memory chunk πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/genalloc.h gen_pool_add(9), gen_pool_alloc(9) πŸ‘€


mwah πŸ’‹ signing off from source/version ./include/linux, dated October 2026 β€” that's the page, bestie, periodt 🫢

πŸ“¦ where this page comes from