Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Dnand_bch.c42 unsigned int *errloc; member
84 unsigned int *errloc = nbc->errloc; in nand_bch_correct_data() local
88 NULL, errloc); in nand_bch_correct_data()
91 if (errloc[i] < (chip->ecc.size*8)) in nand_bch_correct_data()
93 buf[errloc[i] >> 3] ^= (1 << (errloc[i] & 7)); in nand_bch_correct_data()
97 errloc[i]); in nand_bch_correct_data()
201 nbc->errloc = kmalloc(t*sizeof(*nbc->errloc), GFP_KERNEL); in nand_bch_init()
202 if (!nbc->eccmask || !nbc->errloc) in nand_bch_init()
234 kfree(nbc->errloc); in nand_bch_free()