Home
last modified time | relevance | path

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

/openbmc/qemu/system/
H A Ddma-helpers.c69 dma_addr_t sg_cur_byte; member
135 cur_addr = dbs->sg->sg[dbs->sg_cur_index].base + dbs->sg_cur_byte; in dma_blk_cb()
136 cur_len = dbs->sg->sg[dbs->sg_cur_index].len - dbs->sg_cur_byte; in dma_blk_cb()
162 dbs->sg_cur_byte += cur_len; in dma_blk_cb()
163 if (dbs->sg_cur_byte == dbs->sg->sg[dbs->sg_cur_index].len) { in dma_blk_cb()
164 dbs->sg_cur_byte = 0; in dma_blk_cb()
230 dbs->sg_cur_byte = 0; in dma_blk_io()