Searched refs:jit_ctx (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/arch/loongarch/net/ |
A D | bpf_jit.h | 13 struct jit_ctx { struct 27 struct jit_ctx ctx; argument 47 static inline int bpf2la_offset(int bpf_insn, int off, const struct jit_ctx *ctx) in bpf2la_offset() 59 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset() 68 static inline void emit_zext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) in emit_zext_32() 77 static inline void emit_sext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) in emit_sext_32() 85 static inline void move_addr(struct jit_ctx *ctx, enum loongarch_gpr rd, u64 addr) in move_addr() 169 static inline void move_reg(struct jit_ctx *ctx, enum loongarch_gpr rd, in move_reg() 259 static inline void uncond_jmp_offs26(struct jit_ctx *ctx, int jmp_offset) in uncond_jmp_offs26() 264 static inline int emit_cond_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in emit_cond_jmp() [all …]
|
A D | bpf_jit.c | 35 static void mark_call(struct jit_ctx *ctx) in mark_call() 40 static void mark_tail_call(struct jit_ctx *ctx) in mark_tail_call() 45 static bool seen_call(struct jit_ctx *ctx) in seen_call() 50 static bool seen_tail_call(struct jit_ctx *ctx) in seen_tail_call() 55 static u8 tail_call_reg(struct jit_ctx *ctx) in tail_call_reg() 89 static void build_prologue(struct jit_ctx *ctx) in build_prologue() 194 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue() 206 static int emit_bpf_tail_call(struct jit_ctx *ctx) in emit_bpf_tail_call() 407 struct jit_ctx *ctx, in add_exception_handler() 1076 static int validate_code(struct jit_ctx *ctx) in validate_code() [all …]
|
/linux-6.3-rc2/arch/arm/net/ |
A D | bpf_jit_32.c | 200 struct jit_ctx { struct 553 struct jit_ctx *ctx) in arm_bpf_get_reg64() 584 struct jit_ctx *ctx) in arm_bpf_put_reg64() 606 struct jit_ctx *ctx) in emit_a32_mov_i() 658 struct jit_ctx *ctx) { in emit_a32_sub_r() 748 struct jit_ctx *ctx) { in emit_a32_mov_r() 759 struct jit_ctx *ctx) { in emit_a32_mov_r64() 814 struct jit_ctx *ctx){ in emit_a32_neg64() 830 struct jit_ctx *ctx) { in emit_a32_lsh_r64() 879 struct jit_ctx *ctx) { in emit_a32_rsh_r64() [all …]
|
/linux-6.3-rc2/arch/sparc/net/ |
A D | bpf_jit_comp_64.c | 189 struct jit_ctx { struct 256 static void emit_nop(struct jit_ctx *ctx) in emit_nop() 299 struct jit_ctx *ctx) in emit_alu_K() 318 unsigned int dst, struct jit_ctx *ctx) in emit_alu3_K() 451 int shift_count, struct jit_ctx *ctx) in sparc_emit_set_const64_quick2() 617 struct jit_ctx *ctx) in emit_branch() 636 const u8 dst, s32 imm, struct jit_ctx *ctx) in emit_cbcondi() 660 struct jit_ctx *ctx) in emit_compare_and_branch() 1438 static int build_body(struct jit_ctx *ctx) in build_body() 1477 struct jit_ctx ctx; [all …]
|
/linux-6.3-rc2/arch/arm64/net/ |
A D | bpf_jit_comp.c | 72 struct jit_ctx { struct 101 const s32 val, struct jit_ctx *ctx) in emit_a64_mov_i() 130 struct jit_ctx *ctx) in emit_a64_mov_i64() 166 struct jit_ctx *ctx) in emit_addr_mov_i64() 188 const struct jit_ctx *ctx) in bpf2a64_offset() 632 static void build_plt(struct jit_ctx *ctx) in build_plt() 701 struct jit_ctx *ctx, in add_exception_handler() 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() [all …]
|
Completed in 17 milliseconds