Searched refs:sg_off (Results 1 - 10 of 10) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/rds/
H A Dmessage.c263 unsigned long sg_off; local
283 sg_off = 0; /* Dear gcc, sg->page will be null from kzalloc. */
292 sg_off = 0;
300 to_copy = min(iov->iov_len - iov_off, sg->length - sg_off);
306 (void *)sg_page(sg), sg->offset, sg->length, sg_off);
308 ret = rds_page_copy_from_user(sg_page(sg), sg->offset + sg_off,
316 sg_off += to_copy;
318 if (sg_off == sg->length)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/rds/
H A Dmessage.c263 unsigned long sg_off; local
283 sg_off = 0; /* Dear gcc, sg->page will be null from kzalloc. */
292 sg_off = 0;
300 to_copy = min(iov->iov_len - iov_off, sg->length - sg_off);
306 (void *)sg_page(sg), sg->offset, sg->length, sg_off);
308 ret = rds_page_copy_from_user(sg_page(sg), sg->offset + sg_off,
316 sg_off += to_copy;
318 if (sg_off == sg->length)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/mmc/host/
H A Dtmio_mmc.h105 unsigned int sg_off; member in struct:tmio_mmc_host
167 host->sg_off = 0;
173 host->sg_off = 0;
H A Dmsm_sdcc.h180 unsigned int sg_off; member in struct:msmsdcc_pio_data
H A Dtmio_mmc.c172 buf = (unsigned short *)(sg_virt + host->sg_off);
174 count = host->sg_ptr->length - host->sg_off;
179 count, host->sg_off, data->flags);
187 host->sg_off += count;
191 if (host->sg_off == host->sg_ptr->length)
H A Dmsm_sdcc.c464 host->pio.sg_off = 0;
638 buffer += host->pio.sg_off;
639 remain = host->pio.sg->length - host->pio.sg_off;
650 host->pio.sg_off += len;
667 host->pio.sg_off = 0;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/mmc/host/
H A Dtmio_mmc.h105 unsigned int sg_off; member in struct:tmio_mmc_host
167 host->sg_off = 0;
173 host->sg_off = 0;
H A Dmsm_sdcc.h180 unsigned int sg_off; member in struct:msmsdcc_pio_data
H A Dtmio_mmc.c172 buf = (unsigned short *)(sg_virt + host->sg_off);
174 count = host->sg_ptr->length - host->sg_off;
179 count, host->sg_off, data->flags);
187 host->sg_off += count;
191 if (host->sg_off == host->sg_ptr->length)
H A Dmsm_sdcc.c464 host->pio.sg_off = 0;
638 buffer += host->pio.sg_off;
639 remain = host->pio.sg->length - host->pio.sg_off;
650 host->pio.sg_off += len;
667 host->pio.sg_off = 0;

Completed in 582 milliseconds