Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dnftlmount.c305 unsigned int nb_erases, erase_mark; in NFTL_formatblock() local
315 erase_mark = le16_to_cpu ((uci.EraseMark | uci.EraseMark1)); in NFTL_formatblock()
316 if (erase_mark != ERASE_MARK) { in NFTL_formatblock()
492 unsigned int erase_mark; in check_and_mark_free_block() local
500 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in check_and_mark_free_block()
501 if (erase_mark != ERASE_MARK) { in check_and_mark_free_block()
565 unsigned int first_logical_block, logical_block, rep_block, erase_mark; in NFTL_mount() local
609 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in NFTL_mount()
615 if (erase_mark != ERASE_MARK || logical_block >= s->nb_blocks) { in NFTL_mount()
H A Dinftlmount.c530 unsigned int first_logical_block, logical_block, erase_mark; in INFTL_mount() local
594 erase_mark = le16_to_cpu((h1.EraseMark | h1.EraseMark1)); in INFTL_mount()
612 if (erase_mark != ERASE_MARK) { in INFTL_mount()
616 chain_length, erase_mark); in INFTL_mount()