Searched refs:ReplUnitTable (Results 1 - 3 of 3) sorted by path

/linux-master/include/linux/mtd/
H A Dnftl.h14 /* these info are used in ReplUnitTable */
35 __u16 *ReplUnitTable; /* [numEUNs]: ReplUnitNumber for each */ member in struct:NFTLrecord
/linux-master/drivers/mtd/
H A Dnftlcore.c99 kfree(nftl->ReplUnitTable);
116 kfree(nftl->ReplUnitTable);
207 if (nftl->ReplUnitTable[pot] == BLOCK_FREE) {
322 thisEUN = nftl->ReplUnitTable[thisEUN];
449 EUNtmp = nftl->ReplUnitTable[thisEUN];
454 nftl->ReplUnitTable[thisEUN] = BLOCK_RESERVED;
457 nftl->ReplUnitTable[thisEUN] = BLOCK_FREE;
464 nftl->ReplUnitTable[targetEUN] = BLOCK_NIL;
490 EUN = nftl->ReplUnitTable[EUN] & 0x7fff;
580 writeEUN = nftl->ReplUnitTable[writeEU
[all...]
H A Dnftlmount.c22 * the ReplUnitTable[] table according to the Bad Unit Table. ReplUnitTable[]
135 nftl->ReplUnitTable[block] = BLOCK_RESERVED;
194 nftl->ReplUnitTable = kmalloc_array(nftl->nb_blocks,
197 if (!nftl->ReplUnitTable) {
204 nftl->ReplUnitTable[i] = BLOCK_RESERVED;
207 nftl->ReplUnitTable[i] = BLOCK_NOTEXPLORED;
211 nftl->ReplUnitTable[block] = BLOCK_RESERVED;
213 /* read the Bad Erase Unit Table and modify ReplUnitTable[] accordingly */
226 kfree(nftl->ReplUnitTable);
[all...]

Completed in 239 milliseconds