gen_pool_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 the gen_pool from. like, hand over the device bestie 🫢
  • name β€” name of a gen_pool or NULL, identifies a particular gen_pool on 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 πŸ‘‘


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