/linux-2.6.39/drivers/staging/iio/Documentation/ |
D | generic_buffer.c | 124 int ret, c, i, j, toread; in main() local 290 toread = buf_len; in main() 293 toread = buf_len*3/4; in main() 296 toread = buf_len/2; in main() 304 toread = 64; in main() 309 toread*scan_size); in main()
|
/linux-2.6.39/drivers/mtd/maps/ |
D | pcmciamtd.c | 162 int toread = win_size - (from & (win_size-1)); in pcmcia_copy_from_remap() local 165 if(toread > len) in pcmcia_copy_from_remap() 166 toread = len; in pcmcia_copy_from_remap() 172 DEBUG(4, "memcpy from %p to %p len = %d", addr, to, toread); in pcmcia_copy_from_remap() 173 memcpy_fromio(to, addr, toread); in pcmcia_copy_from_remap() 174 len -= toread; in pcmcia_copy_from_remap() 175 to += toread; in pcmcia_copy_from_remap() 176 from += toread; in pcmcia_copy_from_remap()
|
/linux-2.6.39/fs/jfs/ |
D | super.c | 657 size_t toread; in jfs_quota_read() local 666 toread = len; in jfs_quota_read() 667 while (toread > 0) { in jfs_quota_read() 668 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read() 669 sb->s_blocksize - offset : toread; in jfs_quota_read() 686 toread -= tocopy; in jfs_quota_read()
|
/linux-2.6.39/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-2.6.39/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-2.6.39/drivers/md/ |
D | raid5.h | 236 struct bio *toread, *read, *towrite, *written; member
|
D | raid5.c | 338 if (dev->toread || dev->read || dev->towrite || dev->written || in init_stripe() 341 (unsigned long long)sh->sector, i, dev->toread, in init_stripe() 685 dev->read = rbi = dev->toread; in ops_run_biofill() 686 dev->toread = NULL; in ops_run_biofill() 2160 bip = &sh->dev[dd_idx].toread; in add_stripe_bio() 2292 bi = sh->dev[i].toread; in handle_failed_stripe() 2293 sh->dev[i].toread = NULL; in handle_failed_stripe() 2335 (dev->toread || in fetch_block5() 2339 (failed_dev->toread || in fetch_block5() 2408 (dev->toread || in fetch_block6() [all …]
|
/linux-2.6.39/drivers/net/wan/ |
D | cycx_x25.c | 971 u16 size, toread, link, msg_code; in cycx_x25_irq_log() local 978 toread = size < 20 ? size : 20; in cycx_x25_irq_log() 979 cycx_peek(&card->hw, cmd->buf + 10, &bf, toread); in cycx_x25_irq_log() 980 cycx_peek(&card->hw, cmd->buf + 10 + toread, &code, 1); in cycx_x25_irq_log() 981 cycx_peek(&card->hw, cmd->buf + 10 + toread + 1, &routine, 1); in cycx_x25_irq_log() 990 hex_dump("Message", bf, toread); in cycx_x25_irq_log()
|
/linux-2.6.39/fs/reiserfs/ |
D | super.c | 2115 size_t toread; in reiserfs_quota_read() local 2123 toread = len; in reiserfs_quota_read() 2124 while (toread > 0) { in reiserfs_quota_read() 2127 toread ? sb->s_blocksize - offset : toread; in reiserfs_quota_read() 2145 toread -= tocopy; in reiserfs_quota_read()
|
/linux-2.6.39/drivers/mtd/nand/ |
D | nand_base.c | 1519 int toread = min(oobreadlen, max_oobsize); in nand_do_read_ops() local 1521 if (toread) { in nand_do_read_ops() 1523 oob, ops, toread); in nand_do_read_ops() 1524 oobreadlen -= toread; in nand_do_read_ops() 1655 int i, toread, sndrnd = 0, pos; in nand_read_oob_syndrome() local 1667 toread = min_t(int, length, chunk); in nand_read_oob_syndrome() 1668 chip->read_buf(mtd, bufpoi, toread); in nand_read_oob_syndrome() 1669 bufpoi += toread; in nand_read_oob_syndrome() 1670 length -= toread; in nand_read_oob_syndrome()
|
/linux-2.6.39/fs/ext3/ |
D | super.c | 2938 size_t toread; in ext3_quota_read() local 2946 toread = len; in ext3_quota_read() 2947 while (toread > 0) { in ext3_quota_read() 2948 tocopy = sb->s_blocksize - offset < toread ? in ext3_quota_read() 2949 sb->s_blocksize - offset : toread; in ext3_quota_read() 2959 toread -= tocopy; in ext3_quota_read()
|
/linux-2.6.39/fs/ext4/ |
D | super.c | 4680 size_t toread; in ext4_quota_read() local 4688 toread = len; in ext4_quota_read() 4689 while (toread > 0) { in ext4_quota_read() 4690 tocopy = sb->s_blocksize - offset < toread ? in ext4_quota_read() 4691 sb->s_blocksize - offset : toread; in ext4_quota_read() 4701 toread -= tocopy; in ext4_quota_read()
|
/linux-2.6.39/arch/x86/kvm/ |
D | x86.c | 3686 unsigned toread = min(bytes, (unsigned)PAGE_SIZE - offset); in kvm_read_guest_virt_helper() local 3691 ret = kvm_read_guest(vcpu->kvm, gpa, data, toread); in kvm_read_guest_virt_helper() 3697 bytes -= toread; in kvm_read_guest_virt_helper() 3698 data += toread; in kvm_read_guest_virt_helper() 3699 addr += toread; in kvm_read_guest_virt_helper()
|