| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp32.c | 117 emit(rv_lui(rd, upper), ctx); in emit_imm() 118 emit(rv_addi(rd, rd, lower), ctx); in emit_imm() 120 emit(rv_addi(rd, RV_REG_ZERO, lower), ctx); in emit_imm() 131 emit(rv_addi(hi(rd), RV_REG_ZERO, 0), ctx); in emit_imm32() 133 emit(rv_addi(hi(rd), RV_REG_ZERO, -1), ctx); in emit_imm32() 150 emit(rv_addi(RV_REG_A0, lo(r0), 0), ctx); in __build_epilogue() 151 emit(rv_addi(RV_REG_A1, hi(r0), 0), ctx); in __build_epilogue() 155 emit(rv_lw(RV_REG_RA, stack_adjust - 4, RV_REG_SP), ctx); in __build_epilogue() 156 emit(rv_lw(RV_REG_FP, stack_adjust - 8, RV_REG_SP), ctx); in __build_epilogue() 157 emit(rv_lw(RV_REG_S1, stack_adjust - 12, RV_REG_SP), ctx); in __build_epilogue() [all …]
|
| H A D | bpf_jit_comp64.c | 182 emit(rv_auipc(rd, upper), ctx); in emit_addr() 183 emit(rv_addi(rd, rd, lower), ctx); in emit_addr() 285 emit(rv_beq(rd, rs, rvoff >> 1), ctx); in emit_bcc() 288 emit(rv_bltu(rs, rd, rvoff >> 1), ctx); in emit_bcc() 291 emit(rv_bltu(rd, rs, rvoff >> 1), ctx); in emit_bcc() 294 emit(rv_bgeu(rd, rs, rvoff >> 1), ctx); in emit_bcc() 297 emit(rv_bgeu(rs, rd, rvoff >> 1), ctx); in emit_bcc() 300 emit(rv_bne(rd, rs, rvoff >> 1), ctx); in emit_bcc() 303 emit(rv_blt(rs, rd, rvoff >> 1), ctx); in emit_bcc() 306 emit(rv_blt(rd, rs, rvoff >> 1), ctx); in emit_bcc() [all …]
|
| /linux/arch/mips/net/ |
| H A D | bpf_jit_comp32.c | 178 emit(ctx, addiu, hi(dst), MIPS_R_ZERO, -1); in emit_mov_se_i64() 180 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_mov_se_i64() 188 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_zext_ver() 197 emit(ctx, nop); in emit_load_delay() 228 emit(ctx, addu, lo(dst), lo(dst), src); in emit_alu_i64() 229 emit(ctx, sltu, MIPS_R_T9, lo(dst), src); in emit_alu_i64() 230 emit(ctx, addu, hi(dst), hi(dst), MIPS_R_T9); in emit_alu_i64() 232 emit(ctx, addiu, hi(dst), hi(dst), -1); in emit_alu_i64() 236 emit(ctx, sltu, MIPS_R_T9, lo(dst), src); in emit_alu_i64() 237 emit(ctx, subu, lo(dst), lo(dst), src); in emit_alu_i64() [all …]
|
| H A D | bpf_jit_comp.c | 135 emit(ctx, sw, reg, depth, MIPS_R_SP); in push_regs() 137 emit(ctx, sd, reg, depth, MIPS_R_SP); in push_regs() 158 emit(ctx, lw, reg, depth, MIPS_R_SP); in pop_regs() 160 emit(ctx, ld, reg, depth, MIPS_R_SP); in pop_regs() 195 emit(ctx, addiu, dst, MIPS_R_ZERO, imm); in emit_mov_i() 197 emit(ctx, lui, dst, (s16)((u32)imm >> 16)); in emit_mov_i() 198 emit(ctx, ori, dst, dst, (u16)(imm & 0xffff)); in emit_mov_i() 206 emit(ctx, ori, dst, src, 0); in emit_mov_r() 303 emit(ctx, subu, dst, MIPS_R_ZERO, dst); in emit_alu_i() 307 emit(ctx, andi, dst, dst, (u16)imm); in emit_alu_i() [all …]
|
| H A D | bpf_jit_comp64.c | 100 emit(ctx, sll, dst, src, 0); in emit_sext() 108 emit(ctx, dinsu, dst, MIPS_R_ZERO, 32, 32); in emit_zext() 110 emit(ctx, and, dst, dst, bpf2mips64[JIT_REG_ZX]); in emit_zext() 127 emit(ctx, daddiu, dst, MIPS_R_ZERO, (s16)imm64); in emit_mov_i64() 130 emit(ctx, lui, dst, (s16)(imm64 >> 16)); in emit_mov_i64() 131 emit(ctx, ori, dst, dst, (u16)imm64 & 0xffff); in emit_mov_i64() 145 emit(ctx, dsll_safe, dst, dst, shift); in emit_mov_i64() 146 emit(ctx, ori, dst, acc, half); in emit_mov_i64() 152 emit(ctx, dsll_safe, dst, dst, shift); in emit_mov_i64() 163 emit(ctx, ori, dst, dst, (u16)imm); in emit_alu_i64() [all …]
|
| H A D | bpf_jit_comp.h | 98 #define emit(...) __emit(__VA_ARGS__) macro 109 #define LLSC_sync(ctx) emit(ctx, sync, 0)
|
| /linux/tools/lib/python/feat/ |
| H A D | parse_features.py | 76 def emit(self, msg="", end="\n"): 124 self.emit(f".. FILE {full_fname}") 242 self.emit("=" * len(title)) 243 self.emit(title) 244 self.emit("=" * len(title)) 245 self.emit() 247 self.emit("=" * self.max_size_subsys + " ", end="") 248 self.emit("=" * self.max_size_name + " ", end="") 249 self.emit("=" * self.max_size_kconfig + " ", end="") 250 self.emit(" 65 def emit(self, msg="", end="\n"): global() member in ParseFeature [all...] |
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 110 static inline void emit(const u32 insn, struct jit_ctx *ctx) in emit() function 134 emit(A64_MOVN(is64, reg, (u16)~lo, 0), ctx); in emit_a64_mov_i() 136 emit(A64_MOVN(is64, reg, (u16)~hi, 16), ctx); in emit_a64_mov_i() 138 emit(A64_MOVK(is64, reg, lo, 0), ctx); in emit_a64_mov_i() 141 emit(A64_MOVZ(is64, reg, lo, 0), ctx); in emit_a64_mov_i() 143 emit(A64_MOVK(is64, reg, hi, 16), ctx); in emit_a64_mov_i() 169 emit(A64_MOVN(1, reg, (rev_tmp >> shift) & 0xffff, shift), ctx); in emit_a64_mov_i64() 171 emit(A64_MOVZ(1, reg, (nrm_tmp >> shift) & 0xffff, shift), ctx); in emit_a64_mov_i64() 175 emit(A64_MOVK(1, reg, (nrm_tmp >> shift) & 0xffff, shift), ctx); in emit_a64_mov_i64() 183 emit(insn, ctx); in emit_bti() [all …]
|
| /linux/arch/parisc/net/ |
| H A D | bpf_jit_comp64.c | 76 emit(hppa_copy(rs, rd), ctx); in emit_hppa_copy() 89 emit(hppa_t10_insn(0x3c, target, src, 0, c, pos & 0x1f, len & 0x1f), ctx); in emit_hppa64_depd() 106 emit(hppa_t10_insn(0x36, src, target, 0, c, pos & 0x1f, len & 0x1f), ctx); in emit_hppa64_extrd() 116 emit(hppa_t10_insn(0x34, src, target, 0, c, pos, len), ctx); in emit_hppa64_extrw() 141 emit(hppa_ldi(imm, rd), ctx); in emit_imm32() 145 emit(hppa_ldo(lower, HPPA_REG_ZERO, rd), ctx); in emit_imm32() 148 emit(hppa_ldil(imm, rd), ctx); in emit_imm32() 151 emit(hppa_ldo(lower, rd, rd), ctx); in emit_imm32() 189 emit(hppa64_bl_long(paoff - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_jump() 191 emit(hppa_nop(), ctx); in emit_jump() [all …]
|
| H A D | bpf_jit_comp32.c | 126 emit(hppa_copy(rs, rd), ctx); in emit_hppa_copy() 135 emit(hppa_copy(HPPA_REG_ZERO, r3), ctx); in emit_hppa_xor() 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() 189 emit(hppa_ldo(1 * HPPA_INSN_SIZE, HPPA_REG_T0, HPPA_REG_T0), ctx); in __build_epilogue() 190 emit(hppa_bv(HPPA_REG_ZERO, HPPA_REG_T0, EXEC_NEXT_INSTR), ctx); in __build_epilogue() 192 emit(hppa_copy(HPPA_REG_TCC, HPPA_REG_TCC_IN_INIT), ctx); in __build_epilogue() [all …]
|
| /linux/arch/arm/net/ |
| H A D | bpf_jit_32.c | 285 static inline void emit(u32 inst, struct jit_ctx *ctx) in emit() function 472 emit(ARM_LDR_I(rd, ARM_PC, imm_offset(val, ctx)), ctx); in emit_mov_i_no8m() 474 emit(ARM_MOVW(rd, val & 0xffff), ctx); in emit_mov_i_no8m() 476 emit(ARM_MOVT(rd, val >> 16), ctx); in emit_mov_i_no8m() 485 emit(ARM_MOV_I(rd, imm12), ctx); in emit_mov_i() 493 emit(ARM_BX(tgt_reg), ctx); in emit_bx_r() 495 emit(ARM_MOV_R(ARM_PC, tgt_reg), ctx); in emit_bx_r() 501 emit(ARM_MOV_R(ARM_LR, ARM_PC), ctx); in emit_blx_r() 504 emit(ARM_BLX_R(tgt_reg), ctx); in emit_blx_r() 529 emit(sign ? ARM_SDIV(rd, rm, rn) : ARM_UDIV(rd, rm, rn), ctx); in emit_udivmod() [all …]
|
| /linux/arch/sparc/net/ |
| H A D | bpf_jit_comp_64.c | 236 static void emit(const u32 insn, struct jit_ctx *ctx) in emit() function 258 emit(SETHI(0, G0), ctx); in emit_nop() 263 emit(OR | RS1(G0) | RS2(from) | RD(to), ctx); in emit_reg_move() 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() 284 emit(XOR | IMMED | RS1(reg) | S13(lbits) | RD(reg), ctx); in emit_set_const_sext() 290 emit(opcode | RS1(dst) | RS2(src) | RD(dst), ctx); in emit_alu() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_ring.c | 23 space = __intel_ring_space(ring->head, ring->emit, ring->size); in intel_ring_update_space() 73 intel_ring_reset(ring, ring->emit); in intel_ring_pin() 90 ring->emit = tail; in intel_ring_reset() 210 ring->emit, ring->size)) in wait_for_space() 233 const unsigned int remain_usable = ring->effective_size - ring->emit; in intel_ring_begin() 246 const int remain_actual = ring->size - ring->emit; in intel_ring_begin() 291 GEM_BUG_ON(ring->emit + need_wrap > ring->size); in intel_ring_begin() 295 memset64(ring->vaddr + ring->emit, 0, need_wrap / sizeof(u64)); in intel_ring_begin() 297 ring->emit = 0; in intel_ring_begin() 300 GEM_BUG_ON(ring->emit > ring->size - bytes); in intel_ring_begin() [all …]
|
| H A D | intel_ring.h | 50 GEM_BUG_ON((rq->ring->vaddr + rq->ring->emit) != cs); in intel_ring_advance() 51 GEM_BUG_ON(!IS_ALIGNED(rq->ring->emit, 8)); /* RING_TAIL qword align */ in intel_ring_advance()
|
| H A D | intel_ring_types.h | 43 u32 emit; /* updated during request construction */ member
|
| /linux/Documentation/input/ |
| H A D | uinput.rst | 48 void emit(int fd, int type, int code, int val) 95 emit(fd, EV_KEY, KEY_SPACE, 1); 96 emit(fd, EV_SYN, SYN_REPORT, 0); 97 emit(fd, EV_KEY, KEY_SPACE, 0); 98 emit(fd, EV_SYN, SYN_REPORT, 0); 122 /* emit function is identical to of the first example */ 159 emit(fd, EV_REL, REL_X, 5); 160 emit(fd, EV_REL, REL_Y, 5); 161 emit(fd, EV_SYN, SYN_REPORT, 0); 191 /* emit function is identical to of the first example */ [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | reg_bounds.c | 896 #define emit(insn) ({ \ in load_range_cmp_prog() macro 916 emit(BPF_JMP_A(2)); in load_range_cmp_prog() 923 emit(BPF_MOV64_IMM(BPF_REG_0, 0)); in load_range_cmp_prog() 924 emit(BPF_EXIT_INSN()); in load_range_cmp_prog() 932 emit(BPF_EMIT_CALL(BPF_FUNC_get_current_pid_tgid)); in load_range_cmp_prog() 934 emit(BPF_MOV32_REG(BPF_REG_6, BPF_REG_0)); in load_range_cmp_prog() 936 emit(BPF_MOV64_REG(BPF_REG_6, BPF_REG_0)); in load_range_cmp_prog() 937 emit(BPF_EMIT_CALL(BPF_FUNC_get_current_pid_tgid)); in load_range_cmp_prog() 939 emit(BPF_MOV32_REG(BPF_REG_7, BPF_REG_0)); in load_range_cmp_prog() 941 emit(BPF_MOV64_REG(BPF_REG_7, BPF_REG_0)); in load_range_cmp_prog() [all …]
|
| /linux/rust/macros/ |
| H A D | module.rs | 102 fn emit(&mut self, field: &str, content: &str) { 451 modinfo.emit("author", &author.value()); in module() 455 modinfo.emit("description", &description.value()); in module() 457 modinfo.emit("license", &license.value()); in module() 460 modinfo.emit("alias", &alias.value()); in module() 465 modinfo.emit("firmware", &fw.value()); in module() 470 modinfo.emit("import_ns", &ns.value()); in module() 94 fn emit(&mut self, field: &str, content: &str) { emit() method
|
| /linux/scripts/kconfig/ |
| H A D | qconf.cc | 421 emit menuChanged(menu); in updateSelection() 426 emit menuSelected(menu); in updateSelection() 740 emit parentSelected(); in keyPressEvent() 755 emit parentSelected(); in keyPressEvent() 765 emit menuSelected(menu); in keyPressEvent() 767 emit itemSelected(menu); in keyPressEvent() 811 emit parentSelected(); in mouseReleaseEvent() 819 emit menuSelected(menu); in mouseReleaseEvent() 845 emit parentSelected(); in mouseDoubleClickEvent() 854 emit itemSelected(menu); in mouseDoubleClickEvent() [all …]
|
| /linux/arch/arc/net/ |
| H A D | bpf_jit_core.c | 105 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()
|
| /linux/scripts/ |
| H A D | Makefile.build | 214 cmd_cc_ll_c = $(CC) $(c_flags) -emit-llvm -S -fno-discard-value-names -o $@ $< 339 --out-dir $(dir $@) --emit=dep-info=$(depfile) 350 cmd_rustc_o_rs = $(rust_common_cmd) --emit=obj=$@ $< $(cmd_objtool) 369 cmd_rustc_s_rs = $(rust_common_cmd) --emit=asm=$@ $< 375 cmd_rustc_ll_rs = $(rust_common_cmd) --emit=llvm-ir=$@ $<
|
| H A D | Makefile.host | 93 hostrust_flags = --out-dir $(dir $@) --emit=dep-info=$(depfile) \ 155 $(HOSTRUSTC) $(hostrust_flags) --emit=link=$@ $<
|
| /linux/tools/power/cpupower/utils/helpers/ |
| H A D | bitmask.c | 249 static inline int emit(char *buf, int buflen, int rbot, int rtop, int len) in emit() function 288 len = emit(buf, buflen, rbot, rtop, len); in bitmask_displaylist()
|
| /linux/Documentation/admin-guide/ |
| H A D | clearing-warn-once.rst | 4 WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once.
|
| /linux/arch/mips/vdso/ |
| H A D | Kconfig | 1 # GCC (at least up to version 9.2) appears to emit function calls that make use
|