Home
last modified time | relevance | path

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

/drivers/mtd/
Dinftlmount.c541 unsigned int first_logical_block, logical_block, erase_mark; in INFTL_mount() local
561 logical_block = block = BLOCK_NIL; in INFTL_mount()
607 logical_block = le16_to_cpu(h0.virtualUnitNo); in INFTL_mount()
619 if (logical_block == first_logical_block) { in INFTL_mount()
642 if ((logical_block == BLOCK_FREE) || in INFTL_mount()
643 (logical_block == BLOCK_NIL)) { in INFTL_mount()
649 if ((logical_block >= s->nb_blocks) || in INFTL_mount()
662 first_logical_block = logical_block; in INFTL_mount()
664 if (first_logical_block != logical_block) { in INFTL_mount()
708 logical_block = BLOCK_NIL; in INFTL_mount()
[all …]
Dnftlmount.c572 unsigned int first_logical_block, logical_block, rep_block, nb_erases, erase_mark; in NFTL_mount() local
614 logical_block = le16_to_cpu ((h0.VirtUnitNum | h0.SpareVirtUnitNum)); in NFTL_mount()
619 is_first_block = !(logical_block >> 15); in NFTL_mount()
620 logical_block = logical_block & 0x7fff; in NFTL_mount()
623 if (erase_mark != ERASE_MARK || logical_block >= s->nb_blocks) { in NFTL_mount()
659 first_logical_block = logical_block; in NFTL_mount()
661 if (logical_block != first_logical_block) { in NFTL_mount()
663 block, logical_block, first_logical_block); in NFTL_mount()