Searched refs:erased_page (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mtd/nand/
H A Dnand_bch.c133 unsigned char *erased_page; nand_bch_init() local
207 erased_page = kmalloc(eccsize, GFP_KERNEL); nand_bch_init()
208 if (!erased_page) nand_bch_init()
211 memset(erased_page, 0xff, eccsize); nand_bch_init()
213 encode_bch(nbc->bch, erased_page, eccsize, nbc->eccmask); nand_bch_init()
214 kfree(erased_page); nand_bch_init()

Completed in 116 milliseconds