Searched refs:nr_new (Results 1 – 2 of 2) sorted by relevance
1707 unsigned int from_new = *from, nr_new = nr, rem; in mmc_align_erase_size() local1719 if (nr_new > rem) in mmc_align_erase_size()1720 nr_new -= rem; in mmc_align_erase_size()1724 nr_new = round_down(nr_new, card->erase_size); in mmc_align_erase_size()1730 if (nr_new > rem) in mmc_align_erase_size()1731 nr_new -= rem; in mmc_align_erase_size()1736 rem = nr_new % card->erase_size; in mmc_align_erase_size()1738 nr_new -= rem; in mmc_align_erase_size()1741 if (nr_new == 0) in mmc_align_erase_size()1744 *to = from_new + nr_new; in mmc_align_erase_size()[all …]
595 int idx, nr_new, start_rgn = -1, end_rgn; in memblock_add_range() local629 nr_new = 0; in memblock_add_range()648 nr_new++; in memblock_add_range()664 nr_new++; in memblock_add_range()674 if (!nr_new) in memblock_add_range()682 while (type->cnt + nr_new > type->max) in memblock_add_range()