Home
last modified time | relevance | path

Searched refs:toread (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/mtd/maps/
H A Dpcmciamtd.c145 int toread = win_size - (from & (win_size-1)); in pcmcia_copy_from_remap() local
148 if(toread > len) in pcmcia_copy_from_remap()
149 toread = len; in pcmcia_copy_from_remap()
155 pr_debug("memcpy from %p to %p len = %d\n", addr, to, toread); in pcmcia_copy_from_remap()
156 memcpy_fromio(to, addr, toread); in pcmcia_copy_from_remap()
157 len -= toread; in pcmcia_copy_from_remap()
158 to += toread; in pcmcia_copy_from_remap()
159 from += toread; in pcmcia_copy_from_remap()
/linux/tools/iio/
H A Diio_generic_buffer.c403 unsigned long toread; in main()
800 toread = buf_len;
802 read_size = read(buf_fd, data, toread * scan_size);
349 unsigned long toread; main() local
/linux/drivers/net/can/c_can/
H A Dc_can_main.c883 u32 pkts = 0, pend = 0, toread, n; in c_can_do_rx_poll() local
893 toread = c_can_adjust_pending(pend, in c_can_do_rx_poll()
896 toread = pend; in c_can_do_rx_poll()
899 pend &= ~toread; in c_can_do_rx_poll()
901 n = c_can_read_objects(dev, priv, toread, quota); in c_can_do_rx_poll()
/linux/drivers/md/
H A Draid5.h266 struct bio *toread, *read, *towrite, *written; member
H A Draid5.c603 if (dev->toread || dev->read || dev->towrite || dev->written || in init_stripe()
606 (unsigned long long)sh->sector, i, dev->toread, in init_stripe()
1495 dev->read = rbi = dev->toread; in ops_run_biofill()
1496 dev->toread = NULL; in ops_run_biofill()
3462 bip = &sh->dev[dd_idx].toread; in stripe_bio_overlaps()
3518 bip = &sh->dev[dd_idx].toread; in __add_stripe_bio()
3668 bi = sh->dev[i].toread; in handle_failed_stripe()
3669 sh->dev[i].toread = NULL; in handle_failed_stripe()
3855 if (dev->toread || in need_this_block()
3867 if ((s->failed >= 1 && fdev[0]->toread) || in need_this_block()
[all …]
/linux/fs/ext4/
H A Dsuper.c7376 size_t toread; in ext4_quota_read() local
7384 toread = len; in ext4_quota_read()
7385 while (toread > 0) { in ext4_quota_read()
7386 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in ext4_quota_read()
7396 toread -= tocopy; in ext4_quota_read()