ufs_bsg_probe(9)
π ufs_bsg_probe(9) β like, the kernel API manual edition, bestie π
okay so this is ufs_bsg_probe, straight out of the Kernel API Manual, and it's literally the glow-up moment where your UFS adapter gets its very own bsg device node. tiny function, big main character energy β¨
πΈ NAME πΈ
ufs_bsg_probe β adds the ufs bsg device node π¦
β SYNOPSIS β
int ufs_bsg_probe (struct ufs_hba *hba );
yes bestie, that's the whole vibe β one function, one argument, returns an int. no cap. π
π ARGUMENTS π
hbaβ the per adapter object π«Ά like, each adapter gets its own lil buddy and this is it.
β¨ DESCRIPTION β¨
so here's the tea: this gets called during the initial loading of the driver, and it happens before scsi_scan_host. that's the whole timeline. iconic, honestly. π
π₯ RETURN π₯
0 on success. that's it, that's the return. slay. π
ngl it's giving "short but essential" β don't sleep on it just because it's three lines.
π SEE ALSO π
- Kernel file
./drivers/ufs/core/ufs_bsg.c ufs_bsg_remove(9)β the reverse-glow-up, iykyk π
and that's the page, bestie π§π this lil gem lives over in ./drivers/ufs/core and the version stamp is dated October 2026 β so yeah, it's giving very much demure, mindful, documented. periodt. πΈππ
π¦ 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