Home
last modified time | relevance | path

Searched refs:nr_new (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mmc/core/
Dcore.c1763 unsigned int from_new = *from, nr_new = nr, rem; in mmc_align_erase_size() local
1775 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 …]
/kernel/linux/linux-5.10/mm/
Dmemblock.c574 int idx, nr_new; in memblock_add_range() local
597 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()