/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 | calls.c | 931 BPF_LD_ABS(BPF_H, 0), 938 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/lib/bpf/ |
D | gen_loader.c | 204 case 2: return BPF_H; in insn_bytes_to_bpf_size() 698 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), 0)); in emit_relo_kfunc_btf() 718 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), btf_fd_idx)); in emit_relo_kfunc_btf() 724 emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, in emit_relo_kfunc_btf() 742 emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, sizeof(struct bpf_insn) + in emit_ksym_relo_log()
|
D | relo_core.c | 990 case BPF_H: return 2; in insn_bpf_size_to_bytes() 1001 case 2: return BPF_H; in insn_bytes_to_bpf_size()
|
/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),
|
D | ctx_rewrite.c | 817 bpf_sz = BPF_H; in run_one_testcase()
|
/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 | 124 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, ethproto_off), in setup_sock_filter() 128 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, dport_off), in setup_sock_filter() 130 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, dport_off + optlen), in setup_sock_filter()
|
D | toeplitz.c | 294 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, off_dport), in __set_filter()
|
D | csum.c | 502 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, off_dport), in __recv_prepare_packet_filter()
|