Lines Matching full:bbt
10 #define pr_fmt(fmt) "nand-bbt: " fmt
18 * nanddev_bbt_init() - Initialize the BBT (Bad Block Table)
21 * Initialize the in-memory BBT.
32 nand->bbt.cache = kzalloc(nwords, GFP_KERNEL); in nanddev_bbt_init()
33 if (!nand->bbt.cache) in nanddev_bbt_init()
41 * nanddev_bbt_cleanup() - Cleanup the BBT (Bad Block Table)
48 kfree(nand->bbt.cache); in nanddev_bbt_cleanup()
53 * nanddev_bbt_update() - Update a BBT
56 * Update the BBT. Currently a NOP function since on-flash bbt is not yet
70 * @entry: the BBT entry
73 * is bigger than the BBT size.
79 unsigned long *pos = nand->bbt.cache + in nanddev_bbt_get_block_status()
97 * in-memory BBT
99 * @entry: the BBT entry to update
102 * Update an entry of the in-memory BBT. If you want to push the updated BBT
105 * Return: 0 in case of success or -%ERANGE if @entry is bigger than the BBT
112 unsigned long *pos = nand->bbt.cache + in nanddev_bbt_set_block_status()