/Linux-v4.19/drivers/mtd/nand/raw/bcm47xxnflash/ |
D | ops_bcm4706.c | 98 int toread; in bcm47xxnflash_ops_bcm4706_read() local 106 toread = min(len, 0x200); in bcm47xxnflash_ops_bcm4706_read() 124 for (i = 0; i < toread; i += 4, dest++) { in bcm47xxnflash_ops_bcm4706_read() 126 if (i == toread - 4) /* Last read goes without that */ in bcm47xxnflash_ops_bcm4706_read() 134 b47n->curr_column += toread; in bcm47xxnflash_ops_bcm4706_read() 135 len -= toread; in bcm47xxnflash_ops_bcm4706_read()
|
/Linux-v4.19/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-v4.19/tools/iio/ |
D | iio_generic_buffer.c | 339 unsigned long toread; in main() local 655 toread = buf_len; in main() 658 toread = 64; in main() 661 read_size = read(fp, data, toread * scan_size); in main()
|
/Linux-v4.19/fs/jfs/ |
D | super.c | 770 size_t toread; in jfs_quota_read() local 779 toread = len; in jfs_quota_read() 780 while (toread > 0) { in jfs_quota_read() 781 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read() 782 sb->s_blocksize - offset : toread; in jfs_quota_read() 799 toread -= tocopy; in jfs_quota_read()
|
/Linux-v4.19/drivers/iio/gyro/ |
D | mpu3050-core.c | 525 unsigned int toread; in mpu3050_trigger_handler() local 538 toread = bytes_per_datum + 2; in mpu3050_trigger_handler() 541 toread = bytes_per_datum; in mpu3050_trigger_handler() 550 toread); in mpu3050_trigger_handler() 565 fifocnt -= toread; in mpu3050_trigger_handler()
|
/Linux-v4.19/fs/ocfs2/ |
D | quota_global.c | 177 size_t toread, tocopy; in ocfs2_quota_read() local 184 toread = len; in ocfs2_quota_read() 185 while (toread > 0) { in ocfs2_quota_read() 186 tocopy = min_t(size_t, (sb->s_blocksize - offset), toread); in ocfs2_quota_read() 207 toread -= tocopy; in ocfs2_quota_read()
|
/Linux-v4.19/drivers/net/can/c_can/ |
D | c_can.c | 841 u32 pkts = 0, pend = 0, toread, n; in c_can_do_rx_poll() local 859 toread = c_can_adjust_pending(pend); in c_can_do_rx_poll() 861 toread = pend; in c_can_do_rx_poll() 864 pend &= ~toread; in c_can_do_rx_poll() 866 n = c_can_read_objects(dev, priv, toread, quota); in c_can_do_rx_poll()
|
/Linux-v4.19/fs/ext2/ |
D | super.c | 1497 size_t toread; in ext2_quota_read() local 1506 toread = len; in ext2_quota_read() 1507 while (toread > 0) { in ext2_quota_read() 1508 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read() 1509 sb->s_blocksize - offset : toread; in ext2_quota_read() 1526 toread -= tocopy; in ext2_quota_read()
|
/Linux-v4.19/fs/reiserfs/ |
D | super.c | 2496 size_t toread; in reiserfs_quota_read() local 2504 toread = len; in reiserfs_quota_read() 2505 while (toread > 0) { in reiserfs_quota_read() 2508 toread ? sb->s_blocksize - offset : toread; in reiserfs_quota_read() 2529 toread -= tocopy; in reiserfs_quota_read()
|
/Linux-v4.19/drivers/md/ |
D | raid5.h | 256 struct bio *toread, *read, *towrite, *written; member
|
D | raid5.c | 520 if (dev->toread || dev->read || dev->towrite || dev->written || in init_stripe() 523 (unsigned long long)sh->sector, i, dev->toread, in init_stripe() 1348 dev->read = rbi = dev->toread; in ops_run_biofill() 1349 dev->toread = NULL; in ops_run_biofill() 3219 bip = &sh->dev[dd_idx].toread; in add_stripe_bio() 3422 bi = sh->dev[i].toread; in handle_failed_stripe() 3423 sh->dev[i].toread = NULL; in handle_failed_stripe() 3536 if (dev->toread || in need_this_block() 3548 if ((s->failed >= 1 && fdev[0]->toread) || in need_this_block() 3549 (s->failed >= 2 && fdev[1]->toread)) in need_this_block() [all …]
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | nand_base.c | 3625 int toread = min(oobreadlen, max_oobsize); in nand_do_read_ops() local 3627 if (toread) { in nand_do_read_ops() 3629 oob, ops, toread); in nand_do_read_ops() 3630 oobreadlen -= toread; in nand_do_read_ops() 3735 int i, toread, sndrnd = 0, pos, ret; in nand_read_oob_syndrome() local 3758 toread = min_t(int, length, chunk); in nand_read_oob_syndrome() 3760 ret = nand_read_data_op(chip, bufpoi, toread, false); in nand_read_oob_syndrome() 3764 bufpoi += toread; in nand_read_oob_syndrome() 3765 length -= toread; in nand_read_oob_syndrome()
|
/Linux-v4.19/fs/f2fs/ |
D | super.c | 1591 size_t toread; in f2fs_quota_read() local 1601 toread = len; in f2fs_quota_read() 1602 while (toread > 0) { in f2fs_quota_read() 1603 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in f2fs_quota_read() 1631 toread -= tocopy; in f2fs_quota_read()
|
/Linux-v4.19/fs/ext4/ |
D | super.c | 5764 size_t toread; in ext4_quota_read() local 5772 toread = len; in ext4_quota_read() 5773 while (toread > 0) { in ext4_quota_read() 5774 tocopy = sb->s_blocksize - offset < toread ? in ext4_quota_read() 5775 sb->s_blocksize - offset : toread; in ext4_quota_read() 5785 toread -= tocopy; in ext4_quota_read()
|
/Linux-v4.19/arch/x86/kvm/ |
D | x86.c | 4852 unsigned toread = min(bytes, (unsigned)PAGE_SIZE - offset); in kvm_read_guest_virt_helper() local 4858 offset, toread); in kvm_read_guest_virt_helper() 4864 bytes -= toread; in kvm_read_guest_virt_helper() 4865 data += toread; in kvm_read_guest_virt_helper() 4866 addr += toread; in kvm_read_guest_virt_helper()
|