Searched refs:ReplUnitTable (Results 1 – 3 of 3) sorted by relevance
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()[all …]
99 kfree(nftl->ReplUnitTable); in nftl_add_mtd()116 kfree(nftl->ReplUnitTable); in nftl_remove_dev()207 if (nftl->ReplUnitTable[pot] == BLOCK_FREE) { in NFTL_findfreeblock()322 thisEUN = nftl->ReplUnitTable[thisEUN]; in NFTL_foldchain()449 EUNtmp = nftl->ReplUnitTable[thisEUN]; in NFTL_foldchain()454 nftl->ReplUnitTable[thisEUN] = BLOCK_RESERVED; in NFTL_foldchain()457 nftl->ReplUnitTable[thisEUN] = BLOCK_FREE; in NFTL_foldchain()464 nftl->ReplUnitTable[targetEUN] = BLOCK_NIL; in NFTL_foldchain()490 EUN = nftl->ReplUnitTable[EUN] & 0x7fff; in NFTL_makefreeblock()580 writeEUN = nftl->ReplUnitTable[writeEUN]; in NFTL_findwriteunit()[all …]
35 __u16 *ReplUnitTable; /* [numEUNs]: ReplUnitNumber for each */ member