Searched refs:n_done (Results 1 – 3 of 3) sorted by relevance
66 unsigned int n_left, n_done, base_chan; in bonding_dio_insn_bits() local78 n_done = 0; in bonding_dio_insn_bits()97 b_write_mask = (write_mask >> n_done) & b_mask; in bonding_dio_insn_bits()98 b_data_bits = (data_bits >> n_done) & b_mask; in bonding_dio_insn_bits()106 data[1] &= ~(b_mask << n_done); in bonding_dio_insn_bits()107 data[1] |= (b_data_bits & b_mask) << n_done; in bonding_dio_insn_bits()113 n_done += b_chans; in bonding_dio_insn_bits()
298 unsigned int i, n_done; in test_vcpu_migration() local304 for (n_done = 0, i = 0; i < test_args.nr_vcpus; i++) { in test_vcpu_migration()310 n_done++; in test_vcpu_migration()316 } while (test_args.nr_vcpus != n_done); in test_vcpu_migration()
3418 int n_done = 0; in yaffs_file_rd() local3486 n_done += n_copy; in yaffs_file_rd()3488 return n_done; in yaffs_file_rd()3499 int n_done = 0; in yaffs_do_file_wr() local3649 n_done += n_copy; in yaffs_do_file_wr()3655 if ((start_write + n_done) > in->variant.file_variant.file_size) in yaffs_do_file_wr()3656 in->variant.file_variant.file_size = (start_write + n_done); in yaffs_do_file_wr()3659 return n_done; in yaffs_do_file_wr()