Lines Matching refs:ReplUnitTable
135 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()
196 nftl->ReplUnitTable = kmalloc_array(nftl->nb_blocks, in find_boot_record()
199 if (!nftl->ReplUnitTable) { in find_boot_record()
207 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
210 nftl->ReplUnitTable[i] = BLOCK_NOTEXPLORED; in find_boot_record()
214 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()
229 kfree(nftl->ReplUnitTable); in find_boot_record()
236 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
240 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
417 block = nftl->ReplUnitTable[block]; in check_sectors_in_chain()
439 block = nftl->ReplUnitTable[block]; in calc_chain_length()
465 block1 = nftl->ReplUnitTable[block]; in format_chain()
470 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in format_chain()
472 nftl->ReplUnitTable[block] = BLOCK_FREE; in format_chain()
591 if (s->ReplUnitTable[first_block] == BLOCK_NOTEXPLORED) { in NFTL_mount()
605 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
626 s->ReplUnitTable[block] = BLOCK_RESERVED; in NFTL_mount()
628 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
632 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
641 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
683 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
689 s->ReplUnitTable[block] = BLOCK_NIL; 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()
703 s->ReplUnitTable[block] = rep_block; in NFTL_mount()
710 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
715 s->ReplUnitTable[block] = rep_block; in NFTL_mount()
771 if (s->ReplUnitTable[block] == BLOCK_NOTEXPLORED) { in NFTL_mount()
774 s->ReplUnitTable[block] = BLOCK_RESERVED; in NFTL_mount()
776 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
778 if (s->ReplUnitTable[block] == BLOCK_FREE) { in NFTL_mount()