Searched refs:ReplUnitTable (Results 1 – 3 of 3) sorted by relevance
148 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()209 nftl->ReplUnitTable = kmalloc_array(nftl->nb_blocks, in find_boot_record()212 if (!nftl->ReplUnitTable) { in find_boot_record()220 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()223 nftl->ReplUnitTable[i] = BLOCK_NOTEXPLORED; in find_boot_record()227 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()242 kfree(nftl->ReplUnitTable); in find_boot_record()249 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()253 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()429 block = nftl->ReplUnitTable[block]; in check_sectors_in_chain()[all …]
112 kfree(nftl->ReplUnitTable); in nftl_add_mtd()129 kfree(nftl->ReplUnitTable); in nftl_remove_dev()220 if (nftl->ReplUnitTable[pot] == BLOCK_FREE) { in NFTL_findfreeblock()335 thisEUN = nftl->ReplUnitTable[thisEUN]; in NFTL_foldchain()462 EUNtmp = nftl->ReplUnitTable[thisEUN]; in NFTL_foldchain()467 nftl->ReplUnitTable[thisEUN] = BLOCK_RESERVED; in NFTL_foldchain()470 nftl->ReplUnitTable[thisEUN] = BLOCK_FREE; in NFTL_foldchain()477 nftl->ReplUnitTable[targetEUN] = BLOCK_NIL; in NFTL_foldchain()503 EUN = nftl->ReplUnitTable[EUN] & 0x7fff; in NFTL_makefreeblock()593 writeEUN = nftl->ReplUnitTable[writeEUN]; in NFTL_findwriteunit()[all …]
49 __u16 *ReplUnitTable; /* [numEUNs]: ReplUnitNumber for each */ member