Lines Matching refs:jit_ctx
72 struct jit_ctx { struct
92 static inline void emit(const u32 insn, struct jit_ctx *ctx) in emit() argument
101 const s32 val, struct jit_ctx *ctx) in emit_a64_mov_i()
130 struct jit_ctx *ctx) in emit_a64_mov_i64()
154 static inline void emit_bti(u32 insn, struct jit_ctx *ctx) in emit_bti()
166 struct jit_ctx *ctx) in emit_addr_mov_i64()
179 static inline void emit_call(u64 target, struct jit_ctx *ctx) in emit_call()
188 const struct jit_ctx *ctx) in bpf2a64_offset()
208 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset()
288 static int build_prologue(struct jit_ctx *ctx, bool ebpf_from_cbpf) in build_prologue()
373 static int emit_bpf_tail_call(struct jit_ctx *ctx) in emit_bpf_tail_call()
440 static int emit_lse_atomic(const struct bpf_insn *insn, struct jit_ctx *ctx) in emit_lse_atomic()
504 static inline int emit_lse_atomic(const struct bpf_insn *insn, struct jit_ctx *ctx) in emit_lse_atomic()
510 static int emit_ll_sc_atomic(const struct bpf_insn *insn, struct jit_ctx *ctx) in emit_ll_sc_atomic()
632 static void build_plt(struct jit_ctx *ctx) in build_plt()
650 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
701 struct jit_ctx *ctx, in add_exception_handler()
754 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, in build_insn()
1377 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body()
1418 static int validate_code(struct jit_ctx *ctx) in validate_code()
1431 static int validate_ctx(struct jit_ctx *ctx) in validate_ctx()
1450 struct jit_ctx ctx;
1462 struct jit_ctx ctx; in bpf_int_jit_compile()
1642 static void invoke_bpf_prog(struct jit_ctx *ctx, struct bpf_tramp_link *l, in invoke_bpf_prog()
1714 static void invoke_bpf_mod_ret(struct jit_ctx *ctx, struct bpf_tramp_links *tl, in invoke_bpf_mod_ret()
1739 static void save_args(struct jit_ctx *ctx, int args_off, int nargs) in save_args()
1749 static void restore_args(struct jit_ctx *ctx, int args_off, int nargs) in restore_args()
1770 static int prepare_trampoline(struct jit_ctx *ctx, struct bpf_tramp_image *im, in prepare_trampoline()
1976 struct jit_ctx ctx = { in arch_prepare_bpf_trampoline()