Home
last modified time | relevance | path

Searched refs:pick_cnt (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/
H A Dmtdswap.c803 static unsigned int pick_cnt; in mtdswap_choose_wl_tree() local
820 if (max > MAX_ERASE_DIFF && pick_cnt >= mtdswap_wlfreq(max) - 1) { in mtdswap_choose_wl_tree()
821 pick_cnt = 0; in mtdswap_choose_wl_tree()
825 pick_cnt++; in mtdswap_choose_wl_tree()
/kernel/linux/linux-6.6/drivers/mtd/
H A Dmtdswap.c802 static unsigned int pick_cnt; in mtdswap_choose_wl_tree() local
819 if (max > MAX_ERASE_DIFF && pick_cnt >= mtdswap_wlfreq(max) - 1) { in mtdswap_choose_wl_tree()
820 pick_cnt = 0; in mtdswap_choose_wl_tree()
824 pick_cnt++; in mtdswap_choose_wl_tree()

Completed in 4 milliseconds