Lines Matching refs:ReplUnitTable

149 			nftl->ReplUnitTable[block] = BLOCK_RESERVED;  in find_boot_record()
209 nftl->ReplUnitTable = kmalloc(nftl->nb_blocks * sizeof(u16), GFP_KERNEL); in find_boot_record()
210 if (!nftl->ReplUnitTable) { in find_boot_record()
218 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
221 nftl->ReplUnitTable[i] = BLOCK_NOTEXPLORED; in find_boot_record()
225 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()
240 kfree(nftl->ReplUnitTable); in find_boot_record()
247 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
251 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
421 block = nftl->ReplUnitTable[block]; in check_sectors_in_chain()
443 block = nftl->ReplUnitTable[block]; in calc_chain_length()
469 block1 = nftl->ReplUnitTable[block]; in format_chain()
474 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in format_chain()
476 nftl->ReplUnitTable[block] = BLOCK_FREE; in format_chain()
595 if (s->ReplUnitTable[first_block] == BLOCK_NOTEXPLORED) { in NFTL_mount()
609 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
631 s->ReplUnitTable[block] = BLOCK_RESERVED; in NFTL_mount()
633 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
637 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
646 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
688 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
694 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
696 } else if (s->ReplUnitTable[rep_block] != BLOCK_NOTEXPLORED) { in NFTL_mount()
702 if (s->ReplUnitTable[rep_block] == BLOCK_NIL && in NFTL_mount()
708 s->ReplUnitTable[block] = rep_block; in NFTL_mount()
715 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
720 s->ReplUnitTable[block] = rep_block; in NFTL_mount()
776 if (s->ReplUnitTable[block] == BLOCK_NOTEXPLORED) { in NFTL_mount()
779 s->ReplUnitTable[block] = BLOCK_RESERVED; in NFTL_mount()
781 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
783 if (s->ReplUnitTable[block] == BLOCK_FREE) { in NFTL_mount()