Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dmtdswap.c66 #define EBLOCK_READERR (1 << 4) macro
427 if (eb->flags & (EBLOCK_NOMAGIC | EBLOCK_BAD | EBLOCK_READERR)) in mtdswap_check_counts()
445 if (eb->flags & (EBLOCK_NOMAGIC | EBLOCK_READERR)) in mtdswap_check_counts()
448 if (eb->flags & (EBLOCK_NOMAGIC | EBLOCK_BAD | EBLOCK_READERR)) in mtdswap_check_counts()
466 eb->flags |= EBLOCK_READERR; in mtdswap_scan_eblks()
514 else if (eb->flags & (EBLOCK_READERR | EBLOCK_FAILED)) in mtdswap_store_eb()
694 oldeb->flags |= EBLOCK_READERR; in mtdswap_move_block()
929 eb->flags &= ~EBLOCK_READERR; in mtdswap_eblk_passes()
960 if ((eb->flags & EBLOCK_READERR) && in mtdswap_gc()
1123 eb->flags |= EBLOCK_READERR; in mtdswap_readsect()