Home
last modified time | relevance | path

Searched refs:BPF_LD (Results 1 – 10 of 10) sorted by relevance

/tools/net/
Dbpf_exp.y124 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 …]
Dbpf_dbg.c77 #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/
Dbpf_common.h7 #define BPF_LD 0x00 macro
/tools/include/linux/
Dfilter.h136 .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/
Dseccomp_bpf.c497 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/
Dpsock_fanout.c100 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()
Dreuseport_bpf_cpu.c81 { BPF_LD | BPF_W | BPF_ABS, 0, 0, SKF_AD_OFF + SKF_AD_CPU }, in attach_bpf()
Dreuseport_bpf.c104 { 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/
Dtest_verifier.c168 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/
Dlibbpf.c863 if (insns[insn_idx].code != (BPF_LD | BPF_IMM | BPF_DW)) { in bpf_program__collect_reloc()