Searched refs:jit_context (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/arch/mips/net/ |
A D | bpf_jit_comp.h | 75 struct jit_context { struct 154 int get_target(struct jit_context *ctx, u32 loc); 157 int get_offset(const struct jit_context *ctx, int off); 160 void emit_mov_i(struct jit_context *ctx, u8 dst, s32 imm); 163 void emit_mov_r(struct jit_context *ctx, u8 dst, u8 src); 190 void setup_jmp_i(struct jit_context *ctx, s32 imm, u8 width, 194 void setup_jmp_r(struct jit_context *ctx, bool same_reg, 207 int emit_ja(struct jit_context *ctx, s16 off); 210 int emit_exit(struct jit_context *ctx); 216 void build_prologue(struct jit_context *ctx); [all …]
|
A D | bpf_jit_comp.c | 169 int get_target(struct jit_context *ctx, u32 loc) in get_target() 185 int get_offset(const struct jit_context *ctx, int off) in get_offset() 192 void emit_mov_i(struct jit_context *ctx, u8 dst, s32 imm) in emit_mov_i() 204 void emit_mov_r(struct jit_context *ctx, u8 dst, u8 src) in emit_mov_r() 549 static void setup_jmp(struct jit_context *ctx, u8 bpf_op, in setup_jmp() 601 void setup_jmp_i(struct jit_context *ctx, s32 imm, u8 width, in setup_jmp_i() 646 void setup_jmp_r(struct jit_context *ctx, bool same_reg, in setup_jmp_r() 822 int emit_ja(struct jit_context *ctx, s16 off) in emit_ja() 834 int emit_exit(struct jit_context *ctx) in emit_exit() 846 static int build_body(struct jit_context *ctx) in build_body() [all …]
|
A D | bpf_jit_comp64.c | 98 static void emit_sext(struct jit_context *ctx, u8 dst, u8 src) in emit_sext() 105 static void emit_zext(struct jit_context *ctx, u8 dst) in emit_zext() 117 static void emit_zext_ver(struct jit_context *ctx, u8 dst) in emit_zext_ver() 124 static void emit_mov_i64(struct jit_context *ctx, u8 dst, u64 imm64) in emit_mov_i64() 271 static void emit_bswap_r64(struct jit_context *ctx, u8 dst, u32 width) in emit_bswap_r64() 313 static void emit_trunc_r64(struct jit_context *ctx, u8 dst, u32 width) in emit_trunc_r64() 378 static void emit_atomic_r64(struct jit_context *ctx, in emit_atomic_r64() 474 static int emit_tail_call(struct jit_context *ctx) in emit_tail_call() 543 void build_prologue(struct jit_context *ctx) in build_prologue() 616 void build_epilogue(struct jit_context *ctx, int dest_reg) in build_epilogue() [all …]
|
A D | bpf_jit_comp32.c | 194 static void emit_load_delay(struct jit_context *ctx) in emit_load_delay() 201 static void emit_alu_i64(struct jit_context *ctx, in emit_alu_i64() 267 static void emit_alu_r64(struct jit_context *ctx, in emit_alu_r64() 321 static void emit_shift_i64(struct jit_context *ctx, in emit_shift_i64() 366 static void emit_shift_r64(struct jit_context *ctx, in emit_shift_r64() 474 static void emit_mul_r64(struct jit_context *ctx, in emit_mul_r64() 654 static void emit_ldx(struct jit_context *ctx, in emit_ldx() 689 static void emit_stx(struct jit_context *ctx, in emit_stx() 1092 static void emit_jmp_i64(struct jit_context *ctx, in emit_jmp_i64() 1185 static void emit_jmp_r64(struct jit_context *ctx, in emit_jmp_r64() [all …]
|
/linux-6.3-rc2/arch/x86/net/ |
A D | bpf_jit_comp.c | 237 struct jit_context { struct 472 struct jit_context *ctx) in emit_bpf_tail_call_indirect() 547 struct jit_context *ctx) in emit_bpf_tail_call_direct() 967 int oldproglen, struct jit_context *ctx, bool jmp_padding) in do_jit() 2436 struct jit_context ctx; 2449 struct jit_context ctx = {}; in bpf_int_jit_compile()
|
A D | bpf_jit_comp32.c | 1186 struct jit_context { struct 1660 int oldproglen, struct jit_context *ctx) in do_jit() 2526 struct jit_context ctx = {}; in bpf_int_jit_compile()
|
Completed in 23 milliseconds