Home
last modified time | relevance | path

Searched refs:ReplUnitTable (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/mtd/
Dnftlmount.c147 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()
207 nftl->ReplUnitTable = kmalloc(nftl->nb_blocks * sizeof(u16), GFP_KERNEL); in find_boot_record()
208 if (!nftl->ReplUnitTable) { in find_boot_record()
216 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
219 nftl->ReplUnitTable[i] = BLOCK_NOTEXPLORED; in find_boot_record()
223 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()
236 kfree(nftl->ReplUnitTable); in find_boot_record()
243 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
247 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
417 block = nftl->ReplUnitTable[block]; in check_sectors_in_chain()
[all …]
Dnftlcore.c112 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 …]
/linux-3.4.99/include/linux/mtd/
Dnftl.h49 __u16 *ReplUnitTable; /* [numEUNs]: ReplUnitNumber for each */ member