Home
last modified time | relevance | path

Searched refs:ro_insns (Results 1 – 3 of 3) sorted by relevance

/linux/arch/riscv/net/
H A Dbpf_jit_core.c142 ctx->ro_insns = (u16 *)jit_data->ro_image; in bpf_int_jit_compile()
159 prog->aux->extable = (void *)ctx->ro_insns + prog_size; in bpf_int_jit_compile()
176 prog->bpf_func = (void *)ctx->ro_insns + cfi_get_offset(); in bpf_int_jit_compile()
193 bpf_flush_icache(jit_data->ro_header, ctx->ro_insns + ctx->ninsns); in bpf_int_jit_compile()
H A Dbpf_jit_comp64.c172 u64 ip = (u64)(ctx->ro_insns + ctx->ninsns); in emit_addr()
458 if (addr && ctx->insns && ctx->ro_insns) { in emit_call()
463 ip = (u64)(long)(ctx->ro_insns + ctx->ninsns); in emit_call()
589 if (!ctx->insns || !ctx->ro_insns || !ctx->prog->aux->extable || in add_exception_handler()
604 pc = (unsigned long)&ctx->ro_insns[ctx->ninsns - insn_len]; in add_exception_handler()
637 ex = (void *)ctx->insns + ((void *)ex - (void *)ctx->ro_insns); in add_exception_handler()
991 im->ip_after_call = ctx->ro_insns + ctx->ninsns; in __arch_prepare_bpf_trampoline()
1012 im->ip_epilogue = ctx->ro_insns + ctx->ninsns; in __arch_prepare_bpf_trampoline()
1069 ctx.ro_insns = NULL; in arch_bpf_trampoline_size()
1101 ctx.ro_insns = ro_image; in arch_prepare_bpf_trampoline()
H A Dbpf_jit.h81 u16 *ro_insns; member