STRUCT FSL_MC_RESOURCE_POOL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct fsl_mc_resource_pool(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this is the struct fsl_mc_resource_pool(9) page and it's literally the glow-up era of resource pools, no cap 🫢


✨ NAME ✨

struct fsl_mc_resource_pool β€” a Pool of MC resources of a given type πŸŽ€

Like... it's a pool. For MC resources. Of a given type. That's the whole vibe, she's very self-explanatory and we love that for her πŸ’–


🌸 SYNOPSIS 🌸

struct fsl_mc_resource_pool {
    enum fsl_mc_pool_type type;
    int max_count;
    int free_count;
    struct mutex mutex;
    struct list_head free_list;
    struct fsl_mc_bus *mc_bus;
 };

look at her. six members. main character energy, honestly πŸ‘‘


πŸ¦‹ Members πŸ¦‹

get ready, we're doing a full member-by-member vibe check πŸ”₯

  • type β€” the type of resources in the pool, iykyk 🧚
  • max_count β€” the maximum number of resources in the pool, like the ceiling, the limit, the "you shall not pass" of counts ✨
  • free_count β€” the number of free resources in the pool. yes bestie, we're keeping track πŸ’…
  • mutex β€” a mutex to serialize access to the pool's free list. very demure, very mindful, very thread-safe πŸ”’
  • free_list β€” the anchor node of the list of free resources in the pool. it's giving "starting point of the friend group" 🫢
  • mc_bus β€” a pointer to the MC bus that owns this resource pool. she belongs to somebody, periodt πŸ’œ

⭐ SEE ALSO ⭐

go read these next, bestie, they're all in the same friend group:

  • Kernel file ./drivers/bus/fsl-mc/fsl-mc-private.h
  • struct dprc_irq_cfg(9)
  • struct dprc_attributes(9)
  • enum dprc_region_type(9)
  • struct dprc_region_desc(9)
  • struct dprc_endpoint(9)
  • struct fsl_mc_uapi(9)
  • struct fsl_mc_bus(9)

like... the whole squad is tagged πŸ˜­πŸ’–


and that's the page, bestie! no gatekeeping, every single member accounted for 🌈

mwah πŸ’‹ β€” this one lives in ./drivers/bus/fsl-mc, dated October 2026, and it's your girl struct fsl_mc_resource_pool(9) signing off βœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from