Searched refs:emulate_failures (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/mtd/ubi/
H A Ddebug.h84 * MASK_XXX: Mask for emulate_failures in ubi_debug_info.The mask is used to
132 if (ubi->dbg.emulate_failures & MASK_BITFLIPS)
139 if (ubi->dbg.emulate_failures & MASK_WRITE_FAILURE)
146 if (ubi->dbg.emulate_failures & MASK_ERASE_FAILURE)
154 if (ubi->dbg.emulate_failures & caller)
162 if (ubi->dbg.emulate_failures & caller)
169 if (ubi->dbg.emulate_failures & MASK_ECCERR)
177 if (ubi->dbg.emulate_failures & caller)
185 if (ubi->dbg.emulate_failures & caller)
193 if (ubi->dbg.emulate_failures
[all...]
H A Ddebug.c356 snprintf(buf, sizeof(buf), "0x%04x\n", d->emulate_failures);
418 if (kstrtouint(buf, 0, &d->emulate_failures) != 0)
651 d->dfs_emulate_failures = debugfs_create_file("emulate_failures",
H A Dubi.h397 * @emulate_failures: emulate failures for testing purposes
422 unsigned int emulate_failures; member in struct:ubi_debug_info

Completed in 121 milliseconds