Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/
Dinftlmount.c260 inftl->PUtable = kmalloc_array(inftl->nb_blocks, sizeof(u16), in find_boot_record()
262 if (!inftl->PUtable) in find_boot_record()
268 kfree(inftl->PUtable); in find_boot_record()
274 inftl->PUtable[i] = BLOCK_RESERVED; in find_boot_record()
277 inftl->PUtable[i] = BLOCK_NOTEXPLORED; in find_boot_record()
280 inftl->PUtable[block] = BLOCK_RESERVED; in find_boot_record()
290 inftl->PUtable[i] = BLOCK_RESERVED; in find_boot_record()
435 block1 = inftl->PUtable[block]; in format_chain()
442 inftl->PUtable[block] = BLOCK_RESERVED; in format_chain()
444 inftl->PUtable[block] = BLOCK_FREE; in format_chain()
[all …]
Dinftlcore.c106 kfree(inftl->PUtable); in inftl_add_mtd()
125 kfree(inftl->PUtable); in inftl_remove_dev()
218 if (inftl->PUtable[pot] == BLOCK_FREE) { in INFTL_findfreeblock()
303 thisEUN = inftl->PUtable[thisEUN]; in INFTL_foldchain()
367 while (inftl->PUtable[thisEUN] != BLOCK_NIL) { in INFTL_foldchain()
369 thisEUN = inftl->PUtable[thisEUN]; in INFTL_foldchain()
377 inftl->PUtable[prevEUN] = BLOCK_NIL; in INFTL_foldchain()
384 inftl->PUtable[thisEUN] = BLOCK_RESERVED; in INFTL_foldchain()
387 inftl->PUtable[thisEUN] = BLOCK_FREE; in INFTL_foldchain()
418 EUN = inftl->PUtable[EUN]; in INFTL_makefreeblock()
[all …]
/linux-6.12.1/include/linux/mtd/
Dinftl.h43 __u16 *PUtable; /* Physical Unit Table */ member