readpos 5773 drivers/md/raid5.c sector_t writepos, readpos, safepos; readpos 5817 drivers/md/raid5.c readpos = conf->reshape_progress; readpos 5818 drivers/md/raid5.c sector_div(readpos, data_disks); readpos 5824 drivers/md/raid5.c readpos += reshape_sectors; readpos 5832 drivers/md/raid5.c readpos -= min_t(sector_t, reshape_sectors, readpos); readpos 5873 drivers/md/raid5.c readpos += -conf->min_offset_diff; readpos 5878 drivers/md/raid5.c ? (safepos > writepos && readpos < writepos) readpos 5879 drivers/md/raid5.c : (safepos < writepos && readpos > writepos)) || readpos 293 drivers/media/pci/cx18/cx18-driver.h u32 readpos; readpos 307 drivers/media/pci/cx18/cx18-driver.h u32 readpos; readpos 196 drivers/media/pci/cx18/cx18-fileops.c if (mdl->readpos != mdl->bytesused) readpos 252 drivers/media/pci/cx18/cx18-fileops.c buf->readpos = 0; readpos 256 drivers/media/pci/cx18/cx18-fileops.c mdl->readpos = 0; readpos 263 drivers/media/pci/cx18/cx18-fileops.c size_t len = buf->bytesused - buf->readpos; readpos 289 drivers/media/pci/cx18/cx18-fileops.c const char *start = buf->buf + buf->readpos; readpos 351 drivers/media/pci/cx18/cx18-fileops.c if (copy_to_user(ubuf, (u8 *)buf->buf + buf->readpos, len)) { readpos 356 drivers/media/pci/cx18/cx18-fileops.c buf->readpos += len; readpos 380 drivers/media/pci/cx18/cx18-fileops.c mdl->readpos = mdl->bytesused; readpos 386 drivers/media/pci/cx18/cx18-fileops.c if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) readpos 393 drivers/media/pci/cx18/cx18-fileops.c mdl->readpos += rc; readpos 398 drivers/media/pci/cx18/cx18-fileops.c mdl->curr_buf->readpos < mdl->curr_buf->bytesused || readpos 399 drivers/media/pci/cx18/cx18-fileops.c mdl->readpos >= mdl->bytesused) /* MDL buffers drained */ readpos 449 drivers/media/pci/cx18/cx18-fileops.c if (mdl->readpos == mdl->bytesused) readpos 453 drivers/media/pci/cx18/cx18-fileops.c } else if (mdl->readpos == mdl->bytesused) { readpos 677 drivers/media/pci/cx18/cx18-ioctl.c remaining = buf->bytesused - buf->readpos; readpos 680 drivers/media/pci/cx18/cx18-ioctl.c e_buf = (struct cx18_enc_idx_entry *) &buf->buf[buf->readpos]; readpos 710 drivers/media/pci/cx18/cx18-ioctl.c buf->readpos += consumed; readpos 730 drivers/media/pci/cx18/cx18-ioctl.c mdl->readpos = mdl->bytesused; readpos 737 drivers/media/pci/cx18/cx18-ioctl.c if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) readpos 740 drivers/media/pci/cx18/cx18-ioctl.c mdl->readpos += _cx18_process_idx_data(mdl->curr_buf, idx); readpos 744 drivers/media/pci/cx18/cx18-ioctl.c mdl->curr_buf->readpos < mdl->curr_buf->bytesused || readpos 745 drivers/media/pci/cx18/cx18-ioctl.c mdl->readpos >= mdl->bytesused) readpos 782 drivers/media/pci/cx18/cx18-ioctl.c if (mdl->readpos < mdl->bytesused) { readpos 49 drivers/media/pci/cx18/cx18-queue.c mdl->readpos = 0; readpos 66 drivers/media/pci/cx18/cx18-queue.c q->bytesused += mdl->bytesused - mdl->readpos; readpos 81 drivers/media/pci/cx18/cx18-queue.c q->bytesused -= mdl->bytesused - mdl->readpos; readpos 97 drivers/media/pci/cx18/cx18-queue.c buf->readpos = 0; readpos 118 drivers/media/pci/cx18/cx18-queue.c buf->readpos = 0; readpos 210 drivers/media/pci/cx18/cx18-queue.c mdl->readpos = 0; readpos 250 drivers/media/pci/cx18/cx18-queue.c buf->readpos = 0; readpos 317 drivers/media/pci/ivtv/ivtv-driver.h u32 readpos; readpos 222 drivers/media/pci/ivtv/ivtv-fileops.c if (buf->readpos != buf->bytesused) { readpos 283 drivers/media/pci/ivtv/ivtv-fileops.c itv->vbi.sliced_mpeg_buf.readpos = 0; readpos 290 drivers/media/pci/ivtv/ivtv-fileops.c size_t len = buf->bytesused - buf->readpos; readpos 295 drivers/media/pci/ivtv/ivtv-fileops.c const char *start = buf->buf + buf->readpos; readpos 333 drivers/media/pci/ivtv/ivtv-fileops.c if (copy_to_user(ubuf, (u8 *)buf->buf + buf->readpos, len)) { readpos 340 drivers/media/pci/ivtv/ivtv-fileops.c buf->readpos += len; readpos 385 drivers/media/pci/ivtv/ivtv-fileops.c ivtv_enqueue(s, buf, (buf->readpos == buf->bytesused) ? &s->q_free : &s->q_io); readpos 387 drivers/media/pci/ivtv/ivtv-fileops.c else if (buf->readpos == buf->bytesused) { readpos 49 drivers/media/pci/ivtv/ivtv-irq.c if (buf->readpos < buf->bytesused) readpos 51 drivers/media/pci/ivtv/ivtv-irq.c (u8 *)(buf->buf + buf->readpos), readpos 52 drivers/media/pci/ivtv/ivtv-irq.c (size_t)(buf->bytesused - buf->readpos)); readpos 47 drivers/media/pci/ivtv/ivtv-queue.c buf->readpos = 0; readpos 55 drivers/media/pci/ivtv/ivtv-queue.c q->bytesused += buf->bytesused - buf->readpos; readpos 70 drivers/media/pci/ivtv/ivtv-queue.c q->bytesused -= buf->bytesused - buf->readpos; readpos 84 drivers/media/pci/ivtv/ivtv-queue.c from->bytesused -= buf->bytesused - buf->readpos; readpos 87 drivers/media/pci/ivtv/ivtv-queue.c buf->bytesused = buf->readpos = buf->b_flags = buf->dma_xfer_cnt = 0; readpos 90 drivers/media/pci/ivtv/ivtv-queue.c to->bytesused += buf->bytesused - buf->readpos; readpos 145 drivers/media/pci/ivtv/ivtv-queue.c steal->bytesused -= buf->bytesused - buf->readpos; readpos 146 drivers/media/pci/ivtv/ivtv-queue.c buf->bytesused = buf->readpos = buf->b_flags = buf->dma_xfer_cnt = 0; readpos 683 drivers/mtd/mtdswap.c loff_t readpos; readpos 686 drivers/mtd/mtdswap.c readpos = (loff_t) oldblock << PAGE_SHIFT; readpos 690 drivers/mtd/mtdswap.c ret = mtd_read(mtd, readpos, PAGE_SIZE, &retlen, d->page_buf); readpos 1084 drivers/mtd/mtdswap.c loff_t readpos; readpos 1110 drivers/mtd/mtdswap.c readpos = (loff_t)realblock << PAGE_SHIFT; readpos 1114 drivers/mtd/mtdswap.c ret = mtd_read(mtd, readpos, PAGE_SIZE, &retlen, buf); readpos 23 include/linux/seq_buf.h loff_t readpos; readpos 29 include/linux/seq_buf.h s->readpos = 0; readpos 1487 kernel/trace/trace.c if (trace_seq_used(s) <= s->seq.readpos) readpos 1490 kernel/trace/trace.c len = trace_seq_used(s) - s->seq.readpos; readpos 1493 kernel/trace/trace.c memcpy(buf, s->buffer + s->seq.readpos, cnt); readpos 1495 kernel/trace/trace.c s->seq.readpos += cnt; readpos 6087 kernel/trace/trace.c if (iter->seq.seq.readpos >= trace_seq_used(&iter->seq)) readpos 316 lib/seq_buf.c if (len <= s->readpos) readpos 319 lib/seq_buf.c len -= s->readpos; readpos 322 lib/seq_buf.c ret = copy_to_user(ubuf, s->buffer + s->readpos, cnt); readpos 328 lib/seq_buf.c s->readpos += cnt; readpos 46 tools/lib/traceevent/trace-seq.c s->readpos = 0; readpos 65 tools/lib/traceevent/trace-seq.c s->readpos = 0; readpos 34 tools/lib/traceevent/trace-seq.h unsigned int readpos;