Home
last modified time | relevance | path

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

/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,
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,
Dspill_fill.c85 BPF_ST_MEM(BPF_H, BPF_REG_10, -8, 0xcafe),
Dctx_sk_msg.c175 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_2, 6),
Dsock.c152 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, dst_port)),
170 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, dst_port) + 2),
227 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_0, offsetofend(struct bpf_sock, dst_port)),
Dref_tracking.c390 BPF_LD_ABS(BPF_H, 0),
403 BPF_LD_ABS(BPF_H, 0),
Dspin_lock.c105 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_6, 3),
Dbounds_mix_sign_unsign.c164 BPF_ST_MEM(BPF_H, BPF_REG_10, -512, 0),
Dsubreg.c511 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_6, 0),
Ddirect_packet_access.c499 BPF_STX_MEM(BPF_H, BPF_REG_4, BPF_REG_2, 0),
Dcalls.c673 BPF_LD_ABS(BPF_H, 0),
680 BPF_LD_ABS(BPF_H, 0),
/tools/include/uapi/linux/
Dbpf_common.h19 #define BPF_H 0x08 /* 16-bit */ macro
/tools/bpf/
Dbpf_exp.y136 bpf_set_curr_instr(BPF_LD | BPF_H | BPF_IND, 0, 0, $5); }
138 bpf_set_curr_instr(BPF_LD | BPF_H | BPF_IND, 0, 0, $6); }
140 bpf_set_curr_instr(BPF_LD | BPF_H | BPF_ABS, 0, 0, $3); }
142 bpf_set_curr_instr(BPF_LD | BPF_H | BPF_ABS, 0, 0,
Dbpf_dbg.c78 #define BPF_LD_H (BPF_LD | BPF_H)
/tools/perf/util/
Dbpf-prologue.c76 return BPF_H; in argtype_to_ldx_size()
91 case BPF_H: in insn_sz_to_str()
/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),
/tools/testing/selftests/bpf/
Dtest_sysctl.c128 BPF_LDX_MEM(BPF_H, BPF_REG_7, BPF_REG_1,
131 BPF_LDX_MEM(BPF_H, BPF_REG_7, BPF_REG_1,
537 BPF_STX_MEM(BPF_H, BPF_REG_7, BPF_REG_0, 6),
/tools/testing/selftests/net/
Dgro.c123 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, ethproto_off), in setup_sock_filter()
127 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, dport_off), in setup_sock_filter()
129 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, dport_off + optlen), in setup_sock_filter()
Dtoeplitz.c292 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, off_dport), in __set_filter()
/tools/lib/bpf/
Drelo_core.c885 case BPF_H: return 2; in insn_bpf_size_to_bytes()
896 case 2: return BPF_H; in insn_bytes_to_bpf_size()
Dgen_loader.c153 case 2: return BPF_H; in insn_bytes_to_bpf_size()