mv_fill_sg(9)
πΈ mv_fill_sg(9) β like, the whole vibe πΈ
okay so bestie, we're in the mv_fill_sg(9) era of the Kernel API Manual and honestly? it's giving "small function, big job." let's get into it π
β¨ NAME β¨
mv_fill_sg β fills out the Marvell ePRD (that's scatter gather, iykyk) entries π
π¦ SYNOPSIS π¦
void mv_fill_sg (struct ata_queued_cmd *qc );
literally that's it. that's the whole signature. no cap. β¨
π ARGUMENTS π
qcβ the queued command whose SG list we're sourcing from. it's the main character here, we're just reading off its SG list, periodt. π
π DESCRIPTION π
so what does this thing actually do? it populates the SG list and then marks the last entry. that's the whole assignment, and it ate. π₯
LOCKING: inherited from the caller β not us, not our problem, we're just the vibes inheriting the lock situation from whoever called us. fr fr. π
π§ SEE ALSO π§
kernel file ./drivers/ata/sata_mv.c plus the whole friend group:
mv_save_cached_regs(9), mv_write_cached_reg(9), mv_stop_edma_engine(9), mv_port_start(9), mv_port_stop(9), mv_sff_irq_clear(9), mv_check_atapi_dma(9), mv_bmdma_setup(9), mv_bmdma_start(9), mv_bmdma_stop_ap(9), mv_bmdma_status(9), mv_qc_prep(9), mv_qc_prep_iie(9), mv_sff_check_status(9), mv_send_fis(9), mv_qc_issue_fis(9), mv_qc_issue(9), mv_err_intr(9), mv_host_intr(9), mv_interrupt(9), mv_port_init(9), mv_init_host(9), mv_platform_probe(9), mv_print_info(9), mv_pci_init_one(9)
π ok that's the whole page, you're basically a Marvell SATA expert now, so proud of you bestie π«Ά
sign-off time! this little masterpiece lives in ./drivers/ata, dated October 2026, and it goes by mv_fill_sg(9) β remember the name, bestie ππΈβ
π¦ 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