Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/
Dnftlmount.c568 unsigned int first_logical_block, logical_block, rep_block, erase_mark; in NFTL_mount() local
611 rep_block = le16_to_cpu ((h0.ReplUnitNum | h0.SpareReplUnitNum)); in NFTL_mount()
668 rep_block != 0xffff) { in NFTL_mount()
681 if (rep_block == 0xffff) { in NFTL_mount()
685 } else if (rep_block >= s->nb_blocks) { in NFTL_mount()
687 block, rep_block); in NFTL_mount()
691 } else if (s->ReplUnitTable[rep_block] != BLOCK_NOTEXPLORED) { in NFTL_mount()
697 if (s->ReplUnitTable[rep_block] == BLOCK_NIL && in NFTL_mount()
698 s->EUNtable[first_logical_block] == rep_block && in NFTL_mount()
702 rep_block); in NFTL_mount()
[all …]