Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/
Dnftlcore.c202 return BLOCK_NIL; in NFTL_findfreeblock()
224 return BLOCK_NIL; in NFTL_findfreeblock()
228 return BLOCK_NIL; in NFTL_findfreeblock()
250 if (thisEUN == BLOCK_NIL) { in NFTL_foldchain()
253 return BLOCK_NIL; in NFTL_foldchain()
260 targetEUN = BLOCK_NIL; in NFTL_foldchain()
300 BlockMap[block] = BLOCK_NIL; in NFTL_foldchain()
319 return BLOCK_NIL; in NFTL_foldchain()
335 BlockMap[block] != BLOCK_NIL && in NFTL_foldchain()
364 if (targetEUN == BLOCK_NIL) { in NFTL_foldchain()
[all …]
Dinftlcore.c213 return BLOCK_NIL; in INFTL_findfreeblock()
229 return BLOCK_NIL; in INFTL_findfreeblock()
233 return BLOCK_NIL; in INFTL_findfreeblock()
255 if (thisEUN == BLOCK_NIL) { in INFTL_foldchain()
258 return BLOCK_NIL; in INFTL_foldchain()
268 if ((BlockMap[block] != BLOCK_NIL) || in INFTL_foldchain()
300 return BLOCK_NIL; in INFTL_foldchain()
330 if (BlockMap[block] == BLOCK_NIL) in INFTL_foldchain()
366 prevEUN = BLOCK_NIL; in INFTL_foldchain()
367 while (inftl->PUtable[thisEUN] != BLOCK_NIL) { in INFTL_foldchain()
[all …]
Dinftlmount.c52 inftl->MediaUnit = BLOCK_NIL; in find_boot_record()
450 if (block == BLOCK_NIL || block >= inftl->lastEUN) in format_chain()
514 if (s->PUtable[block] == BLOCK_NIL) in INFTL_dumpVUchains()
548 s->VUtable[i] = BLOCK_NIL; in INFTL_mount()
550 logical_block = block = 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()
628 (logical_block == BLOCK_NIL)) { in INFTL_mount()
636 (prev_block != BLOCK_NIL))) { in INFTL_mount()
[all …]
Dnftlmount.c44 nftl->MediaUnit = BLOCK_NIL; in find_boot_record()
45 nftl->SpareMediaUnit = BLOCK_NIL; in find_boot_record()
415 if (!(block == BLOCK_NIL || block < nftl->nb_blocks)) in check_sectors_in_chain()
417 if (block == BLOCK_NIL || block >= nftl->nb_blocks) in check_sectors_in_chain()
437 if (!(block == BLOCK_NIL || block < nftl->nb_blocks)) in calc_chain_length()
439 if (block == BLOCK_NIL || block >= nftl->nb_blocks) in calc_chain_length()
475 if (!(block == BLOCK_NIL || block < nftl->nb_blocks)) in format_chain()
477 if (block == BLOCK_NIL || block >= nftl->nb_blocks) in format_chain()
581 s->EUNtable[i] = BLOCK_NIL; in NFTL_mount()
602 s->ReplUnitTable[block] = BLOCK_NIL; in NFTL_mount()
[all …]
/linux-6.12.1/include/linux/mtd/
Dnftl.h15 #define BLOCK_NIL 0xffff /* last block of a chain */ macro