ufs_bsg_remove(9)
π ufs_bsg_remove(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to ufs_bsg_remove(9) β yes that's the manual page name too, we're keeping it iconic like that β¨ this is the lil kernel API doc for the function that cleans up after everybody's favourite ufs-bsg node π
πΈ NAME πΈ
ufs_bsg_remove β detach and remove the added ufs-bsg node π«
like, the node is gone bestie, we're detaching it and removing it, that's the whole job π«Ά
β¨ SYNOPSIS β¨
void ufs_bsg_remove (struct ufs_hba *hba );
that's it. that's the whole signature. void in, void out, no return value, no drama π
π¦ ARGUMENTS π¦
hbaβ per adapter object π literally the per-adapter object, that's the vibe, that's what you're handing over
π₯ DESCRIPTION π₯
Should be called when unloading the driver.
no cap, that's the rule π when you're unloading the driver, this is the function you call to tear down that ufs-bsg node you set up earlier. don't skip it, it's giving cleanup era π§Ήβ¨
π SEE ALSO π
- Kernel file
./drivers/ufs/core/ufs_bsg.cβ go read the source bestie, it's all there π ufs_bsg_probe(9)β the other half of the story, the setup to this teardown π
ngl, this one's a short page, but every word is doing its job. lowkey obsessed with how simple it is π
and that's a wrap, bestie! π this little page lives in ./drivers/ufs/core and it's dated October 2026, and yes we're still out here reading ufs_bsg_remove(9) in the year 2026, slay β bye pookie, go unload that driver responsibly π
π¦ 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