Searched refs:cgctx (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/arch/powerpc/net/ |
H A D | bpf_jit_comp.c | 63 struct codegen_context cgctx; in bpf_int_jit_compile() local 99 cgctx = jit_data->ctx; in bpf_int_jit_compile() 105 cgctx.exentry_idx = 0; in bpf_int_jit_compile() 115 memset(&cgctx, 0, sizeof(struct codegen_context)); in bpf_int_jit_compile() 116 bpf_jit_init_reg_mapping(&cgctx); in bpf_int_jit_compile() 119 cgctx.stack_size = round_up(fp->aux->stack_depth, 16); in bpf_int_jit_compile() 122 if (bpf_jit_build_body(fp, 0, &cgctx, addrs, 0, false)) { in bpf_int_jit_compile() 135 if (cgctx.seen & SEEN_TAILCALL || !is_offset_in_branch_range((long)cgctx.idx * 4)) { in bpf_int_jit_compile() 136 cgctx in bpf_int_jit_compile() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/net/ |
H A 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...] |
H A 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...] |
Completed in 3 milliseconds