/openbmc/linux/samples/seccomp/ |
H A D | dropper.c | 31 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in install_filter() 34 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in install_filter()
|
H A D | bpf-direct.c | 115 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_nr), in install_filter() 131 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(0)), in install_filter() 136 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(0)), in install_filter()
|
H A D | bpf-helper.h | 140 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, LO_ARG(idx)) 144 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, LO_ARG(idx)), \ 146 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, HI_ARG(idx)), \ 260 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
|
H A D | user-trap.c | 89 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in user_trap_syscall()
|
/openbmc/linux/lib/ |
H A D | test_bpf.c | 3240 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 3244 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 3248 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 3261 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 3272 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 3283 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 3297 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 3313 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 3327 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 3341 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, [all …]
|
/openbmc/linux/Documentation/bpf/ |
H A D | linux-notes.rst | 54 The instructions come in two forms: ``BPF_ABS | <size> | BPF_LD`` and 58 the program context is a pointer to a networking packet. ``BPF_ABS`` 76 ``BPF_ABS | BPF_W | BPF_LD`` (0x20) means::
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_exp.y | 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, 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, 159 bpf_set_curr_instr(BPF_LD | BPF_W | BPF_ABS, 0, 0, 168 bpf_set_curr_instr(BPF_LD | BPF_W | BPF_ABS, 0, 0, $3); }
|
H A D | bpf_dbg.c | 251 case BPF_LD_W | BPF_ABS: in bpf_disasm() 255 case BPF_LD_H | BPF_ABS: in bpf_disasm() 259 case BPF_LD_B | BPF_ABS: in bpf_disasm() 664 case BPF_LD_W | BPF_ABS: in bpf_single_step() 671 case BPF_LD_H | BPF_ABS: in bpf_single_step() 678 case BPF_LD_B | BPF_ABS: in bpf_single_step()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf_common.h | 24 #define BPF_ABS 0x20 macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf_common.h | 24 #define BPF_ABS 0x20 macro
|
/openbmc/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 125 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), in main() 133 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, args[0])), in main()
|
H A D | seccomp_bpf.c | 667 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL() 695 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL() 735 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL() 808 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group() 820 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group() 1053 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP() 1172 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP() 1179 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP() 1186 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP() 1193 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | toeplitz.c | 290 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_PKTTYPE), in __set_filter() 292 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, off_proto), in __set_filter() 294 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, off_dport), in __set_filter()
|
H A D | psock_fanout.c | 115 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 80), /* ldb [80] */ in sock_fanout_set_cbpf() 154 { BPF_LD | BPF_B | BPF_ABS, 0, 0, 0, 0x50 }, in sock_fanout_set_ebpf()
|
H A D | csum.c | 498 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_PKTTYPE), in __recv_prepare_packet_filter() 500 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, off_nexthdr), in __recv_prepare_packet_filter() 502 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, off_dport), in __recv_prepare_packet_filter()
|
H A D | gro.c | 124 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, ethproto_off), in setup_sock_filter() 126 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, ipproto_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()
|
H A D | reuseport_bpf.c | 102 { BPF_LD | BPF_ABS | BPF_W, 0, 0, 0, 0 }, in attach_ebpf() 135 { BPF_LD | BPF_W | BPF_ABS, 0, 0, 0 }, in attach_cbpf()
|
H A D | reuseport_bpf_cpu.c | 81 { BPF_LD | BPF_W | BPF_ABS, 0, 0, SKF_AD_OFF + SKF_AD_CPU }, in attach_bpf()
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 240 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \ 1228 case BPF_LD | BPF_W | BPF_ABS: in bpf_needs_clear_a() 1229 case BPF_LD | BPF_H | BPF_ABS: in bpf_needs_clear_a() 1230 case BPF_LD | BPF_B | BPF_ABS: in bpf_needs_clear_a() 1245 case BPF_LD | BPF_W | BPF_ABS: in bpf_anc_helper() 1246 case BPF_LD | BPF_H | BPF_ABS: in bpf_anc_helper() 1247 case BPF_LD | BPF_B | BPF_ABS: in bpf_anc_helper()
|
/openbmc/linux/tools/perf/bench/ |
H A D | sched-seccomp-notify.c | 52 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in user_notif_syscall()
|
/openbmc/linux/samples/bpf/ |
H A D | bpf_insn.h | 111 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_32.c | 596 case BPF_LD | BPF_W | BPF_ABS: in bpf_jit_compile() 602 case BPF_LD | BPF_H | BPF_ABS: in bpf_jit_compile() 605 case BPF_LD | BPF_B | BPF_ABS: in bpf_jit_compile()
|
/openbmc/linux/Documentation/networking/ |
H A D | cdc_mbim.rst | 251 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF + SKF_AD_VLAN_TAG_PRESENT), 255 BPF_STMT(BPF_LD|BPF_H|BPF_ABS, SKF_AD_OFF + SKF_AD_VLAN_TAG), 260 BPF_STMT(BPF_LD|BPF_H|BPF_ABS, 2 * ETH_ALEN),
|
/openbmc/linux/tools/include/linux/ |
H A D | filter.h | 136 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.h | 416 (BPF_MODE(code) == BPF_ABS || BPF_MODE(code) == BPF_IND); in is_mbpf_classic_load()
|