ata_is_link(9)
π ata_is_link β a Kernel API Manual moment β¨
okay so bestie, welcome to this little corner of the Kernel API Manual β we're talking ata_is_link(9) today and honestly? she's a small one but she carries. π
πΈ NAME πΈ
ata_is_link β check if a struct device represents a ATA link π¦
like, that's it, that's her whole job. and she does it flawlessly, no cap.
β¨ SYNOPSIS β¨
bool ata_is_link (const struct device *dev );
literally just hand her a device and she'll tell you what's up π (yes the spacing in there is exactly how the original rocks it, don't come for me π)
π«Ά ARGUMENTS π«Ά
devβ the device to check π this is the one you're asking about, bestie, so make sure it's the one you actually mean.
π₯ RETURN π₯
trueif the device represents a ATA link πfalseotherwise π
that's the whole vibe check. binary. iconic. periodt. π
π§ SEE ALSO π§
bestie, there's a whole friend group here, all chilling in the kernel file ./drivers/ata/libata-transport.c β go say hi π
ata_is_port(9)ata_tport_delete(9)ata_port_classify(9)ata_is_ata_dev(9)ata_tdev_free(9)ata_tdev_delete(9)ata_tdev_add(9)ata_tlink_delete(9)ata_tlink_add(9)
like, that's a squad. π
ngl the whole thing lives under ./drivers/ata, so if you're lost, that's your address, bestie π
okay that's the page!! mwah π this lil drop comes to you straight from ./drivers/ata, dated October 2026, filed under ata_is_link(9) β slay, go check your devices, ily, bye πβ¨π¦
π¦ 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