Searched refs:nr_new (Results 1 – 2 of 2) sorted by relevance
1763 unsigned int from_new = *from, nr_new = nr, rem; in mmc_align_erase_size() local1775 if (nr_new > rem) in mmc_align_erase_size()1776 nr_new -= rem; in mmc_align_erase_size()1780 nr_new = round_down(nr_new, card->erase_size); in mmc_align_erase_size()1786 if (nr_new > rem) in mmc_align_erase_size()1787 nr_new -= rem; in mmc_align_erase_size()1792 rem = nr_new % card->erase_size; in mmc_align_erase_size()1794 nr_new -= rem; in mmc_align_erase_size()1797 if (nr_new == 0) in mmc_align_erase_size()1800 *to = from_new + nr_new; in mmc_align_erase_size()[all …]
574 int idx, nr_new; in memblock_add_range() local597 nr_new = 0; in memblock_add_range()616 nr_new++; in memblock_add_range()628 nr_new++; in memblock_add_range()634 if (!nr_new) in memblock_add_range()642 while (type->cnt + nr_new > type->max) in memblock_add_range()