ata_is_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 πŸ”₯

  • true if the device represents a ATA link πŸ’–
  • false otherwise 🌈

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 πŸ“

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