Home
last modified time | relevance | path

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

12345

/linux/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()
183 emit(rv_addi(rd, rd, lower), ctx); in emit_addr()
473 emit(hash, ctx); in emit_kcfi()
557 emit(rv_fence(0x3, 0x3), ctx); in emit_atomic()
658 emit(rv_nop(), &ctx); in gen_jump_or_nops()
659 emit(rv_nop(), &ctx); in gen_jump_or_nops()
768 emit(rv_nop(), ctx); in invoke_bpf_prog()
979 emit(rv_nop(), ctx); in __arch_prepare_bpf_trampoline()
993 emit(rv_nop(), ctx); in __arch_prepare_bpf_trampoline()
994 emit(rv_nop(), ctx); in __arch_prepare_bpf_trampoline()
[all …]
A Dbpf_jit.h977 emit(rv_jalr(rd, rs, imm), ctx); in emit_jalr()
985 emit(rv_addi(rd, rs, 0), ctx); in emit_mv()
1022 emit(rv_lui(rd, imm), ctx); in emit_lui()
1070 emit(rv_or(rd, rs1, rs2), ctx); in emit_or()
1096 emit(rv_lw(rd, off, rs1), ctx); in emit_lw()
1149 emit(rv_ld(rd, off, rs1), ctx); in emit_ld()
1173 emit(rvzbb_sextb(rd, rs), ctx); in emit_sextb()
1184 emit(rvzbb_sexth(rd, rs), ctx); in emit_sexth()
1200 emit(rvzbb_zexth(rd, rs), ctx); in emit_zexth()
1211 emit(rvzba_zextw(rd, rs), ctx); in emit_zextw()
[all …]
/linux/arch/mips/net/
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_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_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)
/linux/arch/arm64/net/
A Dbpf_jit_comp.c164 emit(insn, ctx); in emit_bti()
207 emit(insn, ctx); in emit_direct_call()
216 emit(A64_BLR(tmp), ctx); in emit_indirect_call()
499 emit(A64_NOP, ctx); in build_prologue()
580 emit(A64_NOP, ctx); in emit_bpf_tail_call()
590 emit(A64_NOP, ctx); in emit_bpf_tail_call()
605 emit(A64_NOP, ctx); in emit_bpf_tail_call()
849 emit(A64_NOP, ctx); in build_plt()
2026 emit(A64_NOP, ctx); in invoke_bpf_prog()
2073 emit(A64_NOP, ctx); in invoke_bpf_mod_ret()
[all …]
/linux/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 …]
/linux/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 …]
/linux/tools/lib/bpf/
A Dgen_loader.c106 emit(gen, insn1); in emit2()
107 emit(gen, insn2); in emit2()
127 emit(gen, BPF_MOV64_IMM(BPF_REG_3, 0)); in bpf_gen__init()
133 emit(gen, BPF_JMP_IMM(BPF_JA, 0, 0, in bpf_gen__init()
153 emit(gen, BPF_EXIT_INSN()); in bpf_gen__init()
268 emit(gen, BPF_MOV64_IMM(BPF_REG_1, cmd)); in emit_sys_bpf()
394 emit(gen, BPF_MOV64_IMM(BPF_REG_0, 0)); in bpf_gen__finish()
395 emit(gen, BPF_EXIT_INSN()); in bpf_gen__finish()
551 emit(gen, BPF_MOV64_IMM(BPF_REG_4, 0)); in emit_find_attach_target()
625 emit(gen, BPF_MOV64_IMM(BPF_REG_4, 0)); in emit_bpf_find_by_name_kind()
[all …]
/linux/drivers/gpu/drm/i915/gt/
A Dintel_ring.c23 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()
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()
297 ring->emit = 0; in intel_ring_begin()
300 GEM_BUG_ON(ring->emit > ring->size - bytes); in intel_ring_begin()
302 cs = ring->vaddr + ring->emit; in intel_ring_begin()
305 ring->emit += bytes; in intel_ring_begin()
[all …]
A Dintel_ring.h51 GEM_BUG_ON((rq->ring->vaddr + rq->ring->emit) != cs); in intel_ring_advance()
52 GEM_BUG_ON(!IS_ALIGNED(rq->ring->emit, 8)); /* RING_TAIL qword align */ in intel_ring_advance()
A Dintel_ring_types.h43 u32 emit; /* updated during request construction */ member
/linux/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 …]
/linux/Documentation/input/
A Duinput.rst95 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);
159 emit(fd, EV_REL, REL_X, 5);
160 emit(fd, EV_REL, REL_Y, 5);
161 emit(fd, EV_SYN, SYN_REPORT, 0);
229 emit(fd, EV_KEY, KEY_SPACE, 1);
230 emit(fd, EV_SYN, SYN_REPORT, 0);
231 emit(fd, EV_KEY, KEY_SPACE, 0);
[all …]
/linux/scripts/dtc/
A Dflattree.c252 emit->string(etarget, tree->name, 0); in flatten_tree()
254 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
265 emit->cell(etarget, prop->val.len); in flatten_tree()
266 emit->cell(etarget, nameoff); in flatten_tree()
269 emit->align(etarget, 8); in flatten_tree()
271 emit->data(etarget, prop->val); in flatten_tree()
272 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
276 emit->property(etarget, NULL); in flatten_tree()
281 emit->align(etarget, 8); in flatten_tree()
284 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
[all …]
/linux/rust/macros/
A Dmodule.rs86 fn emit(&mut self, field: &str, content: &str) { in emit() method
187 modinfo.emit("author", &author); in module()
190 modinfo.emit("description", &description); in module()
192 modinfo.emit("license", &info.license); in module()
195 modinfo.emit("alias", &alias); in module()
200 modinfo.emit("firmware", &fw); in module()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dreg_bounds.c842 #define emit(insn) ({ \ in load_range_cmp_prog() macro
862 emit(BPF_JMP_A(2)); in load_range_cmp_prog()
869 emit(BPF_MOV64_IMM(BPF_REG_0, 0)); in load_range_cmp_prog()
870 emit(BPF_EXIT_INSN()); in load_range_cmp_prog()
895 emit(BPF_MOV32_IMM(BPF_REG_1, (s32)x.a)); in load_range_cmp_prog()
902 emit(BPF_LD_IMM64(BPF_REG_1, x.a)); in load_range_cmp_prog()
903 emit(BPF_LD_IMM64(BPF_REG_2, x.b)); in load_range_cmp_prog()
923 emit(BPF_LD_IMM64(BPF_REG_1, y.a)); in load_range_cmp_prog()
924 emit(BPF_LD_IMM64(BPF_REG_2, y.b)); in load_range_cmp_prog()
978 emit(BPF_EXIT_INSN()); in load_range_cmp_prog()
[all …]
/linux/tools/perf/arch/x86/entry/syscalls/
A Dsyscalltbl.sh14 emit() { function
34 emit "$nr" "$name"
/linux/scripts/kconfig/
A Dqconf.cc411 emit menuChanged(menu); in updateSelection()
416 emit menuSelected(menu); in updateSelection()
735 emit parentSelected(); in keyPressEvent()
750 emit parentSelected(); in keyPressEvent()
813 emit parentSelected(); in mouseReleaseEvent()
854 emit parentSelected(); in mouseDoubleClickEvent()
863 emit itemSelected(menu); in mouseDoubleClickEvent()
865 emit menuSelected(menu); in mouseDoubleClickEvent()
885 emit gotFocus(menu); in focusInEvent()
915 emit showNameChanged(on); in setShowName()
[all …]
/linux/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()
/linux/scripts/
A DMakefile.build127 cmd_cc_ll_c = $(CC) $(c_flags) -emit-llvm -S -fno-discard-value-names -o $@ $<
265 --out-dir $(dir $@) --emit=dep-info=$(depfile)
276 cmd_rustc_o_rs = $(rust_common_cmd) --emit=obj=$@ $< $(cmd_objtool)
295 cmd_rustc_s_rs = $(rust_common_cmd) --emit=asm=$@ $<
301 cmd_rustc_ll_rs = $(rust_common_cmd) --emit=llvm-ir=$@ $<
/linux/Documentation/admin-guide/
A Dclearing-warn-once.rst4 WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once.

Completed in 101 milliseconds

12345