ecc_info 110 drivers/mtd/nand/raw/nand_jedec.c ecc = &p->ecc_info[0]; ecc_info 86 fs/pstore/ram.c struct persistent_ram_ecc_info ecc_info; ecc_info 290 fs/pstore/ram.c tmp_prz->ecc_info = prz_next->ecc_info; ecc_info 584 fs/pstore/ram.c &cxt->ecc_info, ecc_info 630 fs/pstore/ram.c *prz = persistent_ram_new(*paddr, sz, sig, &cxt->ecc_info, ecc_info 703 fs/pstore/ram.c parse_size("ecc-size", pdata->ecc_info.ecc_size); ecc_info 722 fs/pstore/ram.c !pdata->pmsg_size && !pdata->ecc_info.ecc_size) { ecc_info 790 fs/pstore/ram.c cxt->ecc_info = pdata->ecc_info; ecc_info 875 fs/pstore/ram.c cxt->ecc_info.ecc_size); ecc_info 958 fs/pstore/ram.c pdata.ecc_info.ecc_size = ramoops_ecc == 1 ? 16 : ramoops_ecc; ecc_info 104 fs/pstore/ram_core.c memset(prz->ecc_info.par, 0, ecc_info 105 fs/pstore/ram_core.c prz->ecc_info.ecc_size * sizeof(prz->ecc_info.par[0])); ecc_info 106 fs/pstore/ram_core.c encode_rs8(prz->rs_decoder, data, len, prz->ecc_info.par, 0); ecc_info 107 fs/pstore/ram_core.c for (i = 0; i < prz->ecc_info.ecc_size; i++) ecc_info 108 fs/pstore/ram_core.c ecc[i] = prz->ecc_info.par[i]; ecc_info 116 fs/pstore/ram_core.c for (i = 0; i < prz->ecc_info.ecc_size; i++) ecc_info 117 fs/pstore/ram_core.c prz->ecc_info.par[i] = ecc[i]; ecc_info 118 fs/pstore/ram_core.c return decode_rs8(prz->rs_decoder, data, prz->ecc_info.par, len, ecc_info 129 fs/pstore/ram_core.c int ecc_block_size = prz->ecc_info.block_size; ecc_info 130 fs/pstore/ram_core.c int ecc_size = prz->ecc_info.ecc_size; ecc_info 152 fs/pstore/ram_core.c if (!prz->ecc_info.ecc_size) ecc_info 165 fs/pstore/ram_core.c if (!prz->ecc_info.ecc_size) ecc_info 172 fs/pstore/ram_core.c int size = prz->ecc_info.block_size; ecc_info 183 fs/pstore/ram_core.c block += prz->ecc_info.block_size; ecc_info 184 fs/pstore/ram_core.c par += prz->ecc_info.ecc_size; ecc_info 189 fs/pstore/ram_core.c struct persistent_ram_ecc_info *ecc_info) ecc_info 196 fs/pstore/ram_core.c if (!ecc_info || !ecc_info->ecc_size) ecc_info 199 fs/pstore/ram_core.c prz->ecc_info.block_size = ecc_info->block_size ?: 128; ecc_info 200 fs/pstore/ram_core.c prz->ecc_info.ecc_size = ecc_info->ecc_size ?: 16; ecc_info 201 fs/pstore/ram_core.c prz->ecc_info.symsize = ecc_info->symsize ?: 8; ecc_info 202 fs/pstore/ram_core.c prz->ecc_info.poly = ecc_info->poly ?: 0x11d; ecc_info 204 fs/pstore/ram_core.c ecc_blocks = DIV_ROUND_UP(prz->buffer_size - prz->ecc_info.ecc_size, ecc_info 205 fs/pstore/ram_core.c prz->ecc_info.block_size + ecc_info 206 fs/pstore/ram_core.c prz->ecc_info.ecc_size); ecc_info 207 fs/pstore/ram_core.c ecc_total = (ecc_blocks + 1) * prz->ecc_info.ecc_size; ecc_info 210 fs/pstore/ram_core.c __func__, prz->ecc_info.ecc_size, ecc_info 218 fs/pstore/ram_core.c ecc_blocks * prz->ecc_info.ecc_size; ecc_info 224 fs/pstore/ram_core.c prz->rs_decoder = init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, ecc_info 225 fs/pstore/ram_core.c 0, 1, prz->ecc_info.ecc_size); ecc_info 232 fs/pstore/ram_core.c prz->ecc_info.par = kmalloc_array(prz->ecc_info.ecc_size, ecc_info 233 fs/pstore/ram_core.c sizeof(*prz->ecc_info.par), ecc_info 235 fs/pstore/ram_core.c if (!prz->ecc_info.par) { ecc_info 261 fs/pstore/ram_core.c if (!prz->ecc_info.ecc_size) ecc_info 491 fs/pstore/ram_core.c struct persistent_ram_ecc_info *ecc_info) ecc_info 496 fs/pstore/ram_core.c ret = persistent_ram_init_ecc(prz, ecc_info); ecc_info 553 fs/pstore/ram_core.c kfree(prz->ecc_info.par); ecc_info 554 fs/pstore/ram_core.c prz->ecc_info.par = NULL; ecc_info 562 fs/pstore/ram_core.c u32 sig, struct persistent_ram_ecc_info *ecc_info, ecc_info 583 fs/pstore/ram_core.c ret = persistent_ram_post_init(prz, sig, ecc_info); ecc_info 591 fs/pstore/ram_core.c prz->ecc_info.ecc_size, prz->ecc_info.block_size); ecc_info 77 include/linux/mtd/jedec.h struct jedec_ecc_info ecc_info[4]; ecc_info 96 include/linux/pstore_ram.h struct persistent_ram_ecc_info ecc_info; ecc_info 103 include/linux/pstore_ram.h u32 sig, struct persistent_ram_ecc_info *ecc_info, ecc_info 138 include/linux/pstore_ram.h struct persistent_ram_ecc_info ecc_info;