Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/ubi/
Ddebug.c653 if (ubi->dbg.power_cut_counter == 0) { in ubi_dbg_power_cut()
654 ubi->dbg.power_cut_counter = ubi->dbg.power_cut_min; in ubi_dbg_power_cut()
658 ubi->dbg.power_cut_counter += prandom_u32() % range; in ubi_dbg_power_cut()
663 ubi->dbg.power_cut_counter--; in ubi_dbg_power_cut()
664 if (ubi->dbg.power_cut_counter) in ubi_dbg_power_cut()
Dubi.h439 unsigned int power_cut_counter; member