Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/
Dnftlmount.c135 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 …]
Dnftlcore.c99 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 …]
/Linux-v5.10/include/linux/mtd/
Dnftl.h35 __u16 *ReplUnitTable; /* [numEUNs]: ReplUnitNumber for each */ member