Searched refs:temp_buf (Results 1 – 1 of 1) sorted by relevance
187 u8 *temp_buf = kzalloc(bbt_page_num * mtd->writesize, GFP_KERNEL); in nanddev_read_bbt() local190 if (!temp_buf) in nanddev_read_bbt()193 memcpy(temp_buf, nand->bbt.cache, nbytes); in nanddev_read_bbt()205 memcpy(nand->bbt.cache, temp_buf, nbytes); in nanddev_read_bbt()206 kfree(temp_buf); in nanddev_read_bbt()