Searched refs:ReplUnitTable (Results 1 – 3 of 3) sorted by relevance
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()[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