Home
last modified time | relevance | path

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

/linux-3.4.99/net/rds/
Dmessage.c275 unsigned long sg_off; in rds_message_copy_from_user() local
288 sg_off = 0; /* Dear gcc, sg->page will be null from kzalloc. */ in rds_message_copy_from_user()
297 sg_off = 0; in rds_message_copy_from_user()
305 to_copy = min(iov->iov_len - iov_off, sg->length - sg_off); in rds_message_copy_from_user()
311 (void *)sg_page(sg), sg->offset, sg->length, sg_off); in rds_message_copy_from_user()
313 ret = rds_page_copy_from_user(sg_page(sg), sg->offset + sg_off, in rds_message_copy_from_user()
321 sg_off += to_copy; in rds_message_copy_from_user()
323 if (sg_off == sg->length) in rds_message_copy_from_user()
/linux-3.4.99/drivers/staging/media/solo6x10/
Dp2m.c142 struct scatterlist *sg, u32 sg_off, in solo_p2m_dma_sg() argument
162 if (sg_off >= sg_len) { in solo_p2m_dma_sg()
163 sg_off -= sg_len; in solo_p2m_dma_sg()
167 sg_len -= sg_off; in solo_p2m_dma_sg()
170 solo_p2m_push_desc(desc, wr, sg_dma_address(sg) + sg_off, in solo_p2m_dma_sg()
177 sg_off = 0; in solo_p2m_dma_sg()
Dsolo6x10.h322 struct scatterlist *sglist, u32 sg_off,
/linux-3.4.99/drivers/mmc/host/
Dtmio_mmc_pio.c73 host->sg_off = 0; in tmio_mmc_init_sg()
79 host->sg_off = 0; in tmio_mmc_next_sg()
375 buf = (unsigned short *)(sg_virt + host->sg_off); in tmio_mmc_pio_irq()
377 count = host->sg_ptr->length - host->sg_off; in tmio_mmc_pio_irq()
382 count, host->sg_off, data->flags); in tmio_mmc_pio_irq()
390 host->sg_off += count; in tmio_mmc_pio_irq()
394 if (host->sg_off == host->sg_ptr->length) in tmio_mmc_pio_irq()
Dmsm_sdcc.h187 unsigned int sg_off; member
Dtmio_mmc.h62 unsigned int sg_off; member
Dmsm_sdcc.c507 host->pio.sg_off = 0; in msmsdcc_start_data()
694 buffer += host->pio.sg_off; in msmsdcc_pio_irq()
695 remain = host->pio.sg->length - host->pio.sg_off; in msmsdcc_pio_irq()
706 host->pio.sg_off += len; in msmsdcc_pio_irq()
723 host->pio.sg_off = 0; in msmsdcc_pio_irq()