Home
last modified time | relevance | path

Searched refs:BPF_ALU (Results 1 – 25 of 67) sorted by relevance

123

/external/libpcap/
Dbpf_image.c197 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()
227 case BPF_ALU|BPF_OR|BPF_X: in bpf_image()
232 case BPF_ALU|BPF_XOR|BPF_X: in bpf_image()
237 case BPF_ALU|BPF_LSH|BPF_X: in bpf_image()
242 case BPF_ALU|BPF_RSH|BPF_X: in bpf_image()
[all …]
Dbpf_filter.c294 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()
322 case BPF_ALU|BPF_OR|BPF_X: in bpf_filter_with_aux_data()
326 case BPF_ALU|BPF_XOR|BPF_X: in bpf_filter_with_aux_data()
330 case BPF_ALU|BPF_LSH|BPF_X: in bpf_filter_with_aux_data()
334 case BPF_ALU|BPF_RSH|BPF_X: in bpf_filter_with_aux_data()
[all …]
Doptimize.c507 case BPF_ALU: in atomuse()
535 case BPF_ALU: in atomdef()
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()
958 else if (last->s.code == (BPF_ALU|BPF_SUB|BPF_K)) { in opt_peep()
970 else if (last->s.code == (BPF_ALU|BPF_AND|BPF_K) && in opt_peep()
1094 case BPF_ALU|BPF_NEG: in opt_stmt()
1104 case BPF_ALU|BPF_ADD|BPF_K: in opt_stmt()
1105 case BPF_ALU|BPF_SUB|BPF_K: in opt_stmt()
1106 case BPF_ALU|BPF_MUL|BPF_K: in opt_stmt()
[all …]
Dgencode.c1026 s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K); in gen_ncmp()
1768 s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K); in gen_loadx_iphdrlen()
1771 s2 = new_stmt(cstate, BPF_ALU|BPF_LSH|BPF_K); in gen_loadx_iphdrlen()
1781 sappend(s, new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_X)); in gen_loadx_iphdrlen()
2273 s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K); in gen_load_prism_llprefixlen()
2406 s2 = new_stmt(cstate, BPF_ALU|BPF_LSH|BPF_K); in gen_load_radiotap_llprefixlen()
2419 s2 = new_stmt(cstate, BPF_ALU|BPF_OR|BPF_X); in gen_load_radiotap_llprefixlen()
2474 s2 = new_stmt(cstate, BPF_ALU|BPF_LSH|BPF_K); in gen_load_ppi_llprefixlen()
2487 s2 = new_stmt(cstate, BPF_ALU|BPF_OR|BPF_X); in gen_load_ppi_llprefixlen()
2577 s2 = new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_K); in gen_load_802_11_header_len()
[all …]
/external/elfutils/libcpu/
Dbpf_disasm.c48 [BPF_ALU] = "alu",
165 case BPF_ALU | BPF_END | BPF_TO_LE: in bpf_disasm()
169 case BPF_ALU | BPF_END | BPF_TO_BE: in bpf_disasm()
173 case BPF_ALU | BPF_ADD | BPF_K: in bpf_disasm()
176 case BPF_ALU | BPF_SUB | BPF_K: in bpf_disasm()
179 case BPF_ALU | BPF_MUL | BPF_K: in bpf_disasm()
182 case BPF_ALU | BPF_DIV | BPF_K: in bpf_disasm()
185 case BPF_ALU | BPF_OR | BPF_K: in bpf_disasm()
188 case BPF_ALU | BPF_AND | BPF_K: in bpf_disasm()
191 case BPF_ALU | BPF_LSH | BPF_K: in bpf_disasm()
[all …]
/external/strace/xlat/
Debpf_class.h34 #if defined(BPF_ALU) || (defined(HAVE_DECL_BPF_ALU) && HAVE_DECL_BPF_ALU)
36 static_assert((BPF_ALU) == (0x4), "BPF_ALU != 0x4");
39 # define BPF_ALU 0x4
70 [BPF_ALU] = XLAT(BPF_ALU),
Dbpf_class.h34 #if defined(BPF_ALU) || (defined(HAVE_DECL_BPF_ALU) && HAVE_DECL_BPF_ALU)
36 static_assert((BPF_ALU) == (0x4), "BPF_ALU != 0x4");
39 # define BPF_ALU 0x4
77 [BPF_ALU] = XLAT(BPF_ALU),
Debpf_class.in6 BPF_ALU 0x4
Dbpf_class.in6 BPF_ALU 0x4
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c186 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8),
188 BPF_STMT(BPF_ALU | BPF_OR | BPF_X, 0),
199 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF),
214 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03),
226 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0c),
233 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x03),
243 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x80),
245 BPF_STMT(BPF_ALU | BPF_RSH | BPF_K, 6),
247 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 24),
249 BPF_STMT(BPF_ALU | BPF_ADD | BPF_X, 0),
/external/iproute2/include/
Dbpf_util.h80 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
98 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
116 .code = BPF_ALU | BPF_MOV | BPF_X, \
134 .code = BPF_ALU | BPF_MOV | BPF_K, \
/external/bcc/src/cc/compat/linux/
Dbpf_common.h10 #define BPF_ALU 0x04 macro
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h11 #define BPF_ALU 0x04 macro
/external/iproute2/include/uapi/linux/
Dbpf_common.h11 #define BPF_ALU 0x04 macro
/external/bcc/src/cc/
Dlibbpf.h137 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
155 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
/external/bcc/src/cc/includes/
Dlibbpf.h137 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
155 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
/external/elfutils/lib/
Dbpf.h14 #define BPF_ALU 0x04 macro
/external/iptables/include/linux/
Dfilter.h44 #define BPF_ALU 0x04 macro
/external/libnetfilter_conntrack/src/conntrack/
Dbsf.c43 case BPF_ALU|BPF_AND|BPF_K:
52 case BPF_ALU|BPF_ADD|BPF_K:
204 .code = BPF_ALU|BPF_AND|BPF_K, in nfct_bsf_alu_and()
216 .code = BPF_ALU|BPF_ADD|BPF_K, in nfct_bsf_add_attr_data_offset()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
DBPFInstrInfo.td223 def _rr_32 : ALU_RR<BPF_ALU, Opc,
228 def _ri_32 : ALU_RI<BPF_ALU, Opc,
263 def NEG_32: NEG_RR<BPF_ALU, BPF_NEG, (outs GPR32:$dst), (ins GPR32:$src),
297 def MOV_rr_32 : ALU_RR<BPF_ALU, BPF_MOV,
302 def MOV_ri_32 : ALU_RI<BPF_ALU, BPF_MOV,
582 let BPFClass = BPF_ALU;
635 def MOV_32_64 : ALU_RR<BPF_ALU, BPF_MOV,
/external/syzkaller/sys/linux/
Dbpf_arm64.const4 BPF_ALU = 4
Dbpf_arm.const4 BPF_ALU = 4
Dbpf_ppc64le.const4 BPF_ALU = 4
Dbpf_amd64.const4 BPF_ALU = 4
/external/libpcap/pcap/
Dbpf.h130 #define BPF_ALU 0x04 macro

123