Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/
Dnftlmount.c135 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()
194 nftl->ReplUnitTable = kmalloc_array(nftl->nb_blocks, in find_boot_record()
197 if (!nftl->ReplUnitTable) { in find_boot_record()
204 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
207 nftl->ReplUnitTable[i] = BLOCK_NOTEXPLORED; in find_boot_record()
211 nftl->ReplUnitTable[block] = BLOCK_RESERVED; in find_boot_record()
226 kfree(nftl->ReplUnitTable); in find_boot_record()
233 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
237 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
414 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-6.12.1/include/linux/mtd/
Dnftl.h35 __u16 *ReplUnitTable; /* [numEUNs]: ReplUnitNumber for each */ member