/linux-3.4.99/drivers/staging/iio/Documentation/ |
D | generic_buffer.c | 134 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/ |
D | pcmciamtd.c | 145 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/ |
D | super.c | 655 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/ |
D | quota_global.c | 171 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/ |
D | super.c | 1395 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/ |
D | cycx_x25.c | 968 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/ |
D | raid5.h | 235 struct bio *toread, *read, *towrite, *written; member
|
D | raid5.c | 333 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/ |
D | super.c | 2246 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/ |
D | nand_base.c | 1534 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/ |
D | super.c | 2944 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/ |
D | super.c | 4799 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/ |
D | x86.c | 3573 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()
|