Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/
H A Decc-sw-bch.c240 engine_conf->code_buf = kzalloc(mtd->oobsize, GFP_KERNEL); in nand_ecc_sw_bch_init_ctx()
241 if (!engine_conf->calc_buf || !engine_conf->code_buf) { in nand_ecc_sw_bch_init_ctx()
269 kfree(engine_conf->code_buf); in nand_ecc_sw_bch_init_ctx()
285 kfree(engine_conf->code_buf); in nand_ecc_sw_bch_cleanup_ctx()
338 u8 *ecccode = engine_conf->code_buf; in nand_ecc_sw_bch_finish_io_req()
H A Decc-sw-hamming.c509 engine_conf->code_buf = kzalloc(mtd->oobsize, GFP_KERNEL); in nand_ecc_sw_hamming_init_ctx()
510 if (!engine_conf->calc_buf || !engine_conf->code_buf) { in nand_ecc_sw_hamming_init_ctx()
524 kfree(engine_conf->code_buf); in nand_ecc_sw_hamming_init_ctx()
539 kfree(engine_conf->code_buf); in nand_ecc_sw_hamming_cleanup_ctx()
592 u8 *ecccode = engine_conf->code_buf; in nand_ecc_sw_hamming_finish_io_req()
/linux/tools/perf/util/
H A Dllvm.c125 u8 *code_buf = NULL; in symbol__disassemble_llvm() local
144 &code_buf, &buf_len, &is_64bit); in symbol__disassemble_llvm()
265 free(code_buf); in symbol__disassemble_llvm()
H A Dcapstone.c233 u8 *code_buf = NULL; in symbol__disassemble_capstone() local
247 &code_buf, &buf_len, &is_64bit); in symbol__disassemble_capstone()
319 free(code_buf); in symbol__disassemble_capstone()
H A Ddso.c1829 u8 *code_buf = NULL; in __dso__read_symbol() local
1845 code_buf = malloc(len); in __dso__read_symbol()
1846 if (code_buf == NULL) { in __dso__read_symbol()
1851 count = pread(fd, code_buf, len, data.offset); in __dso__read_symbol()
1855 free(code_buf); in __dso__read_symbol()
1859 *out_buf = code_buf; in __dso__read_symbol()
1861 return code_buf; in __dso__read_symbol()
/linux/include/linux/mtd/
H A Dnand-ecc-sw-bch.h29 u8 *code_buf; member
H A Dnand-ecc-sw-hamming.h28 u8 *code_buf; member
H A Drawnand.h362 u8 *code_buf; member
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c2952 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_swecc()
3062 ret = mtd_ooblayout_get_eccbytes(mtd, chip->ecc.code_buf, in nand_read_subpage()
3071 stat = chip->ecc.correct(chip, p, &chip->ecc.code_buf[i], in nand_read_subpage()
3077 &chip->ecc.code_buf[i], in nand_read_subpage()
3111 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_hwecc()
3183 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_hwecc_oob_first()
6312 ecc->code_buf = kmalloc(mtd->oobsize, GFP_KERNEL); in nand_scan_tail()
6313 if (!ecc->calc_buf || !ecc->code_buf) { in nand_scan_tail()
6490 kfree(ecc->code_buf); in nand_scan_tail()
6572 kfree(chip->ecc.code_buf); in nand_cleanup()
H A Dstm32_fmc2_nand.c705 u8 *ecc_code = chip->ecc.code_buf; in stm32_fmc2_nfc_read_page()
1110 u8 *ecc_code = chip->ecc.code_buf; in stm32_fmc2_nfc_seq_read_page()