Home
last modified time | relevance | path

Searched refs:is64 (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/arch/arm64/net/
Dbpf_jit_comp.c71 static inline void emit_a64_mov_i(const int is64, const int reg, in emit_a64_mov_i() argument
79 emit(A64_MOVN(is64, reg, (u16)~lo, 0), ctx); in emit_a64_mov_i()
81 emit(A64_MOVN(is64, reg, (u16)~hi, 16), ctx); in emit_a64_mov_i()
83 emit(A64_MOVK(is64, reg, lo, 0), ctx); in emit_a64_mov_i()
86 emit(A64_MOVZ(is64, reg, lo, 0), ctx); in emit_a64_mov_i()
88 emit(A64_MOVK(is64, reg, hi, 16), ctx); in emit_a64_mov_i()
354 const bool is64 = BPF_CLASS(code) == BPF_ALU64 || in build_insn() local
375 emit(A64_MOV(is64, dst, src), ctx); in build_insn()
380 emit(A64_ADD(is64, dst, dst, src), ctx); in build_insn()
384 emit(A64_SUB(is64, dst, dst, src), ctx); in build_insn()
[all …]
/Linux-v5.4/arch/riscv/net/
Dbpf_jit_comp.c732 bool is64 = BPF_CLASS(insn->code) == BPF_ALU64 || in emit_insn() local
751 emit(is64 ? rv_addi(rd, rs, 0) : rv_addiw(rd, rs, 0), ctx); in emit_insn()
752 if (!is64 && !aux->verifier_zext) in emit_insn()
759 emit(is64 ? rv_add(rd, rd, rs) : rv_addw(rd, rd, rs), ctx); in emit_insn()
760 if (!is64 && !aux->verifier_zext) in emit_insn()
765 emit(is64 ? rv_sub(rd, rd, rs) : rv_subw(rd, rd, rs), ctx); in emit_insn()
766 if (!is64 && !aux->verifier_zext) in emit_insn()
772 if (!is64 && !aux->verifier_zext) in emit_insn()
778 if (!is64 && !aux->verifier_zext) in emit_insn()
784 if (!is64 && !aux->verifier_zext) in emit_insn()
[all …]
/Linux-v5.4/arch/x86/net/
Dbpf_jit_comp32.c254 static inline void emit_ia32_mov_r64(const bool is64, const u8 dst[], in emit_ia32_mov_r64() argument
260 if (is64) in emit_ia32_mov_r64()
269 static inline void emit_ia32_mov_i64(const bool is64, const u8 dst[], in emit_ia32_mov_i64() argument
274 if (is64 && (val & (1<<31))) in emit_ia32_mov_i64()
522 static inline void emit_ia32_alu_r(const bool is64, const bool hi, const u8 op, in emit_ia32_alu_r() argument
542 if (hi && is64) in emit_ia32_alu_r()
549 if (hi && is64) in emit_ia32_alu_r()
576 static inline void emit_ia32_alu_r64(const bool is64, const u8 op, in emit_ia32_alu_r64() argument
583 emit_ia32_alu_r(is64, false, op, dst_lo, src_lo, dstk, sstk, &prog); in emit_ia32_alu_r64()
584 if (is64) in emit_ia32_alu_r64()
[all …]
Dbpf_jit_comp.c362 static void emit_mov_reg(u8 **pprog, bool is64, u32 dst_reg, u32 src_reg) in emit_mov_reg() argument
367 if (is64) { in emit_mov_reg()
564 bool is64 = BPF_CLASS(insn->code) == BPF_ALU64; in do_jit() local
575 emit_mov_reg(&prog, is64, BPF_REG_0, src_reg); in do_jit()
577 emit_mov_imm32(&prog, is64, BPF_REG_0, imm32); in do_jit()
579 if (is64) in do_jit()
/Linux-v5.4/arch/arm/net/
Dbpf_jit_32.c611 static inline void emit_a32_mov_se_i64(const bool is64, const s8 dst[], in emit_a32_mov_se_i64() argument
615 if (is64 && (val & (1<<31))) in emit_a32_mov_se_i64()
621 const bool is64, const bool hi, in emit_a32_add_r() argument
629 if (!hi && is64) in emit_a32_add_r()
631 else if (hi && is64) in emit_a32_add_r()
638 const bool is64, const bool hi, in emit_a32_sub_r() argument
646 if (!hi && is64) in emit_a32_sub_r()
648 else if (hi && is64) in emit_a32_sub_r()
654 static inline void emit_alu_r(const u8 dst, const u8 src, const bool is64, in emit_alu_r() argument
659 emit_a32_add_r(dst, src, is64, hi, ctx); in emit_alu_r()
[all …]
/Linux-v5.4/arch/x86/include/asm/
Defi.h208 bool is64; member
221 return __efi_early()->is64; in efi_is_64bit()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/
Diwl-io.c347 bool is64; member
398 addr += q * (rfh_mq_tbl[i].is64 ? 8 : 4); in iwl_dump_rfh()
419 addr += q * (rfh_mq_tbl[i].is64 ? 8 : 4); in iwl_dump_rfh()
/Linux-v5.4/arch/arm/kvm/
Dcoproc.c397 { CRm64( 2), Op1( 0), is64, access_vm_reg, reset_unknown64, c2_TTBR0 },
404 { CRm64( 2), Op1( 1), is64, access_vm_reg, reset_unknown64, c2_TTBR1 },
428 { CRm64( 7), Op1( 0), is64, NULL, reset_unknown64, c7_PAR },
473 { CRm64(12), Op1( 0), is64, access_gic_sgi},
480 { CRm64(12), Op1( 1), is64, access_gic_sgi},
482 { CRm64(12), Op1( 2), is64, access_gic_sgi},
497 { CRm64(14), Op1( 2), is64, access_cntp_cval},
Dcoproc.h123 #define is64 .is_64bit = true macro
/Linux-v5.4/arch/x86/events/intel/
Dlbr.c840 int is64 = 0; in branch_type() local
898 is64 = kernel_ip((unsigned long)addr) || !test_thread_flag(TIF_IA32); in branch_type()
900 insn_init(&insn, addr, bytes_read, is64); in branch_type()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c3018 mem_xadd(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, bool is64) in mem_xadd() argument
3044 out += 2 + is64; in mem_xadd()
3083 FIELD_PREP(CMD_OV_LEN, 0x8 | is64 << 2)); in mem_xadd()
3098 addra, addrb, is64 << 2, in mem_xadd()
3099 is64 ? CMD_CTX_SWAP_DEFER2 : CMD_CTX_SWAP_DEFER1); in mem_xadd()
3102 if (is64) in mem_xadd()
/Linux-v5.4/drivers/video/fbdev/
Dpm2fb.c231 static u32 to3264(u32 timing, int bpp, int is64) in to3264() argument
245 if (is64) in to3264()
/Linux-v5.4/kernel/bpf/
Dverifier.c8889 bool is64 = BPF_CLASS(insn->code) == BPF_ALU64; in fixup_bpf_calls() local
8908 patchlet = mask_and_div + (is64 ? 1 : 0); in fixup_bpf_calls()
8909 cnt = ARRAY_SIZE(mask_and_div) - (is64 ? 1 : 0); in fixup_bpf_calls()
8911 patchlet = mask_and_mod + (is64 ? 1 : 0); in fixup_bpf_calls()
8912 cnt = ARRAY_SIZE(mask_and_mod) - (is64 ? 1 : 0); in fixup_bpf_calls()