Searched refs:toread (Results 1 - 15 of 15) sorted by relevance

/linux-master/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dops_bcm4706.c94 int toread; local
102 toread = min(len, 0x200);
120 for (i = 0; i < toread; i += 4, dest++) {
122 if (i == toread - 4) /* Last read goes without that */
130 b47n->curr_column += toread;
131 len -= toread;
/linux-master/drivers/mtd/maps/
H A Dpcmciamtd.c145 int toread = win_size - (from & (win_size-1)); local
148 if(toread > len)
149 toread = len;
155 pr_debug("memcpy from %p to %p len = %d\n", addr, to, toread);
156 memcpy_fromio(to, addr, toread);
157 len -= toread;
158 to += toread;
159 from += toread;
/linux-master/drivers/iio/gyro/
H A Dmpu3050-core.c535 unsigned int toread; local
548 toread = bytes_per_datum + 2;
551 toread = bytes_per_datum;
560 toread);
578 fifocnt -= toread;
/linux-master/fs/ocfs2/
H A Dquota_global.c177 size_t toread, tocopy; local
184 toread = len;
185 while (toread > 0) {
186 tocopy = min_t(size_t, (sb->s_blocksize - offset), toread);
207 toread -= tocopy;
/linux-master/fs/jfs/
H A Dsuper.c737 size_t toread; local
746 toread = len;
747 while (toread > 0) {
748 tocopy = min_t(size_t, sb->s_blocksize - offset, toread);
765 toread -= tocopy;
/linux-master/tools/iio/
H A Diio_generic_buffer.c349 unsigned long toread; local
742 toread = buf_len;
744 read_size = read(buf_fd, data, toread * scan_size);
/linux-master/drivers/net/can/c_can/
H A Dc_can_main.c883 u32 pkts = 0, pend = 0, toread, n; local
893 toread = c_can_adjust_pending(pend,
896 toread = pend;
899 pend &= ~toread;
901 n = c_can_read_objects(dev, priv, toread, quota);
/linux-master/drivers/md/
H A Draid5.h266 struct bio *toread, *read, *towrite, *written; member in struct:stripe_head::r5dev
319 R5_Wantfill, /* dev->toread contains a bio that needs
H A Draid5.c600 if (dev->toread || dev->read || dev->towrite || dev->written ||
603 (unsigned long long)sh->sector, i, dev->toread,
1488 dev->read = rbi = dev->toread;
1489 dev->toread = NULL;
3461 bip = &sh->dev[dd_idx].toread;
3517 bip = &sh->dev[dd_idx].toread;
3580 * toread/towrite point to the first in a chain.
3696 bi = sh->dev[i].toread;
3697 sh->dev[i].toread = NULL;
3809 if (dev->toread ||
[all...]
/linux-master/fs/ext2/
H A Dsuper.c1493 size_t toread; local
1502 toread = len;
1503 while (toread > 0) {
1504 tocopy = min_t(size_t, sb->s_blocksize - offset, toread);
1521 toread -= tocopy;
/linux-master/fs/reiserfs/
H A Dsuper.c2494 size_t toread; local
2502 toread = len;
2503 while (toread > 0) {
2504 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread);
2525 toread -= tocopy;
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c3664 int toread = min(oobreadlen, max_oobsize); local
3666 if (toread) {
3668 toread);
3669 oobreadlen -= toread;
3773 int i, toread, sndrnd = 0, pos, ret; local
3796 toread = min_t(int, length, chunk);
3798 ret = nand_read_data_op(chip, bufpoi, toread, false, false);
3802 bufpoi += toread;
3803 length -= toread;
/linux-master/fs/f2fs/
H A Dsuper.c2608 size_t toread; local
2617 toread = len;
2618 while (toread > 0) {
2619 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread);
2647 toread -= tocopy;
/linux-master/fs/ext4/
H A Dsuper.c7176 size_t toread; local
7184 toread = len;
7185 while (toread > 0) {
7186 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread);
7196 toread -= tocopy;
/linux-master/arch/x86/kvm/
H A Dx86.c7579 unsigned toread = min(bytes, (unsigned)PAGE_SIZE - offset); local
7585 offset, toread);
7591 bytes -= toread;
7592 data += toread;
7593 addr += toread;

Completed in 241 milliseconds