Home
last modified time | relevance | path

Searched refs:BPF_X (Results 1 – 25 of 33) sorted by relevance

12

/external/elfutils/libcpu/
Dbpf_disasm.c210 case BPF_ALU | BPF_ADD | BPF_X: in bpf_disasm()
213 case BPF_ALU | BPF_SUB | BPF_X: in bpf_disasm()
216 case BPF_ALU | BPF_MUL | BPF_X: in bpf_disasm()
219 case BPF_ALU | BPF_DIV | BPF_X: in bpf_disasm()
222 case BPF_ALU | BPF_OR | BPF_X: in bpf_disasm()
225 case BPF_ALU | BPF_AND | BPF_X: in bpf_disasm()
228 case BPF_ALU | BPF_LSH | BPF_X: in bpf_disasm()
231 case BPF_ALU | BPF_RSH | BPF_X: in bpf_disasm()
234 case BPF_ALU | BPF_MOD | BPF_X: in bpf_disasm()
237 case BPF_ALU | BPF_XOR | BPF_X: in bpf_disasm()
[all …]
/external/libpcap/
Dbpf_image.c177 case BPF_JMP|BPF_JGT|BPF_X: in bpf_image()
182 case BPF_JMP|BPF_JGE|BPF_X: in bpf_image()
187 case BPF_JMP|BPF_JEQ|BPF_X: in bpf_image()
192 case BPF_JMP|BPF_JSET|BPF_X: in bpf_image()
197 case BPF_ALU|BPF_ADD|BPF_X: in bpf_image()
202 case BPF_ALU|BPF_SUB|BPF_X: in bpf_image()
207 case BPF_ALU|BPF_MUL|BPF_X: in bpf_image()
212 case BPF_ALU|BPF_DIV|BPF_X: in bpf_image()
217 case BPF_ALU|BPF_MOD|BPF_X: in bpf_image()
222 case BPF_ALU|BPF_AND|BPF_X: in bpf_image()
[all …]
Dbpf_filter.c278 case BPF_JMP|BPF_JGT|BPF_X: in bpf_filter_with_aux_data()
282 case BPF_JMP|BPF_JGE|BPF_X: in bpf_filter_with_aux_data()
286 case BPF_JMP|BPF_JEQ|BPF_X: in bpf_filter_with_aux_data()
290 case BPF_JMP|BPF_JSET|BPF_X: in bpf_filter_with_aux_data()
294 case BPF_ALU|BPF_ADD|BPF_X: in bpf_filter_with_aux_data()
298 case BPF_ALU|BPF_SUB|BPF_X: in bpf_filter_with_aux_data()
302 case BPF_ALU|BPF_MUL|BPF_X: in bpf_filter_with_aux_data()
306 case BPF_ALU|BPF_DIV|BPF_X: in bpf_filter_with_aux_data()
312 case BPF_ALU|BPF_MOD|BPF_X: in bpf_filter_with_aux_data()
318 case BPF_ALU|BPF_AND|BPF_X: in bpf_filter_with_aux_data()
[all …]
Doptimize.c493 (BPF_RVAL(c) == BPF_X) ? X_ATOM : -1; in atomuse()
508 if (BPF_SRC(c) == BPF_X) in atomuse()
855 if (add == 0 || add->s.code != (BPF_ALU|BPF_ADD|BPF_X)) in opt_peep()
922 if (last->s.code == (BPF_ALU|BPF_SUB|BPF_X)) { in opt_peep()
948 b->s.code = BPF_JMP|BPF_JEQ|BPF_X; in opt_peep()
995 if (opt_state->vmap[val].is_const && BPF_SRC(b->s.code) == BPF_X) { in opt_peep()
997 b->s.code &= ~BPF_X; in opt_peep()
1141 case BPF_ALU|BPF_ADD|BPF_X: in opt_stmt()
1142 case BPF_ALU|BPF_SUB|BPF_X: in opt_stmt()
1143 case BPF_ALU|BPF_MUL|BPF_X: in opt_stmt()
[all …]
Dgencode.c1781 sappend(s, new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_X)); in gen_loadx_iphdrlen()
2419 s2 = new_stmt(cstate, BPF_ALU|BPF_OR|BPF_X); in gen_load_radiotap_llprefixlen()
2487 s2 = new_stmt(cstate, BPF_ALU|BPF_OR|BPF_X); in gen_load_ppi_llprefixlen()
5944 s[i] = new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_X); in gen_protochain()
6985 sappend(s, new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_X)); in gen_load()
7032 sappend(s, new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_X)); in gen_load()
7099 sappend(s, new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_X)); in gen_load()
7150 sappend(s, new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_X)); in gen_load()
7189 s2 = new_stmt(cstate, BPF_ALU|BPF_SUB|BPF_X); in gen_relation()
7194 b = new_block(cstate, BPF_JMP|code|BPF_X); in gen_relation()
[all …]
/external/strace/xlat/
Dbpf_src.h13 #if defined(BPF_X) || (defined(HAVE_DECL_BPF_X) && HAVE_DECL_BPF_X)
15 static_assert((BPF_X) == (0x08), "BPF_X != 0x08");
18 # define BPF_X 0x08
32 XLAT(BPF_X),
Dbpf_rval.h13 #if defined(BPF_X) || (defined(HAVE_DECL_BPF_X) && HAVE_DECL_BPF_X)
15 static_assert((BPF_X) == (0x08), "BPF_X != 0x08");
18 # define BPF_X 0x08
39 XLAT(BPF_X),
Dbpf_src.in2 BPF_X 0x08
Dbpf_rval.in2 BPF_X 0x08
/external/iproute2/include/
Dbpf_util.h72 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
80 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
108 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
116 .code = BPF_ALU | BPF_MOV | BPF_X, \
211 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \
/external/bcc/src/cc/includes/
Dlibbpf.h129 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
137 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
165 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
250 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \
/external/bcc/src/cc/
Dlibbpf.h129 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
137 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
165 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
250 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \
/external/bcc/src/cc/compat/linux/
Dbpf_common.h51 #define BPF_X 0x08 macro
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h51 #define BPF_X 0x08 macro
/external/iproute2/include/uapi/linux/
Dbpf_common.h50 #define BPF_X 0x08 macro
/external/linux-kselftest/tools/testing/selftests/bpf/verifier/
Dbasic_call.c4 BPF_RAW_INSN(BPF_JMP | BPF_CALL | BPF_X, 0, 0, 0, 0),
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c191 BPF_STMT(BPF_ALU | BPF_OR | BPF_X, 0),
252 BPF_STMT(BPF_ALU | BPF_ADD | BPF_X, 0),
261 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_X, 0, PASS, 0),
/external/elfutils/lib/
Dbpf.h67 #define BPF_X 0x08 macro
/external/ltp/include/lapi/
Dbpf.h47 #define BPF_X 0x08 macro
446 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
462 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
/external/iptables/include/linux/
Dfilter.h83 #define BPF_X 0x08 macro
/external/libpcap/pcap/
Dbpf.h188 #define BPF_X 0x08 macro
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
DBPFInstrFormats.td27 def BPF_X : BPFSrcType<0x1>;
DBPFInstrInfo.td139 : TYPE_ALU_JMP<Opc.Value, BPF_X.Value,
203 : TYPE_ALU_JMP<Opc.Value, BPF_X.Value, outs, ins, asmstr, pattern> {
421 : TYPE_ALU_JMP<BPF_CALL.Value, BPF_X.Value,
446 : TYPE_ALU_JMP<BPF_MOV.Value, BPF_X.Value,
/external/strace/tests-mx32/
Dbpf-obj_get_info_by_fd.c127 .code = BPF_ALU64 | BPF_X | BPF_MOV,
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_fanout.c136 { BPF_ALU64 | BPF_MOV | BPF_X, 6, 1, 0, 0 }, in sock_fanout_set_ebpf()

12