Searched refs:spare_databuf (Results 1 – 2 of 2) sorted by relevance
505 ctx->spare_databuf = kzalloc(total_buffer_size, GFP_KERNEL); in nand_ecc_init_req_tweaking()506 if (!ctx->spare_databuf) in nand_ecc_init_req_tweaking()509 ctx->spare_oobbuf = ctx->spare_databuf + ctx->page_buffer_size; in nand_ecc_init_req_tweaking()517 kfree(ctx->spare_databuf); in nand_ecc_cleanup_req_tweaking()543 tweak->databuf.in = ctx->spare_databuf; in nand_ecc_tweak_req()
365 void *spare_databuf; member