Searched refs:BPF_LD (Results 1 – 10 of 10) sorted by relevance
/tools/net/ |
D | bpf_exp.y | 124 bpf_set_curr_instr(BPF_LD | BPF_B | BPF_IND, 0, 0, $5); } 126 bpf_set_curr_instr(BPF_LD | BPF_B | BPF_IND, 0, 0, $6); } 128 bpf_set_curr_instr(BPF_LD | BPF_B | BPF_ABS, 0, 0, $3); } 130 bpf_set_curr_instr(BPF_LD | BPF_B | BPF_ABS, 0, 0, 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, 148 bpf_set_curr_instr(BPF_LD | BPF_IMM, 0, 0, $3); } 150 bpf_set_curr_instr(BPF_LD | BPF_IMM, 0, 0, $2); } [all …]
|
D | bpf_dbg.c | 77 #define BPF_LD_B (BPF_LD | BPF_B) 78 #define BPF_LD_H (BPF_LD | BPF_H) 79 #define BPF_LD_W (BPF_LD | BPF_W) 279 case BPF_LD | BPF_IMM: in bpf_disasm() 291 case BPF_LD | BPF_MEM: in bpf_disasm() 518 if (BPF_CLASS(f[i].code) == BPF_LD && in bpf_runnable() 718 case BPF_LD | BPF_IMM: in bpf_single_step() 724 case BPF_LD | BPF_MEM: in bpf_single_step()
|
/tools/include/uapi/linux/ |
D | bpf_common.h | 7 #define BPF_LD 0x00 macro
|
/tools/include/linux/ |
D | filter.h | 136 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \ 146 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \ 249 .code = BPF_LD | BPF_DW | BPF_IMM, \
|
/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 497 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL() 525 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL() 530 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(0)), in TEST_SIGNAL() 565 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL() 570 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(5)), in TEST_SIGNAL() 631 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group() 642 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group() 726 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(6)), in TEST() 745 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, \ 852 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP() [all …]
|
/tools/testing/selftests/net/ |
D | psock_fanout.c | 100 BPF_STMT(BPF_LD+BPF_B+BPF_ABS, 80), /* ldb [80] */ in sock_fanout_set_cbpf() 139 { BPF_LD | BPF_B | BPF_ABS, 0, 0, 0, 0x50 }, in sock_fanout_set_ebpf()
|
D | reuseport_bpf_cpu.c | 81 { BPF_LD | BPF_W | BPF_ABS, 0, 0, SKF_AD_OFF + SKF_AD_CPU }, in attach_bpf()
|
D | reuseport_bpf.c | 104 { BPF_LD | BPF_ABS | BPF_W, 0, 0, 0, 0 }, in attach_ebpf() 137 { BPF_LD | BPF_W | BPF_ABS, 0, 0, 0 }, in attach_cbpf()
|
/tools/testing/selftests/bpf/ |
D | test_verifier.c | 168 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 181 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 190 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 198 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 207 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 216 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 1, 1), 226 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 236 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 246 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 257 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, BPF_REG_1, 0, 1), [all …]
|
/tools/lib/bpf/ |
D | libbpf.c | 863 if (insns[insn_idx].code != (BPF_LD | BPF_IMM | BPF_DW)) { in bpf_program__collect_reloc()
|