Home
last modified time | relevance | path

Searched refs:BPF_ABS (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/samples/seccomp/
H A Ddropper.c31 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 Dbpf-direct.c115 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 Dbpf-helper.h140 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 Duser-trap.c89 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in user_trap_syscall()
/openbmc/linux/lib/
H A Dtest_bpf.c3240 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 Dlinux-notes.rst54 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 Dbpf_exp.y128 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 Dbpf_dbg.c251 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 Dbpf_common.h24 #define BPF_ABS 0x20 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf_common.h24 #define BPF_ABS 0x20 macro
/openbmc/linux/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c125 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 Dseccomp_bpf.c667 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 Dtoeplitz.c290 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 Dpsock_fanout.c115 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 Dcsum.c498 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 Dgro.c124 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 Dreuseport_bpf.c102 { 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 Dreuseport_bpf_cpu.c81 { BPF_LD | BPF_W | BPF_ABS, 0, 0, SKF_AD_OFF + SKF_AD_CPU }, in attach_bpf()
/openbmc/linux/include/linux/
H A Dfilter.h240 .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 Dsched-seccomp-notify.c52 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in user_notif_syscall()
/openbmc/linux/samples/bpf/
H A Dbpf_insn.h111 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c596 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 Dcdc_mbim.rst251 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 Dfilter.h136 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h416 (BPF_MODE(code) == BPF_ABS || BPF_MODE(code) == BPF_IND); in is_mbpf_classic_load()

12