Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/iio/Documentation/
Dgeneric_buffer.c134 int ret, c, i, j, toread; in main() local
287 toread = buf_len; in main()
291 toread = 64; in main()
296 toread*scan_size); in main()
/linux-3.4.99/drivers/mtd/maps/
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-3.4.99/fs/jfs/
Dsuper.c655 size_t toread; in jfs_quota_read() local
664 toread = len; in jfs_quota_read()
665 while (toread > 0) { in jfs_quota_read()
666 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read()
667 sb->s_blocksize - offset : toread; in jfs_quota_read()
684 toread -= tocopy; in jfs_quota_read()
/linux-3.4.99/fs/ocfs2/
Dquota_global.c171 size_t toread, tocopy; in ocfs2_quota_read() local
178 toread = len; in ocfs2_quota_read()
179 while (toread > 0) { in ocfs2_quota_read()
180 tocopy = min_t(size_t, (sb->s_blocksize - offset), toread); in ocfs2_quota_read()
201 toread -= tocopy; in ocfs2_quota_read()
/linux-3.4.99/fs/ext2/
Dsuper.c1395 size_t toread; in ext2_quota_read() local
1404 toread = len; in ext2_quota_read()
1405 while (toread > 0) { in ext2_quota_read()
1406 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1407 sb->s_blocksize - offset : toread; in ext2_quota_read()
1424 toread -= tocopy; in ext2_quota_read()
/linux-3.4.99/drivers/net/wan/
Dcycx_x25.c968 u16 size, toread, link, msg_code; in cycx_x25_irq_log() local
975 toread = size < 20 ? size : 20; in cycx_x25_irq_log()
976 cycx_peek(&card->hw, cmd->buf + 10, &bf, toread); in cycx_x25_irq_log()
977 cycx_peek(&card->hw, cmd->buf + 10 + toread, &code, 1); in cycx_x25_irq_log()
978 cycx_peek(&card->hw, cmd->buf + 10 + toread + 1, &routine, 1); in cycx_x25_irq_log()
987 hex_dump("Message", bf, toread); in cycx_x25_irq_log()
/linux-3.4.99/drivers/md/
Draid5.h235 struct bio *toread, *read, *towrite, *written; member
Draid5.c333 if (dev->toread || dev->read || dev->towrite || dev->written || in init_stripe()
336 (unsigned long long)sh->sector, i, dev->toread, in init_stripe()
780 dev->read = rbi = dev->toread; in ops_run_biofill()
781 dev->toread = NULL; in ops_run_biofill()
2309 bip = &sh->dev[dd_idx].toread; in add_stripe_bio()
2448 bi = sh->dev[i].toread; in handle_failed_stripe()
2449 sh->dev[i].toread = NULL; in handle_failed_stripe()
2556 (dev->toread || in fetch_block()
2560 (s->failed >= 1 && fdev[0]->toread) || in fetch_block()
2561 (s->failed >= 2 && fdev[1]->toread) || in fetch_block()
[all …]
/linux-3.4.99/fs/reiserfs/
Dsuper.c2246 size_t toread; in reiserfs_quota_read() local
2254 toread = len; in reiserfs_quota_read()
2255 while (toread > 0) { in reiserfs_quota_read()
2258 toread ? sb->s_blocksize - offset : toread; in reiserfs_quota_read()
2276 toread -= tocopy; in reiserfs_quota_read()
/linux-3.4.99/drivers/mtd/nand/
Dnand_base.c1534 int toread = min(oobreadlen, max_oobsize); in nand_do_read_ops() local
1536 if (toread) { in nand_do_read_ops()
1538 oob, ops, toread); in nand_do_read_ops()
1539 oobreadlen -= toread; in nand_do_read_ops()
1662 int i, toread, sndrnd = 0, pos; in nand_read_oob_syndrome() local
1674 toread = min_t(int, length, chunk); in nand_read_oob_syndrome()
1675 chip->read_buf(mtd, bufpoi, toread); in nand_read_oob_syndrome()
1676 bufpoi += toread; in nand_read_oob_syndrome()
1677 length -= toread; in nand_read_oob_syndrome()
/linux-3.4.99/fs/ext3/
Dsuper.c2944 size_t toread; in ext3_quota_read() local
2952 toread = len; in ext3_quota_read()
2953 while (toread > 0) { in ext3_quota_read()
2954 tocopy = sb->s_blocksize - offset < toread ? in ext3_quota_read()
2955 sb->s_blocksize - offset : toread; in ext3_quota_read()
2965 toread -= tocopy; in ext3_quota_read()
/linux-3.4.99/fs/ext4/
Dsuper.c4799 size_t toread; in ext4_quota_read() local
4807 toread = len; in ext4_quota_read()
4808 while (toread > 0) { in ext4_quota_read()
4809 tocopy = sb->s_blocksize - offset < toread ? in ext4_quota_read()
4810 sb->s_blocksize - offset : toread; in ext4_quota_read()
4820 toread -= tocopy; in ext4_quota_read()
/linux-3.4.99/arch/x86/kvm/
Dx86.c3573 unsigned toread = min(bytes, (unsigned)PAGE_SIZE - offset); in kvm_read_guest_virt_helper() local
3578 ret = kvm_read_guest(vcpu->kvm, gpa, data, toread); in kvm_read_guest_virt_helper()
3584 bytes -= toread; in kvm_read_guest_virt_helper()
3585 data += toread; in kvm_read_guest_virt_helper()
3586 addr += toread; in kvm_read_guest_virt_helper()