Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mmc/core/
Dcore.c1707 unsigned int from_new = *from, nr_new = nr, rem; in mmc_align_erase_size() local
1719 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 …]
/linux-6.6.21/mm/
Dmemblock.c595 int idx, nr_new, start_rgn = -1, end_rgn; in memblock_add_range() local
629 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()