Home
last modified time | relevance | path

Searched refs:ins (Results 1 – 25 of 30) sorted by relevance

12

/f-stack/freebsd/arm64/include/
H A Ddb_machdep.h62 #define inst_trap_return(ins) (0) argument
64 #define inst_return(ins) (((ins) & 0xfffffc1fu) == 0xd65f0000) argument
65 #define inst_call(ins) (((ins) & 0xfc000000u) == 0x94000000u || /* BL */ \ argument
68 #define inst_load(ins) ({ \ argument
73 #define inst_store(ins) ({ \ argument
78 #define is_load_instr(ins) ((((ins) & 0x3b000000u) == 0x18000000u) || /* literal */ \ argument
81 ((((ins) & 0x3b200c00u) == 0x38000400u) && \
82 (((ins) & 0x3be00c00u) != 0x38000400u) && \
84 ((((ins) & 0x3b200c00u) == 0x38000c00u) && \
85 (((ins) & 0x3be00c00u) != 0x38000c00u) && \
[all …]
/f-stack/dpdk/lib/librte_bpf/
H A Dbpf_exec.c21 #define BPF_JMP_UNC(ins) ((ins) += (ins)->off) argument
24 ((ins) += \
29 ((ins) += \
30 ((type)(reg)[(ins)->dst_reg] op (type)(ins)->imm) ? \
37 ((reg)[(ins)->dst_reg] = (type)(reg)[(ins)->src_reg])
44 ((reg)[(ins)->dst_reg] = (type)(ins)->imm)
48 (type)(reg)[(ins)->dst_reg] op (type)(ins)->imm)
55 (uintptr_t)(ins) - (uintptr_t)(bpf)->prm.ins); \
89 uint32_t ofs = reg[ins->src_reg] + (ins)->imm; \
157 for (ins = bpf->prm.ins; ; ins++) { in bpf_exec()
[all …]
H A Dbpf_load_elf.c63 if (ofs % sizeof(ins[0]) != 0 || ofs >= ins_sz) in resolve_xsym()
66 idx = ofs / sizeof(ins[0]); in resolve_xsym()
67 if (ins[idx].code == (BPF_JMP | EBPF_CALL)) in resolve_xsym()
70 ofs < ins_sz - sizeof(ins[idx])) in resolve_xsym()
86 if (ins[idx].src_reg == EBPF_PSEUDO_CALL) { in resolve_xsym()
90 ins[idx].src_reg = EBPF_REG_0; in resolve_xsym()
92 ins[idx].imm = fidx; in resolve_xsym()
95 ins[idx].imm = (uintptr_t)prm->xsym[fidx].var.val; in resolve_xsym()
96 ins[idx + 1].imm = in resolve_xsym()
217 rc = resolve_xsym(sn, ofs, ins, ins_sz, prm); in process_reloc()
[all …]
H A Dbpf_validate.c116 if (ins->imm != 16 && ins->imm != 32 && ins->imm != 64) in check_alu_bele()
124 RTE_SET_USED(ins); in eval_exit()
188 val = (uint32_t)ins[0].imm | (uint64_t)(uint32_t)ins[1].imm << 32; in eval_ld_imm64()
975 idx = ins->imm; in eval_call()
1736 op = ins->code; in check_syntax()
1747 off = ins->off; in check_syntax()
1751 imm = ins->imm; in check_syntax()
1921 ins = bvf->prm->ins + i; in log_unreachable()
1972 ins = bvf->prm->ins + i; in validate()
2194 ins->dst_reg, in log_eval_state()
[all …]
H A Dbpf_jit_x86.c116 uint8_t *ins; member
143 if (st->ins != NULL) { in emit_bytes()
145 st->ins[st->sz + i] = ins[i]; in emit_bytes()
1290 const struct ebpf_insn *ins; in emit() local
1304 ins = bpf->prm.ins + i; in emit()
1308 op = ins->code; in emit()
1412 emit_ld_imm64(st, dr, ins[0].imm, ins[1].imm); in emit()
1435 emit_st_imm(st, op, dr, ins->imm, ins->off); in emit()
1458 emit_jcc_imm(st, op, dr, ins->imm, ins->off + 1); in emit()
1530 if (st.ins == MAP_FAILED) in bpf_jit_x86()
[all …]
H A Dbpf_load.c31 insz = prm->nb_ins * sizeof(prm->ins[0]); in bpf_load()
46 memcpy(buf + bsz + xsz, prm->ins, insz); in bpf_load()
49 bpf->prm.ins = (void *)(buf + bsz + xsz); in bpf_load()
96 if (prm == NULL || prm->ins == NULL || in rte_bpf_load()
H A Dbpf_jit_arm64.c87 return (ctx->ins == NULL); in is_first_pass()
221 if (ctx->ins) in emit_insn()
1095 const struct ebpf_insn *ins; in check_program_has_call() local
1100 ins = bpf->prm.ins + i; in check_program_has_call()
1101 op = ins->code; in check_program_has_call()
1140 ins = bpf->prm.ins + i; in emit()
1141 op = ins->code; in emit()
1142 off = ins->off; in emit()
1143 imm = ins->imm; in emit()
1438 __builtin___clear_cache((char *)ctx.ins, (char *)(ctx.ins + ctx.idx)); in bpf_jit_arm64()
[all …]
H A Drte_bpf.h91 const struct ebpf_insn *ins; /**< array of eBPF instructions */ member
/f-stack/freebsd/amd64/include/
H A Ddb_machdep.h74 #define i_calli(ins) (((ins)&0xff) == I_CALLI && ((ins)&0x3800) == 0x1000) argument
77 #define i_rex(ins) (((ins) & 0xff) == 0x41 || ((ins) & 0xff) == 0x43) argument
79 #define inst_trap_return(ins) (((ins)&0xff) == I_IRET) argument
80 #define inst_return(ins) (((ins)&0xff) == I_RET) argument
81 #define inst_call(ins) (((ins)&0xff) == I_CALL || i_calli(ins) || \ argument
82 (i_calli((ins) >> 8) && i_rex(ins)))
83 #define inst_load(ins) 0 argument
84 #define inst_store(ins) 0 argument
/f-stack/freebsd/arm/include/
H A Ddb_machdep.h59 #define inst_trap_return(ins) (0) argument
66 #define inst_return(ins) (((ins) & 0x0e108000) == 0x08108000 || \ argument
67 ((ins) & 0x0ff0fff0) == 0x01a0f000 || \
68 ((ins) & 0x0ffffff0) == 0x012fff10) /* bx */
71 #define inst_call(ins) (((ins) & 0x0f000000) == 0x0b000000) argument
77 #define inst_branch(ins) (((ins) & 0x0f000000) == 0x0a000000 || \ argument
78 ((ins) & 0x0fdffff0) == 0x079ff100 || \
79 ((ins) & 0x0cd0f000) == 0x0490f000 || \
81 ((ins) & 0x0de0f000) == 0x0080f000)
83 #define inst_load(ins) (0) argument
[all …]
/f-stack/freebsd/ddb/
H A Ddb_run.c185 db_expr_t ins; in db_stop_at_pc() local
188 if (!inst_trap_return(ins) && in db_stop_at_pc()
191 if (inst_call(ins) || inst_return(ins)) { in db_stop_at_pc()
200 if (inst_call(ins)) in db_stop_at_pc()
207 db_expr_t ins; in db_stop_at_pc() local
210 if (!inst_call(ins) && in db_stop_at_pc()
211 !inst_return(ins) && in db_stop_at_pc()
212 !inst_trap_return(ins)) { in db_stop_at_pc()
233 db_expr_t ins = in db_restart_at_pc() local
241 if (inst_branch(ins) || inst_call(ins)) { in db_restart_at_pc()
[all …]
/f-stack/freebsd/i386/include/
H A Ddb_machdep.h80 #define inst_trap_return(ins) (((ins)&0xff) == I_IRET) argument
81 #define inst_return(ins) (((ins)&0xff) == I_RET) argument
82 #define inst_call(ins) (((ins)&0xff) == I_CALL || \ argument
83 (((ins)&0xff) == I_CALLI && \
84 ((ins)&0x3800) == 0x1000))
85 #define inst_load(ins) 0 argument
86 #define inst_store(ins) 0 argument
/f-stack/freebsd/amd64/amd64/
H A Dbpf_jit_machdep.c161 struct bpf_insn *ins; in bpf_jit_compile() local
202 ins = prog; in bpf_jit_compile()
220 switch (ins->code) { in bpf_jit_compile()
229 MOVid(ins->k, EAX); in bpf_jit_compile()
242 MOVid(ins->k, ESI); in bpf_jit_compile()
425 JUMP(ins->k); in bpf_jit_compile()
436 if (ins->jt == ins->jf) { in bpf_jit_compile()
437 JUMP(ins->jt); in bpf_jit_compile()
540 ADD_EAXi(ins->k); in bpf_jit_compile()
544 SUB_EAXi(ins->k); in bpf_jit_compile()
[all …]
H A Dbpf_jit_machdep.h478 if (ins->jt != 0 && ins->jf != 0) { \
481 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
483 JMP(stream.refs[stream.bpf_pc + ins->jf] - \
485 } else if (ins->jt != 0) { \
487 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
491 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \
/f-stack/freebsd/i386/i386/
H A Dbpf_jit_machdep.c161 struct bpf_insn *ins; in bpf_jit_compile() local
204 ins = prog; in bpf_jit_compile()
225 switch (ins->code) { in bpf_jit_compile()
234 MOVid(ins->k, EAX); in bpf_jit_compile()
259 MOVid(ins->k, ESI); in bpf_jit_compile()
447 JUMP(ins->k); in bpf_jit_compile()
458 if (ins->jt == ins->jf) { in bpf_jit_compile()
459 JUMP(ins->jt); in bpf_jit_compile()
570 ADD_EAXi(ins->k); in bpf_jit_compile()
574 SUB_EAXi(ins->k); in bpf_jit_compile()
[all …]
H A Dbpf_jit_machdep.h423 if (ins->jt != 0 && ins->jf != 0) { \
426 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
428 JMP(stream.refs[stream.bpf_pc + ins->jf] - \
430 } else if (ins->jt != 0) { \
432 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
436 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \
/f-stack/freebsd/crypto/openssl/aarch64/
H A Dghashv8-armx.S41 ins v2.d[0],v1.d[1]
42 ins v1.d[1],v0.d[0]
73 ins v2.d[0],v1.d[1]
74 ins v7.d[0],v6.d[1]
75 ins v1.d[1],v0.d[0]
76 ins v6.d[1],v5.d[0]
121 ins v2.d[0],v1.d[1]
122 ins v1.d[1],v0.d[0]
215 ins v2.d[0],v1.d[1]
216 ins v1.d[1],v0.d[0]
[all …]
/f-stack/freebsd/mips/mips/
H A Ddb_disasm.c136 static int md_printins(int ins, int mdbdot);
142 int ins; in db_disasm() local
146 (char *)&ins); in db_disasm()
147 md_printins(ins, loc); in db_disasm()
155 md_printins(int ins, int mdbdot) in md_printins() argument
160 i.word = ins; in md_printins()
H A Ddb_trace.c66 #define MIPS_START_OF_FUNCTION(ins) ((((ins) & 0xffff8000) == 0x27bd8000) \ argument
67 || (((ins) & 0xffff8000) == 0x67bd8000))
73 #define MIPS_LLD_PADDING_BETWEEN_FUNCTIONS(ins) ((ins) == 0xefefefef) argument
H A Ddb_interface.c251 db_inst_type(int ins) in db_inst_type() argument
256 inst.word = ins; in db_inst_type()
/f-stack/freebsd/kern/
H A Dsubr_taskqueue.c226 struct task *ins; in taskqueue_enqueue_locked() local
252 ins = STAILQ_NEXT(prev, ta_link); in taskqueue_enqueue_locked()
255 ins = STAILQ_FIRST(&queue->tq_queue); in taskqueue_enqueue_locked()
257 for (; ins; prev = ins, ins = STAILQ_NEXT(ins, ta_link)) in taskqueue_enqueue_locked()
258 if (ins->ta_priority < task->ta_priority) in taskqueue_enqueue_locked()
/f-stack/dpdk/app/test/
H A Dtest_bpf.c2896 .ins = test_load1_prog,
2924 .ins = test_mul1_prog,
2952 .ins = test_jump1_prog,
2966 .ins = test_jump2_prog,
2980 .ins = test_alu1_prog,
2994 .ins = test_bele1_prog,
3008 .ins = test_xadd1_prog,
3022 .ins = test_div1_prog,
3036 .ins = test_call1_prog,
3054 .ins = test_call2_prog,
[all …]
/f-stack/freebsd/mips/include/
H A Ddb_machdep.h55 #define BKPT_SET(ins) (MIPS_BREAK_DDB) argument
/f-stack/freebsd/contrib/device-tree/Bindings/sound/
H A Dda7219.txt53 - dlg,jack-ins-deb : Debounce time for jack insertion (ms)
100 dlg,jack-ins-deb = <20>;
/f-stack/freebsd/netpfil/pf/
H A Dpf_osfp.c447 pf_osfp_insert(struct pf_osfp_list *list, struct pf_os_fingerprint *ins) in pf_osfp_insert() argument
456 SLIST_INSERT_AFTER(prev, ins, fp_next); in pf_osfp_insert()
458 SLIST_INSERT_HEAD(list, ins, fp_next); in pf_osfp_insert()

12