Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dnftlmount.c197 if (!nftl->ReplUnitTable) { in find_boot_record()
204 nftl->ReplUnitTable[i] = BLOCK_RESERVED; in find_boot_record()
226 kfree(nftl->ReplUnitTable); in find_boot_record()
414 block = nftl->ReplUnitTable[block]; in check_sectors_in_chain()
436 block = nftl->ReplUnitTable[block]; in calc_chain_length()
462 block1 = nftl->ReplUnitTable[block]; in format_chain()
602 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
680 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
686 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
712 s->ReplUnitTable[block] = rep_block; in NFTL_mount()
[all …]
H A Dnftlcore.c99 kfree(nftl->ReplUnitTable); in nftl_add_mtd()
116 kfree(nftl->ReplUnitTable); in nftl_remove_dev()
322 thisEUN = nftl->ReplUnitTable[thisEUN]; in NFTL_foldchain()
449 EUNtmp = nftl->ReplUnitTable[thisEUN]; 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()
636 nftl->ReplUnitTable[writeEUN] = BLOCK_NIL; in NFTL_findwriteunit()
652 nftl->ReplUnitTable[lastEUN] = writeEUN; in NFTL_findwriteunit()
[all …]
/openbmc/linux/include/linux/mtd/
H A Dnftl.h35 __u16 *ReplUnitTable; /* [numEUNs]: ReplUnitNumber for each */ member