Home
last modified time | relevance | path

Searched refs:BLOCK_NIL (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dnftlcore.c202 return BLOCK_NIL; in NFTL_findfreeblock()
224 return BLOCK_NIL; in NFTL_findfreeblock()
228 return BLOCK_NIL; in NFTL_findfreeblock()
253 return BLOCK_NIL; in NFTL_foldchain()
260 targetEUN = BLOCK_NIL; in NFTL_foldchain()
319 return BLOCK_NIL; in NFTL_foldchain()
373 return BLOCK_NIL; in NFTL_foldchain()
513 return BLOCK_NIL; in NFTL_makefreeblock()
576 return BLOCK_NIL; in NFTL_findwriteunit()
619 return BLOCK_NIL; in NFTL_findwriteunit()
[all …]
H A Dinftlcore.c213 return BLOCK_NIL; in INFTL_findfreeblock()
229 return BLOCK_NIL; in INFTL_findfreeblock()
233 return BLOCK_NIL; in INFTL_findfreeblock()
258 return BLOCK_NIL; in INFTL_foldchain()
300 return BLOCK_NIL; in INFTL_foldchain()
366 prevEUN = BLOCK_NIL; in INFTL_foldchain()
441 return BLOCK_NIL; in INFTL_makefreeblock()
480 writeEUN = BLOCK_NIL; in INFTL_findwriteunit()
513 return BLOCK_NIL; in INFTL_findwriteunit()
561 return BLOCK_NIL; in INFTL_findwriteunit()
[all …]
H A Dinftlmount.c52 inftl->MediaUnit = BLOCK_NIL; in find_boot_record()
548 s->VUtable[i] = BLOCK_NIL; in INFTL_mount()
570 first_logical_block = BLOCK_NIL; in INFTL_mount()
571 last_block = BLOCK_NIL; in INFTL_mount()
605 if (last_block != BLOCK_NIL) in INFTL_mount()
661 s->PUtable[block] = BLOCK_NIL; in INFTL_mount()
662 if (last_block != BLOCK_NIL) in INFTL_mount()
668 if (block == BLOCK_NIL) in INFTL_mount()
693 logical_block = BLOCK_NIL; in INFTL_mount()
706 last_block = BLOCK_NIL; in INFTL_mount()
[all …]
H A Dnftlmount.c44 nftl->MediaUnit = BLOCK_NIL; in find_boot_record()
45 nftl->SpareMediaUnit = BLOCK_NIL; in find_boot_record()
581 s->EUNtable[i] = BLOCK_NIL; in NFTL_mount()
602 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
638 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()
694 if (s->ReplUnitTable[rep_block] == BLOCK_NIL && in NFTL_mount()
701 s->EUNtable[first_logical_block] = BLOCK_NIL; in NFTL_mount()
707 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
[all …]
/openbmc/linux/include/linux/mtd/
H A Dnftl.h15 #define BLOCK_NIL 0xffff /* last block of a chain */ macro