Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/
H A Decc-mxic.c102 unsigned int meta_sz; member
143 oobregion->offset = (section * ctx->oob_step_sz) + ctx->meta_sz; in mxic_ecc_ooblayout_ecc()
160 oobregion->length = ctx->meta_sz - 2; in mxic_ecc_ooblayout_free()
163 oobregion->length = ctx->meta_sz; in mxic_ecc_ooblayout_free()
306 ctx->meta_sz = META_SZ(spare_reg); in mxic_ecc_init_ctx()
332 dev_dbg(dev, "Meta size: %d\n", ctx->meta_sz); in mxic_ecc_init_ctx()
334 if ((ctx->meta_sz + ctx->parity_sz + RSV_SZ(spare_reg)) != in mxic_ecc_init_ctx()
337 ctx->meta_sz, ctx->parity_sz, RSV_SZ(spare_reg), in mxic_ecc_init_ctx()
601 offset = ctx->meta_sz + (step * ctx->oob_step_sz); in mxic_ecc_prepare_io_req_external()
/linux/net/bpf/
H A Dtest_run.c1271 u32 retval = 0, meta_sz = 0, duration, max_linear_sz, size; in bpf_prog_test_run_xdp() local
1313 meta_sz = ctx->data; in bpf_prog_test_run_xdp()
1314 if (xdp_metalen_invalid(meta_sz) || meta_sz > headroom - sizeof(struct xdp_frame)) in bpf_prog_test_run_xdp()
1318 headroom -= meta_sz; in bpf_prog_test_run_xdp()
1337 if (kattr->test.data_size_in - meta_sz < ETH_HLEN) in bpf_prog_test_run_xdp()