Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/ide/
Dide-taskfile.c228 struct scatterlist *cursg = cmd->cursg; in ide_pio_bytes() local
234 cursg = cmd->cursg; in ide_pio_bytes()
235 if (cursg == NULL) in ide_pio_bytes()
236 cursg = cmd->cursg = sg; in ide_pio_bytes()
239 unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); in ide_pio_bytes()
245 page = sg_page(cursg); in ide_pio_bytes()
246 offset = cursg->offset + cmd->cursg_ofs; in ide_pio_bytes()
261 if (cmd->cursg_ofs == cursg->length) { in ide_pio_bytes()
262 cursg = cmd->cursg = sg_next(cmd->cursg); in ide_pio_bytes()
Dide-io.c237 cmd->cursg = NULL; in ide_init_sg_cmd()
/linux-3.4.99/drivers/ata/
Dpata_octeon_cf.c509 qc->cursg = qc->sg; in octeon_cf_dma_setup()
530 sg = qc->cursg; in octeon_cf_dma_start()
666 if (!sg_is_last(qc->cursg)) { in octeon_cf_interrupt()
667 qc->cursg = sg_next(qc->cursg); in octeon_cf_interrupt()
Dlibata-sff.c709 page = sg_page(qc->cursg); in ata_pio_sector()
710 offset = qc->cursg->offset + qc->cursg_ofs; in ata_pio_sector()
743 if (qc->cursg_ofs == qc->cursg->length) { in ata_pio_sector()
744 qc->cursg = sg_next(qc->cursg); in ata_pio_sector()
840 sg = qc->cursg; in __atapi_pio_bytes()
887 qc->cursg = sg_next(qc->cursg); in __atapi_pio_bytes()
Dlibata-core.c4635 qc->cursg = qc->sg; in ata_sg_init()
/linux-3.4.99/include/linux/
Dlibata.h583 struct scatterlist *cursg; member
1523 qc->cursg = NULL; in ata_qc_reinit()
Dide.h310 struct scatterlist *cursg; member