Searched refs:jit_ctx (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.h | 13 struct jit_ctx { struct 30 struct jit_ctx ctx; argument 55 static inline int bpf2la_offset(int bpf_insn, int off, const struct jit_ctx *ctx) in bpf2la_offset() 67 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset() 76 static inline void emit_zext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) in emit_zext_32() 85 static inline void emit_sext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) in emit_sext_32() 96 static inline void emit_abi_ext(struct jit_ctx *ctx, int reg, u8 size, bool sign) in emit_abi_ext() 119 static inline void move_addr(struct jit_ctx *ctx, enum loongarch_gpr rd, u64 addr) in move_addr() 140 static inline void move_imm(struct jit_ctx *ctx, enum loongarch_gpr rd, long imm, bool is32) in move_imm() 203 static inline void move_reg(struct jit_ctx *ctx, enum loongarch_gpr rd, in move_reg() [all …]
|
| H A D | bpf_jit.c | 50 static void prepare_bpf_tail_call_cnt(struct jit_ctx *ctx, int *store_offset) in prepare_bpf_tail_call_cnt() 133 static void build_prologue(struct jit_ctx *ctx) in build_prologue() 215 static void __build_epilogue(struct jit_ctx *ctx, bool is_tail_call) in __build_epilogue() 276 static void build_epilogue(struct jit_ctx *ctx) in bpf_jit_supports_far_kfunc_call() 291 static int emit_bpf_tail_call(struct jit_ctx *ctx, int insn) in emit_bpf_tail_call() 362 static void emit_store_stack_imm64(struct jit_ctx *ctx, int reg, int stack_off, u64 imm64) in emit_atomic_rmw() 368 static int emit_atomic_rmw(const struct bpf_insn *insn, struct jit_ctx *ctx) in emit_atomic_rmw() 536 static int emit_atomic_ld_st(const struct bpf_insn *insn, struct jit_ctx *ctx) in emit_atomic_ld_st() 654 struct jit_ctx *ctx, in add_exception_handler() 715 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ct in build_insn() [all...] |
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 78 struct jit_ctx { struct 110 static inline void emit(const u32 insn, struct jit_ctx *ctx) in emit() 118 static inline void emit_u32_data(const u32 data, struct jit_ctx *ctx) in emit_u32_data() 127 const s32 val, struct jit_ctx *ctx) in emit_a64_mov_i() 156 struct jit_ctx *ctx) in emit_a64_mov_i64() 180 static inline void emit_bti(u32 insn, struct jit_ctx *ctx) in emit_bti() 186 static inline void emit_kcfi(u32 hash, struct jit_ctx *ctx) in emit_kcfi() 198 struct jit_ctx *ctx) in emit_addr_mov_i64() 211 static bool should_emit_indirect_call(long target, const struct jit_ctx *ctx) in should_emit_indirect_call() 225 static void emit_direct_call(u64 target, struct jit_ctx *ct in emit_direct_call() 79 progjit_ctx global() argument 80 idxjit_ctx global() argument 81 epilogue_offsetjit_ctx global() argument 82 offsetjit_ctx global() argument 83 exentry_idxjit_ctx global() argument 84 nr_used_callee_regjit_ctx global() argument 85 used_callee_regjit_ctx global() argument 109 writejit_ctx emit() argument [all...] |