Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_bch.c126 unsigned char *erased_page; in nand_bch_init() local
195 erased_page = kmalloc(eccsize, GFP_KERNEL); in nand_bch_init()
196 if (!erased_page) in nand_bch_init()
199 memset(erased_page, 0xff, eccsize); in nand_bch_init()
201 encode_bch(nbc->bch, erased_page, eccsize, nbc->eccmask); in nand_bch_init()
202 kfree(erased_page); in nand_bch_init()