ata_tdev_delete(9)
π ata_tdev_delete(9) β Kernel API Manual
okay so bestie, welcome to the ata_tdev_delete page β¨ this one lives in the Kernel API Manual and honestly it's a short one, so grab your lil strawberry drink π and let's go.
π NAME
ata_tdev_delete β remove an ATA transport device
like, that's the whole vibe. it deletes. it's an ATA transport device. slay.
β¨ SYNOPSIS
void ata_tdev_delete (struct ata_device *ata_dev );
that's it, that's the whole function signature π returns void, so no exit-status drama here, no return value to check, nothing. iconic behavior honestly.
π«Ά ARGUMENTS
ata_devβ thestruct ata_deviceowning the transport device to delete π so like, this is the ATA device that owns the transport device you're about to yeet. it's the main character here, it holds the thing you're deleting.
πΈ DESCRIPTION
Removes the ATA transport device for the specified ATA device β¨
that's the whole deal, no cap. you hand it the struct ata_device, and it goes and removes that device's ATA transport device. clean, simple, does exactly one thing. i'm obsessed π¦
π₯ SEE ALSO
- Kernel file
./drivers/ata/libata-transport.c ata_is_port(9)ata_tport_delete(9)ata_port_classify(9)ata_is_ata_dev(9)ata_tdev_free(9)ata_tdev_add(9)ata_is_link(9)ata_tlink_delete(9)ata_tlink_add(9)
like, if you're messing with transport devices, tports or tlinks, this whole little friend group is required reading, iykyk πβ¨
ngl bestie, this page is short but every word of it matters β the arg is struct ata_device * and it's the owner, don't mix it up with the port or link functions up there π
aaand that's a wrap, bestie! π this little beauty comes to you from the ./drivers/ata corner of the kernel, dated October 2026, and yes it's still ata_tdev_delete(9) β go delete some transport devices responsibly, 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