Home
last modified time | relevance | path

Searched refs:BLOCK_FREE (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/mtd/
Dnftlmount.c469 nftl->ReplUnitTable[block] = BLOCK_FREE; in format_chain()
625 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
629 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
773 s->ReplUnitTable[block] = BLOCK_FREE; in NFTL_mount()
775 if (s->ReplUnitTable[block] == BLOCK_FREE) { in NFTL_mount()
Dinftlmount.c444 inftl->PUtable[block] = BLOCK_FREE; in format_chain()
627 if ((logical_block == BLOCK_FREE) || in INFTL_mount()
629 s->PUtable[block] = BLOCK_FREE; in INFTL_mount()
765 s->PUtable[block] = BLOCK_FREE; in INFTL_mount()
767 if (s->PUtable[block] == BLOCK_FREE) { in INFTL_mount()
Dinftlcore.c218 if (inftl->PUtable[pot] == BLOCK_FREE) { in INFTL_findfreeblock()
387 inftl->PUtable[thisEUN] = BLOCK_FREE; in INFTL_foldchain()
729 inftl->PUtable[thisEUN] = BLOCK_FREE; in INFTL_trydeletechain()
Dftl.c294 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[j]))) { in build_maps()
726 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[blk]))) break; in find_free()
822 if (((virt_addr == 0xfffffffe) && !BLOCK_FREE(old_addr)) || in set_bam_entry()
Dnftlcore.c207 if (nftl->ReplUnitTable[pot] == BLOCK_FREE) { in NFTL_findfreeblock()
457 nftl->ReplUnitTable[thisEUN] = BLOCK_FREE; in NFTL_foldchain()
/linux-6.12.1/include/linux/mtd/
Dftl.h63 #define BLOCK_FREE(b) ((b) == 0xffffffff) macro
Dnftl.h16 #define BLOCK_FREE 0xfffe /* free block */ macro