Home
last modified time | relevance | path

Searched refs:emit (Results 1 – 25 of 26) sorted by relevance

12

/arch/riscv/net/
A Dbpf_jit_comp32.c117 emit(rv_lui(rd, upper), ctx); in emit_imm()
118 emit(rv_addi(rd, rd, lower), ctx); in emit_imm()
678 emit(rv_beq(rd, rs, off), ctx); in emit_bcc()
693 emit(rv_bne(rd, rs, off), ctx); in emit_bcc()
696 emit(rv_bgt(rd, rs, off), ctx); in emit_bcc()
699 emit(rv_blt(rd, rs, off), ctx); in emit_bcc()
916 emit(rv_slli(rd, rd, 16), ctx); in emit_rev16()
918 emit(rv_srli(rd, rd, 8), ctx); in emit_rev16()
929 emit(rv_srli(rd, rd, 8), ctx); in emit_rev32()
933 emit(rv_srli(rd, rd, 8), ctx); in emit_rev32()
[all …]
A Dbpf_jit_comp64.c182 emit(rv_auipc(rd, upper), ctx); in emit_addr()
473 emit(hash, ctx); in emit_kcfi()
565 emit(rv_sb(rd, off, rs), ctx); in emit_store_8()
577 emit(rv_sh(rd, off, rs), ctx); in emit_store_16()
864 emit(rv_nop(), &ctx); in gen_jump_or_nops()
865 emit(rv_nop(), &ctx); in gen_jump_or_nops()
974 emit(rv_nop(), ctx); in invoke_bpf_prog()
1185 emit(rv_nop(), ctx); in __arch_prepare_bpf_trampoline()
1199 emit(rv_nop(), ctx); in __arch_prepare_bpf_trampoline()
1200 emit(rv_nop(), ctx); in __arch_prepare_bpf_trampoline()
[all …]
A Dbpf_jit.h613 emit(rv_fence(0x2, 0x3), ctx); in emit_fence_r_rw()
618 emit(rv_fence(0x3, 0x1), ctx); in emit_fence_rw_w()
623 emit(rv_fence(0x3, 0x3), ctx); in emit_fence_rw_rw()
1000 emit(rv_addi(rd, rs, 0), ctx); in emit_mv()
1037 emit(rv_lui(rd, imm), ctx); in emit_lui()
1085 emit(rv_or(rd, rs1, rs2), ctx); in emit_or()
1111 emit(rv_lw(rd, off, rs1), ctx); in emit_lw()
1164 emit(rv_ld(rd, off, rs1), ctx); in emit_ld()
1188 emit(rvzbb_sextb(rd, rs), ctx); in emit_sextb()
1199 emit(rvzbb_sexth(rd, rs), ctx); in emit_sexth()
[all …]
/arch/mips/net/
A Dbpf_jit_comp.c206 emit(ctx, ori, dst, src, 0); in emit_mov_r()
383 emit(ctx, mflo, dst); in emit_alu_r()
392 emit(ctx, mflo, dst); in emit_alu_r()
401 emit(ctx, mfhi, dst); in emit_alu_r()
681 emit(ctx, nop); in finish_jmp()
691 emit(ctx, j, target); in finish_jmp()
692 emit(ctx, nop); in finish_jmp()
832 emit(ctx, j, target); in emit_ja()
833 emit(ctx, nop); in emit_ja()
844 emit(ctx, j, target); in emit_exit()
[all …]
A Dbpf_jit_comp32.c197 emit(ctx, nop); in emit_load_delay()
448 emit(ctx, mflo, hi(dst)); in emit_mul_i64()
462 emit(ctx, mflo, lo(dst)); in emit_mul_i64()
463 emit(ctx, mfhi, tmp); in emit_mul_i64()
485 emit(ctx, mflo, acc); in emit_mul_r64()
493 emit(ctx, mflo, tmp); in emit_mul_r64()
506 emit(ctx, mflo, lo(dst)); in emit_mul_r64()
507 emit(ctx, mfhi, tmp); in emit_mul_r64()
1222 emit(ctx, bnez, t1, off); in emit_jmp_r64()
1227 emit(ctx, beqz, t1, off); in emit_jmp_r64()
[all …]
A Dbpf_jit_comp64.c100 emit(ctx, sll, dst, src, 0); in emit_sext()
230 emit(ctx, mflo, dst); in emit_alu_r64()
242 emit(ctx, mflo, dst); in emit_alu_r64()
251 emit(ctx, mfhi, dst); in emit_alu_r64()
280 emit(ctx, dsbh, dst, dst); in emit_bswap_r64()
281 emit(ctx, dshd, dst, dst); in emit_bswap_r64()
400 emit(ctx, or, t2, t1, src); in emit_atomic_r64()
407 emit(ctx, move, t2, src); in emit_atomic_r64()
415 emit(ctx, move, src, t1); in emit_atomic_r64()
429 emit(ctx, bne, t1, r0, 12); in emit_cmpxchg_r64()
[all …]
A Dbpf_jit_comp.h98 #define emit(...) __emit(__VA_ARGS__) macro
109 #define LLSC_sync(ctx) emit(ctx, sync, 0)
/arch/arm64/net/
A Dbpf_jit_comp.c183 emit(insn, ctx); in emit_bti()
232 emit(insn, ctx); in emit_direct_call()
558 emit(A64_NOP, ctx); in build_prologue()
647 emit(A64_NOP, ctx); in emit_bpf_tail_call()
657 emit(A64_NOP, ctx); in emit_bpf_tail_call()
672 emit(A64_NOP, ctx); in emit_bpf_tail_call()
985 emit(A64_NOP, ctx); in build_plt()
1017 emit(A64_B(1), ctx); in build_bhb_mitigation()
1689 emit(A64_SB, ctx); in build_insn()
2271 emit(A64_NOP, ctx); in invoke_bpf_prog()
[all …]
/arch/parisc/net/
A Dbpf_jit_comp64.c76 emit(hppa_copy(rs, rd), ctx); in emit_hppa_copy()
141 emit(hppa_ldi(imm, rd), ctx); in emit_imm32()
148 emit(hppa_ldil(imm, rd), ctx); in emit_imm32()
191 emit(hppa_nop(), ctx); in emit_jump()
331 emit(hppa_nop(), ctx); in emit_branch()
332 emit(hppa_nop(), ctx); in emit_branch()
699 emit(hppa_mtsar(rs), ctx); in bpf_jit_emit_insn()
1141 emit(addr >> 32, ctx); in bpf_jit_build_prologue()
1142 emit(addr & 0xffffffff, ctx); in bpf_jit_build_prologue()
1146 emit(addr >> 32, ctx); in bpf_jit_build_prologue()
[all …]
A Dbpf_jit_comp32.c126 emit(hppa_copy(rs, rd), ctx); in emit_hppa_copy()
137 emit(hppa_xor(r1, r2, r3), ctx); in emit_hppa_xor()
147 emit(hppa_ldi(imm, rd), ctx); in emit_imm()
150 emit(hppa_ldil(imm, rd), ctx); in emit_imm()
153 emit(hppa_ldo(lower, rd, rd), ctx); in emit_imm()
167 emit(hppa_ldi(-1, hi(rd)), ctx); in emit_imm32()
411 emit(hppa_nop(), ctx); in emit_jump()
680 emit(hppa_mtsar(lo(rs)), ctx); in emit_alu_r32()
824 emit(hppa_beq(rd, rs, off), ctx); in emit_bcc()
839 emit(hppa_bne(rd, rs, off), ctx); in emit_bcc()
[all …]
A Dbpf_jit.h259 static inline void emit(const u32 insn, struct hppa_jit_context *ctx) in emit() function
/arch/arm/net/
A Dbpf_jit_32.c493 emit(ARM_BX(tgt_reg), ctx); in emit_bx_r()
504 emit(ARM_BLX_R(tgt_reg), ctx); in emit_blx_r()
1370 emit(ARM_CMP_R(rd, rm), ctx); in emit_ar_r()
1379 emit(ARM_CMP_R(rn, rt), ctx); in emit_ar_r()
1385 emit(ARM_CMP_R(rt, rn), ctx); in emit_ar_r()
1485 emit(ARM_REV16(rd, rn), ctx); in emit_rev16()
1508 emit(ARM_REV(rd, rn), ctx); in emit_rev32()
1522 emit(ARM_PUSH(reg_set), ctx); in emit_push_r64()
1536 emit(ARM_PUSH(reg_set), ctx); in build_prologue()
2039 emit(ARM_B(jmp_offset), ctx); in build_insn()
[all …]
/arch/sparc/net/
A Dbpf_jit_comp_64.c258 emit(SETHI(0, G0), ctx); in emit_nop()
269 emit(SETHI(K, reg), ctx); in emit_set_const()
270 emit(OR_LO(K, reg), ctx); in emit_set_const()
277 emit(SETHI(K, reg), ctx); in emit_set_const_sext()
278 emit(OR_LO(K, reg), ctx); in emit_set_const_sext()
283 emit(SETHI(hbits, reg), ctx); in emit_set_const_sext()
306 emit(insn | IMMED | S13(imm), ctx); in emit_alu_K()
313 emit(insn | RS2(tmp), ctx); in emit_alu_K()
325 emit(insn | IMMED | S13(imm), ctx); in emit_alu3_K()
332 emit(insn | RS2(tmp), ctx); in emit_alu3_K()
[all …]
/arch/mips/vdso/
A DKconfig1 # GCC (at least up to version 9.2) appears to emit function calls that make use
/arch/m68k/kernel/syscalls/
A DMakefile12 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@
/arch/microblaze/kernel/syscalls/
A DMakefile12 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@
/arch/alpha/kernel/syscalls/
A DMakefile12 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@
/arch/sh/kernel/syscalls/
A DMakefile12 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@
/arch/xtensa/kernel/syscalls/
A DMakefile12 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@
/arch/arc/net/
A Dbpf_jit_core.c105 bool emit; member
240 ctx->emit = false; in jit_ctx_cleanup()
270 if (ctx->emit) { in jit_buffer_check()
287 if (!ctx->emit) in jit_buffer_update()
296 return ctx->emit ? (ctx->jit.buf + ctx->jit.index) : NULL; in effective_jit_buf()
1065 if (!ctx->emit) in handle_body()
1163 ctx->emit = false; in jit_prepare()
1197 ctx->emit = true; in jit_compile()
1312 ctx->emit = true; in jit_patch_relocations()
/arch/sparc/kernel/syscalls/
A DMakefile12 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr --abis common,$* $< $@
/arch/parisc/kernel/syscalls/
A DMakefile12 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr --abis common,$* $< $@
/arch/powerpc/kernel/syscalls/
A DMakefile12 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr --abis $(abis) $< $@
/arch/x86/realmode/rm/
A DMakefile44 LDFLAGS_realmode.elf := -m elf_i386 --emit-relocs -T
/arch/x86/entry/syscalls/
A DMakefile17 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --abis $(abis) --emit-nr \

Completed in 91 milliseconds

12