Home
last modified time | relevance | path

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

/linux-2.6.39/net/rds/
Dmessage.c271 unsigned long sg_off; in rds_message_copy_from_user() local
284 sg_off = 0; /* Dear gcc, sg->page will be null from kzalloc. */ in rds_message_copy_from_user()
293 sg_off = 0; in rds_message_copy_from_user()
301 to_copy = min(iov->iov_len - iov_off, sg->length - sg_off); in rds_message_copy_from_user()
307 (void *)sg_page(sg), sg->offset, sg->length, sg_off); in rds_message_copy_from_user()
309 ret = rds_page_copy_from_user(sg_page(sg), sg->offset + sg_off, in rds_message_copy_from_user()
317 sg_off += to_copy; in rds_message_copy_from_user()
319 if (sg_off == sg->length) in rds_message_copy_from_user()
/linux-2.6.39/drivers/staging/solo6x10/
Dp2m.c141 struct scatterlist *sg, u32 sg_off, in solo_p2m_dma_sg() argument
161 if (sg_off >= sg_len) { in solo_p2m_dma_sg()
162 sg_off -= sg_len; in solo_p2m_dma_sg()
166 sg_len -= sg_off; in solo_p2m_dma_sg()
169 solo_p2m_push_desc(desc, wr, sg_dma_address(sg) + sg_off, in solo_p2m_dma_sg()
176 sg_off = 0; in solo_p2m_dma_sg()
Dsolo6x10.h321 struct scatterlist *sglist, u32 sg_off,
/linux-2.6.39/drivers/mmc/host/
Dtmio_mmc_pio.c104 host->sg_off = 0; in tmio_mmc_init_sg()
110 host->sg_off = 0; in tmio_mmc_next_sg()
377 buf = (unsigned short *)(sg_virt + host->sg_off); in tmio_mmc_pio_irq()
379 count = host->sg_ptr->length - host->sg_off; in tmio_mmc_pio_irq()
384 count, host->sg_off, data->flags); in tmio_mmc_pio_irq()
392 host->sg_off += count; in tmio_mmc_pio_irq()
396 if (host->sg_off == host->sg_ptr->length) in tmio_mmc_pio_irq()
Dtmio_mmc.h58 unsigned int sg_off; member
Dmsm_sdcc.h182 unsigned int sg_off; member
Dmsm_sdcc.c506 host->pio.sg_off = 0; in msmsdcc_start_data()
686 buffer += host->pio.sg_off; in msmsdcc_pio_irq()
687 remain = host->pio.sg->length - host->pio.sg_off; in msmsdcc_pio_irq()
698 host->pio.sg_off += len; in msmsdcc_pio_irq()
715 host->pio.sg_off = 0; in msmsdcc_pio_irq()