Home
last modified time | relevance | path

Searched refs:cursg (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/ide/
Dide-taskfile.c231 struct scatterlist *cursg = cmd->cursg; in ide_pio_bytes() local
236 if (cursg == NULL) in ide_pio_bytes()
237 cursg = cmd->cursg = sg; in ide_pio_bytes()
240 unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); in ide_pio_bytes()
242 page = sg_page(cursg); in ide_pio_bytes()
243 offset = cursg->offset + cmd->cursg_ofs; in ide_pio_bytes()
256 if (cmd->cursg_ofs == cursg->length) { in ide_pio_bytes()
257 cursg = cmd->cursg = sg_next(cmd->cursg); in ide_pio_bytes()
Dide-io.c250 cmd->cursg = NULL; in ide_init_sg_cmd()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_octeon_cf.c548 qc->cursg = qc->sg; in octeon_cf_dma_setup()
569 sg = qc->cursg; in octeon_cf_dma_start()
701 if (!sg_is_last(qc->cursg)) { in octeon_cf_interrupt()
702 qc->cursg = sg_next(qc->cursg); in octeon_cf_interrupt()
Dlibata-sff.c669 if (!qc->cursg) { in ata_pio_sector()
676 page = sg_page(qc->cursg); in ata_pio_sector()
677 offset = qc->cursg->offset + qc->cursg_ofs; in ata_pio_sector()
703 if (qc->cursg_ofs == qc->cursg->length) { in ata_pio_sector()
704 qc->cursg = sg_next(qc->cursg); in ata_pio_sector()
705 if (!qc->cursg) in ata_pio_sector()
802 sg = qc->cursg; in __atapi_pio_bytes()
835 qc->cursg = sg_next(qc->cursg); in __atapi_pio_bytes()
Dlibata-core.c4442 qc->cursg = qc->sg; in ata_sg_init()
/kernel/linux/linux-5.10/include/linux/
Dlibata.h646 struct scatterlist *cursg; member
1781 qc->cursg = NULL; in ata_qc_reinit()
Dide.h351 struct scatterlist *cursg; member