Lines Matching refs:ReplUnitTable

135 			nftl->ReplUnitTable[block] = BLOCK_RESERVED;  in find_boot_record()
194 nftl->ReplUnitTable = kmalloc_array(nftl->nb_blocks, in find_boot_record()
197 if (!nftl->ReplUnitTable) { in find_boot_record()
204 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
207 nftl->ReplUnitTable[i] = BLOCK_NOTEXPLORED; in find_boot_record()
211 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()
226 kfree(nftl->ReplUnitTable); in find_boot_record()
233 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
237 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
414 block = nftl->ReplUnitTable[block]; in check_sectors_in_chain()
436 block = nftl->ReplUnitTable[block]; in calc_chain_length()
462 block1 = nftl->ReplUnitTable[block]; in format_chain()
467 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in format_chain()
469 nftl->ReplUnitTable[block] = BLOCK_FREE; in format_chain()
588 if (s->ReplUnitTable[first_block] == BLOCK_NOTEXPLORED) { in NFTL_mount()
602 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
623 s->ReplUnitTable[block] = BLOCK_RESERVED; in NFTL_mount()
625 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
629 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
638 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
680 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
686 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
688 } else if (s->ReplUnitTable[rep_block] != BLOCK_NOTEXPLORED) { in NFTL_mount()
694 if (s->ReplUnitTable[rep_block] == BLOCK_NIL && in NFTL_mount()
700 s->ReplUnitTable[block] = rep_block; in NFTL_mount()
707 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
712 s->ReplUnitTable[block] = rep_block; in NFTL_mount()
768 if (s->ReplUnitTable[block] == BLOCK_NOTEXPLORED) { in NFTL_mount()
771 s->ReplUnitTable[block] = BLOCK_RESERVED; in NFTL_mount()
773 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
775 if (s->ReplUnitTable[block] == BLOCK_FREE) { in NFTL_mount()