Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/ubi/
Ddebug.c640 if (ubi->dbg.power_cut_counter == 0) { in ubi_dbg_power_cut()
641 ubi->dbg.power_cut_counter = ubi->dbg.power_cut_min; in ubi_dbg_power_cut()
645 ubi->dbg.power_cut_counter += prandom_u32() % range; in ubi_dbg_power_cut()
650 ubi->dbg.power_cut_counter--; in ubi_dbg_power_cut()
651 if (ubi->dbg.power_cut_counter) in ubi_dbg_power_cut()
Dubi.h426 unsigned int power_cut_counter; member