/tools/testing/selftests/bpf/verifier/ |
D | ctx_sk_lookup.c | 14 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 …]
|
D | ctx_skb.c | 362 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 …]
|
D | direct_value_access.c | 164 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),
|
D | ld_abs.c | 77 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),
|
D | perf_event_sample_period.c | 22 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1, 25 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1,
|
D | lwt.c | 118 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,
|
D | spill_fill.c | 85 BPF_ST_MEM(BPF_H, BPF_REG_10, -8, 0xcafe),
|
D | ctx_sk_msg.c | 175 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_2, 6),
|
D | sock.c | 152 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)),
|
D | ref_tracking.c | 390 BPF_LD_ABS(BPF_H, 0), 403 BPF_LD_ABS(BPF_H, 0),
|
D | spin_lock.c | 105 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_6, 3),
|
D | bounds_mix_sign_unsign.c | 164 BPF_ST_MEM(BPF_H, BPF_REG_10, -512, 0),
|
D | subreg.c | 511 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_6, 0),
|
D | direct_packet_access.c | 499 BPF_STX_MEM(BPF_H, BPF_REG_4, BPF_REG_2, 0),
|
D | calls.c | 673 BPF_LD_ABS(BPF_H, 0), 680 BPF_LD_ABS(BPF_H, 0),
|
/tools/include/uapi/linux/ |
D | bpf_common.h | 19 #define BPF_H 0x08 /* 16-bit */ macro
|
/tools/bpf/ |
D | bpf_exp.y | 136 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,
|
D | bpf_dbg.c | 78 #define BPF_LD_H (BPF_LD | BPF_H)
|
/tools/perf/util/ |
D | bpf-prologue.c | 76 return BPF_H; in argtype_to_ldx_size() 91 case BPF_H: in insn_sz_to_str()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | align.c | 228 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/ |
D | test_sysctl.c | 128 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/ |
D | gro.c | 123 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()
|
D | toeplitz.c | 292 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, off_dport), in __set_filter()
|
/tools/lib/bpf/ |
D | relo_core.c | 885 case BPF_H: return 2; in insn_bpf_size_to_bytes() 896 case 2: return BPF_H; in insn_bytes_to_bpf_size()
|
D | gen_loader.c | 153 case 2: return BPF_H; in insn_bytes_to_bpf_size()
|