fsl_mc_resou...emove_device(9)
π NAME π
fsl_mc_resource_pool_remove_device β bestie, this is the one that yeets an allocatable device out of a resource pool π§β¨
So like, quick vibe check: this page lives in the Kernel API Manual, and it's literally all about removing one single allocatable fsl-mc device from its resource pool. Periodt. π
β¨ SYNOPSIS β¨
int fsl_mc_resource_pool_remove_device (struct fsl_mc_device *mc_dev );
That's it, that's the whole call. One function, one argument, one int coming back at you. We love a low-maintenance icon. π
π ARGUMENTS π
mc_devβ pointer to an allocatable fsl-mc device π like, this is the actual device you're about to evict from the pool. Not a copy, not a cousin, the real one. Point at it and mean it.
πΈ DESCRIPTION πΈ
okay so here's the tea β β this function permanently removes an allocatable fsl-mc device from the resource pool. Permanently as in permanently permanently, no undo button, no "wait actually put it back" π«Ά
β οΈ Heads up bestie: it's an error if the device is in use. Like, if somebody's still using it? Do not pass go, do not collect $200. The call does not slay in that case, it just errors. π
So the whole deal is: device is chillin' in the pool, nobody's using it, you call this, it's gone from the pool. Clean, iconic, done. π₯
π¦ SEE ALSO π¦
- Kernel file
./drivers/bus/fsl-mc/fsl-mc-allocator.cβ the source, go read it, iykyk π fsl_mc_resource_pool_add_device(9)β the reverse move, the add to this remove πfsl_mc_object_allocate(9)β for when you wanna grab one of these objectsfsl_mc_object_free(9)β and for when you're done and give it back π
k bye bestie, go forth and remove devices responsibly πβ¨
this lil masterpiece came from the source tree ./drivers/bus/fsl-mc, dated October 2026 β mwah, xoxo π
π¦ 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