Home
last modified time | relevance | path

Searched refs:EMIT4 (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/arch/s390/net/
A Dbpf_jit_comp.c157 #define EMIT4(op, b1, b2) \ macro
329 EMIT4(0xb9160000, b1, b1); \
592 EMIT4(0xb9040000, REG_W1, REG_15); in bpf_jit_prologue()
752 EMIT4(0xb9060000, r, r); in sign_extend()
756 EMIT4(0xb9070000, r, r); in sign_extend()
760 EMIT4(0xb9140000, r, r); in sign_extend()
2125 EMIT4(0xb9020000, REG_7, REG_2); in invoke_bpf_prog()
2164 EMIT4(0xb9040000, REG_3, REG_7); in invoke_bpf_prog()
2309 EMIT4(0xb9040000, REG_8, REG_0); in __arch_prepare_bpf_trampoline()
2394 EMIT4(0xb9040000, REG_1, REG_8); in __arch_prepare_bpf_trampoline()
[all …]
/linux-6.3-rc2/arch/x86/net/
A Dbpf_jit_comp.c39 #define EMIT4(b1, b2, b3, b4) EMIT((b1) + ((b2) << 8) + ((b3) << 16) + ((b4) << 24), 4) macro
48 do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0)
528 EMIT4(0x48, 0x8B, 0x49, /* mov rcx, qword ptr [rcx + 32] */ in emit_bpf_tail_call_indirect()
530 EMIT4(0x48, 0x83, 0xC1, /* add rcx, X86_TAIL_CALL_OFFSET */ in emit_bpf_tail_call_indirect()
1941 EMIT4(0x48, 0x8D, 0x75, -run_ctx_off); in invoke_bpf_prog()
1957 EMIT4(0x48, 0x8D, 0x7D, -stack_size); in invoke_bpf_prog()
1987 EMIT4(0x48, 0x8D, 0x55, -run_ctx_off); in invoke_bpf_prog()
2058 EMIT4(0x48, 0x83, 0x7d, 0xf8); EMIT1(0x00); in invoke_bpf_mod_ret()
2215 EMIT4(0x48, 0x83, 0xEC, stack_size); /* sub rsp, stack_size */ in arch_prepare_bpf_trampoline()
2328 EMIT4(0x48, 0x83, 0xC4, 8); /* add rsp, 8 */ in arch_prepare_bpf_trampoline()
A Dbpf_jit_comp32.c70 #define EMIT4(b1, b2, b3, b4) \ macro
80 do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0)
907 EMIT4(0x0F, 0xA4, add_2reg(0xC0, dreg_hi, dreg_lo), val); in emit_ia32_lsh_i64()
956 EMIT4(0x0F, 0xAC, add_2reg(0xC0, dreg_lo, dreg_hi), val); in emit_ia32_rsh_i64()
1004 EMIT4(0x0F, 0xAC, add_2reg(0xC0, dreg_lo, dreg_hi), val); in emit_ia32_arsh_i64()

Completed in 16 milliseconds