Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/ubi/
Ddebug.c589 if (ubi->dbg.power_cut_counter == 0) { in ubi_dbg_power_cut()
590 ubi->dbg.power_cut_counter = ubi->dbg.power_cut_min; in ubi_dbg_power_cut()
594 ubi->dbg.power_cut_counter += get_random_u32_below(range); in ubi_dbg_power_cut()
599 ubi->dbg.power_cut_counter--; in ubi_dbg_power_cut()
600 if (ubi->dbg.power_cut_counter) in ubi_dbg_power_cut()
Dubi.h424 unsigned int power_cut_counter; member