Searched refs:cgctx (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/net/ |
D | bpf_jit_comp.c | 557 struct codegen_context cgctx; in bpf_jit_compile() local 618 cgctx.idx = 0; in bpf_jit_compile() 619 cgctx.seen = 0; in bpf_jit_compile() 620 cgctx.pc_ret0 = -1; in bpf_jit_compile() 622 if (bpf_jit_build_body(fp, 0, &cgctx, addrs)) in bpf_jit_compile() 631 bpf_jit_build_prologue(fp, 0, &cgctx); in bpf_jit_compile() 632 bpf_jit_build_epilogue(0, &cgctx); in bpf_jit_compile() 634 proglen = cgctx.idx * 4; in bpf_jit_compile() 645 cgctx.idx = 0; in bpf_jit_compile() 646 bpf_jit_build_prologue(fp, code_base, &cgctx); in bpf_jit_compile() [all …]
|
D | bpf_jit_comp64.c | 1160 struct codegen_context cgctx; in bpf_int_jit_compile() local 1194 cgctx = jit_data->ctx; in bpf_int_jit_compile() 1209 memset(&cgctx, 0, sizeof(struct codegen_context)); in bpf_int_jit_compile() 1212 cgctx.stack_size = round_up(fp->aux->stack_depth, 16); in bpf_int_jit_compile() 1215 if (bpf_jit_build_body(fp, 0, &cgctx, addrs, false)) { in bpf_int_jit_compile() 1226 if (cgctx.seen & SEEN_TAILCALL) { in bpf_int_jit_compile() 1227 cgctx.idx = 0; in bpf_int_jit_compile() 1228 if (bpf_jit_build_body(fp, 0, &cgctx, addrs, false)) { in bpf_int_jit_compile() 1239 bpf_jit_build_prologue(0, &cgctx); in bpf_int_jit_compile() 1240 bpf_jit_build_epilogue(0, &cgctx); in bpf_int_jit_compile() [all …]
|