Home
last modified time | relevance | path

Searched refs:BPF_H (Results 1 – 25 of 50) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/bpf/verifier/
Dctx_sk_lookup.c14 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
16 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
32 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
34 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
50 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
52 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
92 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
94 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
96 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
98 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
[all …]
Dctx_skb.c362 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_2, 6),
567 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0,
569 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0,
571 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0,
573 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0,
575 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0,
577 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0,
579 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0,
581 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0,
583 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0,
[all …]
Ddirect_value_access.c164 BPF_ST_MEM(BPF_H, BPF_REG_2, 0, 0xffff),
178 BPF_ST_MEM(BPF_H, BPF_REG_2, 0, 0xffff),
179 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1, 0),
192 BPF_ST_MEM(BPF_H, BPF_REG_2, 0, 0xffff),
193 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1, 0),
207 BPF_ST_MEM(BPF_H, BPF_REG_2, 1, 0xffff),
208 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1, 0),
221 BPF_ST_MEM(BPF_H, BPF_REG_1, 0, 42),
Dld_abs.c77 BPF_LD_ABS(BPF_H, 0),
87 BPF_LD_ABS(BPF_H, 0),
123 BPF_LD_ABS(BPF_H, 12),
125 BPF_LD_ABS(BPF_H, 12),
138 BPF_LD_ABS(BPF_H, 12),
143 BPF_LD_IND(BPF_H, BPF_REG_7, 14),
253 BPF_LD_ABS(BPF_H, 0),
264 BPF_LD_ABS(BPF_H, 0),
Dperf_event_sample_period.c22 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
25 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
Dspill_fill.c113 BPF_ST_MEM(BPF_H, BPF_REG_10, -8, 0xcafe),
190 BPF_LDX_MEM(BPF_H, BPF_REG_4, BPF_REG_10, -8),
222 BPF_LDX_MEM(BPF_H, BPF_REG_4, BPF_REG_10, -8),
250 BPF_LDX_MEM(BPF_H, BPF_REG_4, BPF_REG_10, -6),
Dlwt.c118 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_2, 6),
178 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
181 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
Dctx_sk_msg.c175 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_2, 6),
/external/strace/xlat/
Dbpf_size.h13 #if defined(BPF_H) || (defined(HAVE_DECL_BPF_H) && HAVE_DECL_BPF_H)
15 static_assert((BPF_H) == (0x08), "BPF_H != 0x08");
18 # define BPF_H 0x08
46 XLAT(BPF_H),
Dbpf_size.in2 BPF_H 0x08
/external/libpcap/
Dgencode.c1087 tmp = gen_cmp(cstate, offrel, offset + size - 2, BPF_H, in gen_bcmp()
1982 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype()
1984 b1 = gen_cmp(cstate, OR_LLC, 0, BPF_H, (ll_proto << 8) | ll_proto); in gen_ether_linktype()
2022 b1 = gen_cmp(cstate, OR_LLC, 0, BPF_H, 0xFFFF); in gen_ether_linktype()
2036 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype()
2052 b0 = gen_cmp(cstate, OR_LINKTYPE, 0, BPF_H, ETHERTYPE_IPX); in gen_ether_linktype()
2068 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype()
2093 b0 = gen_cmp(cstate, OR_LINKTYPE, 0, BPF_H, ll_proto); in gen_ether_linktype()
2108 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype()
2123 return gen_cmp(cstate, OR_LINKTYPE, 0, BPF_H, ll_proto); in gen_ether_linktype()
[all …]
Dbpf_image.c162 case BPF_LD|BPF_H|BPF_ABS: in bpf_image()
185 case BPF_LD|BPF_H|BPF_IND: in bpf_image()
Dbpf_filter.c129 case BPF_LD|BPF_H|BPF_ABS: in pcap_filter_with_aux_data()
188 case BPF_LD|BPF_H|BPF_IND: in pcap_filter_with_aux_data()
/external/elfutils/libcpu/
Dbpf_disasm.c399 case BPF_LDX | BPF_MEM | BPF_H: in bpf_disasm()
412 case BPF_STX | BPF_MEM | BPF_H: in bpf_disasm()
432 case BPF_ST | BPF_MEM | BPF_H: in bpf_disasm()
445 case BPF_LD | BPF_ABS | BPF_H: in bpf_disasm()
455 case BPF_LD | BPF_IND | BPF_H: in bpf_disasm()
/external/minijail/
Dbpf.h9 #ifndef BPF_H
10 #define BPF_H macro
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h19 #define BPF_H 0x08 /* 16-bit */ macro
/external/iproute2/include/uapi/linux/
Dbpf_common.h19 #define BPF_H 0x08 macro
/external/bpftool/include/uapi/linux/
Dbpf_common.h19 #define BPF_H 0x08 /* 16-bit */ macro
/external/libbpf/include/uapi/linux/
Dbpf_common.h19 #define BPF_H 0x08 /* 16-bit */ macro
/external/elfutils/lib/
Dbpf.h32 #define BPF_H 0x08 macro
/external/iptables/include/linux/
Dfilter.h52 #define BPF_H 0x08 macro
/external/libpcap/pcap/
Dbpf.h148 #define BPF_H 0x08 macro
/external/libbpf/src/
Dgen_loader.c204 case 2: return BPF_H; in insn_bytes_to_bpf_size()
694 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0)); in emit_relo_kfunc_btf()
705 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0)); in emit_relo_kfunc_btf()
714 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), btf_fd_idx)); in emit_relo_kfunc_btf()
720 emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, in emit_relo_kfunc_btf()
738 emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, sizeof(struct bpf_insn) + in emit_ksym_relo_log()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dalign.c228 BPF_LDX_MEM(BPF_H, BPF_REG_4, BPF_REG_5, 0),
229 BPF_LDX_MEM(BPF_H, BPF_REG_4, BPF_REG_5, 2),
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFInstrInfo.td416 def STH : STOREi64<BPF_H, "u16", truncstorei16>;
462 def LDH : LOADi64<BPF_H, "u16", zextloadi16>;
719 def LD_ABS_H : LOAD_ABS<BPF_H, "u16", int_bpf_load_half>;
723 def LD_IND_H : LOAD_IND<BPF_H, "u16", int_bpf_load_half>;
766 def STH32 : STOREi32<BPF_H, "u16", truncstorei16>;
790 def LDH32 : LOADi32<BPF_H, "u16", zextloadi16>;

12