STRUCT FSL_MC_RESOURCE_POOL(9)
π 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
- 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