Searched refs:jit_ctx (Results 1 – 5 of 5) sorted by relevance
| /arch/loongarch/net/ |
| A D | bpf_jit.h | 13 struct jit_ctx { struct 28 struct jit_ctx ctx; argument 53 static inline int bpf2la_offset(int bpf_insn, int off, const struct jit_ctx *ctx) in bpf2la_offset() 65 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset() 74 static inline void emit_zext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) in emit_zext_32() 83 static inline void emit_sext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, bool is32) in emit_sext_32() 91 static inline void move_addr(struct jit_ctx *ctx, enum loongarch_gpr rd, u64 addr) in move_addr() 175 static inline void move_reg(struct jit_ctx *ctx, enum loongarch_gpr rd, in move_reg() 265 static inline void uncond_jmp_offs26(struct jit_ctx *ctx, int jmp_offset) in uncond_jmp_offs26() 270 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 | 125 static void build_prologue(struct jit_ctx *ctx) in build_prologue() 245 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue() 260 static int emit_bpf_tail_call(struct jit_ctx *ctx, int insn) in emit_bpf_tail_call() 457 struct jit_ctx *ctx, in add_exception_handler() 1217 static int validate_code(struct jit_ctx *ctx) in validate_code() 1232 static int validate_ctx(struct jit_ctx *ctx) in validate_ctx() 1259 struct jit_ctx ctx; in emit_jump_or_nops() 1273 static int emit_call(struct jit_ctx *ctx, u64 addr) in emit_call() 1705 struct jit_ctx ctx; in arch_prepare_bpf_trampoline() 1739 struct jit_ctx ctx; in arch_bpf_trampoline_size() [all …]
|
| /arch/arm/net/ |
| A D | bpf_jit_32.c | 202 struct jit_ctx { struct 680 struct jit_ctx *ctx) in arm_bpf_get_reg64() 711 struct jit_ctx *ctx) in arm_bpf_put_reg64() 733 struct jit_ctx *ctx) in emit_a32_mov_i() 785 struct jit_ctx *ctx) { in emit_a32_sub_r() 885 struct jit_ctx *ctx) { in emit_a32_mov_r64() 993 struct jit_ctx *ctx){ in emit_a32_neg64() 1009 struct jit_ctx *ctx) { in emit_a32_lsh_r64() 1058 struct jit_ctx *ctx) { in emit_a32_rsh_r64() 1167 struct jit_ctx *ctx) { in emit_a32_mul_r64() [all …]
|
| /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 …]
|
| /arch/arm64/net/ |
| A D | bpf_jit_comp.c | 79 struct jit_ctx { struct 127 const s32 val, struct jit_ctx *ctx) in emit_a64_mov_i() 156 struct jit_ctx *ctx) in emit_a64_mov_i64() 198 struct jit_ctx *ctx) in emit_addr_mov_i64() 253 const struct jit_ctx *ctx) in bpf2a64_offset() 492 struct jit_ctx *ctx) in emit_percpu_ptr() 1087 struct jit_ctx *ctx, in add_exception_handler() 1952 struct jit_ctx ctx; 1967 struct jit_ctx ctx; in bpf_int_jit_compile() 2691 struct jit_ctx ctx = { in arch_bpf_trampoline_size() [all …]
|
Completed in 34 milliseconds