ata_sff_qc_fill_rtf(9)
π ata_sff_qc_fill_rtf β like, the Kernel API Manual page you actually wanna read
okay so bestie, we're in the Kernel API Manual today and this one's a tiny little function with main character energy. it does exactly one thing and it does it well. periodt. π
β¨ NAME β¨
ata_sff_qc_fill_rtf β fills the result TF using ->sff_tf_read π¦
πΈ SYNOPSIS πΈ
void ata_sff_qc_fill_rtf (struct ata_queued_cmd *qc );
that's it. that's the whole signature. no sneaky extra params, no surprises. iykyk π
π ARGUMENTS π
qcβ the qc whose result TF we're about to fill in. that's literally its whole job, she's a passenger princess on this one πβ¨
π₯ DESCRIPTION π₯
so here's the vibe: qc is finished (like, done done), and its result TF still needs to be filled. the way we fill it? we use ->sff_tf_read. that's it. no cap, that's the entire bit. π«Ά
LOCKING: spin_lock_irqsave(host lock) β yeah she's holding the host lock with spin_lock_irqsave, so don't go doing silly things in here, bestie π
π SEE ALSO π
the kernel file is ./drivers/ata/libata-sff.c and honestly the whole squad lives there. buckle in, this is a long group chat:
ata_sff_check_status(9),ata_sff_altstatus(9),ata_sff_irq_status(9),ata_sff_sync(9),ata_sff_pause(9),ata_sff_dma_pause(9)ata_sff_wait_ready(9),ata_sff_set_devctl(9),ata_sff_dev_select(9),ata_dev_select(9),ata_sff_irq_on(9)ata_sff_tf_load(9),ata_sff_tf_read(9),ata_sff_exec_command(9),ata_tf_to_host(9)ata_sff_data_xfer(9),ata_sff_data_xfer32(9),ata_pio_sector(9),ata_pio_sectors(9)atapi_send_cdb(9),__atapi_pio_bytes(9),atapi_pio_bytes(9)ata_hsm_ok_in_wq(9),ata_hsm_qc_complete(9),ata_sff_hsm_move(9)ata_sff_qc_issue(9),ata_sff_port_intr(9),ata_sff_interrupt(9),ata_sff_lost_interrupt(9)ata_sff_freeze(9),ata_sff_thaw(9),ata_sff_prereset(9),ata_devchk(9)ata_sff_dev_classify(9),ata_sff_wait_after_reset(9),ata_sff_softreset(9),sata_sff_hardreset(9)ata_sff_postreset(9),ata_sff_drain_fifo(9),ata_sff_error_handler(9),ata_sff_std_ports(9)ata_pci_sff_init_host(9),ata_pci_sff_prepare_host(9),ata_pci_sff_activate_host(9),ata_pci_sff_init_one(9)ata_bmdma_fill_sg(9),ata_bmdma_fill_sg_dumb(9),ata_bmdma_qc_prep(9),ata_bmdma_dumb_qc_prep(9)ata_bmdma_qc_issue(9),ata_bmdma_port_intr(9),ata_bmdma_interrupt(9),ata_bmdma_error_handler(9)ata_bmdma_post_internal_cmd(9),ata_bmdma_irq_clear(9),ata_bmdma_setup(9),ata_bmdma_start(9)ata_bmdma_stop(9),ata_bmdma_status(9),ata_bmdma_port_start(9),ata_bmdma_port_start32(9)ata_pci_bmdma_clear_simplex(9),ata_pci_bmdma_init(9),ata_pci_bmdma_prepare_host(9),ata_pci_bmdma_init_one(9)ata_sff_port_init(9)
likeβ¦ name a libata-sff function, she's on the list. obsessed. πβ
π quick recap for the back row:qcis finished, TF needs filling, use->sff_tf_read, host lock is held viaspin_lock_irqsave. that's the whole post. π
okay bestie that's the page!! it lives in ./drivers/ata, it's from October 2026, and it's brought to you by the Kernel API Manual β ata_sff_qc_fill_rtf(9), slay, mwah ππ§ββοΈ
π¦ 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