Home
last modified time | relevance | path

Searched refs:BPF_W (Results 1 – 25 of 83) sorted by relevance

1234

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c190 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_2, -8), \
969 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0,
1344 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
1347 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
1350 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
1353 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
1356 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
1359 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
1362 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
1365 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
[all …]
Dtest_align.c151 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, \
153 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, \
249 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
282 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
294 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
308 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
388 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_5, 0),
399 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_5, 0),
464 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_6, 0),
516 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_5, 0),
[all …]
Dtest_sock.c50 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
67 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
84 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
101 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
232 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
235 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
261 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
264 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
Dtest_sock_addr.c575 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, in bind4_prog_load()
580 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, in bind4_prog_load()
597 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, in bind4_prog_load()
604 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_7, in bind4_prog_load()
609 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_7, in bind4_prog_load()
640 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, in bind6_prog_load()
655 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, in bind6_prog_load()
663 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_7, \ in bind6_prog_load()
674 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_7, in bind6_prog_load()
746 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, in sendmsg4_rw_asm_prog_load()
[all …]
Dtest_cgroup_storage.c23 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_0, 0), in main()
25 BPF_STX_MEM(BPF_W, BPF_REG_0, BPF_REG_3, 0), in main()
33 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0), in main()
/external/strace/xlat/
Dbpf_size.h6 #if defined(BPF_W) || (defined(HAVE_DECL_BPF_W) && HAVE_DECL_BPF_W)
8 static_assert((BPF_W) == (0x00), "BPF_W != 0x00");
11 # define BPF_W 0x00
45 XLAT(BPF_W),
Dbpf_size.in1 BPF_W 0x00
/external/minijail/
Dsyscall_filter_unittest_macros.h21 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
27 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
33 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
89 EXPECT_EQ_STMT(&(_filter)[0], BPF_LD+BPF_W+BPF_ABS, arch_nr); \
Dbpf.c18 set_bpf_stmt(curr_block++, BPF_LD + BPF_W + BPF_ABS, arch_nr); in bpf_validate_arch()
47 set_bpf_stmt(filter, BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in bpf_load_arg()
54 set_bpf_stmt(curr_block++, BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in bpf_load_arg()
56 set_bpf_stmt(curr_block++, BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in bpf_load_arg()
Dsyscall_filter_unittest.cc198 unsigned char code = BPF_LD + BPF_W + BPF_ABS; in TEST()
216 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
218 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
220 EXPECT_EQ_STMT(&load_arg[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
296 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
300 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
302 EXPECT_EQ_STMT(&arg_comp[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
1322 BPF_LD + BPF_W + BPF_ABS, in TEST()
1359 BPF_LD+BPF_W+BPF_ABS, syscall_nr); in TEST()
1400 BPF_LD + BPF_W + BPF_ABS, in TEST()
[all …]
/external/openssh/
Dsandbox-seccomp-filter.c96 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
101 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
107 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
113 BPF_STMT(BPF_LD+BPF_W+BPF_ABS,
118 BPF_STMT(BPF_LD+BPF_W+BPF_ABS,
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c255 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL()
279 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL()
284 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(0)), in TEST_SIGNAL()
309 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL()
314 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(5)), in TEST_SIGNAL()
341 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(6)), in TEST()
358 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST()
382 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST()
410 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP()
518 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP()
[all …]
Dresumption.c92 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP()
104 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP()
108 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c510 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
538 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
543 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(0)), in TEST_SIGNAL()
578 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
583 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(5)), in TEST_SIGNAL()
644 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group()
655 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group()
741 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(6)), in TEST()
760 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, \
867 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP()
[all …]
/external/libpcap/
Dbpf_filter.c146 case BPF_LD|BPF_W|BPF_ABS: in bpf_filter_with_aux_data()
188 case BPF_LD|BPF_W|BPF_LEN: in bpf_filter_with_aux_data()
192 case BPF_LDX|BPF_W|BPF_LEN: in bpf_filter_with_aux_data()
196 case BPF_LD|BPF_W|BPF_IND: in bpf_filter_with_aux_data()
Dbpf_image.c64 case BPF_LD|BPF_W|BPF_ABS: in bpf_image()
82 case BPF_LD|BPF_W|BPF_LEN: in bpf_image()
87 case BPF_LD|BPF_W|BPF_IND: in bpf_image()
/external/elfutils/libcpu/
Dbpf_disasm.c402 case BPF_LDX | BPF_MEM | BPF_W: in bpf_disasm()
415 case BPF_STX | BPF_MEM | BPF_W: in bpf_disasm()
422 case BPF_STX | BPF_XADD | BPF_W: in bpf_disasm()
435 case BPF_ST | BPF_MEM | BPF_W: in bpf_disasm()
448 case BPF_LD | BPF_ABS | BPF_W: in bpf_disasm()
458 case BPF_LD | BPF_IND | BPF_W: in bpf_disasm()
/external/seccomp-tests/linux/
Dseccomp_bpf.c409 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
437 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
442 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(0)), in TEST_SIGNAL()
477 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
482 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(5)), in TEST_SIGNAL()
527 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(6)), in TEST()
547 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST()
574 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST()
601 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST()
632 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP()
[all …]
/external/android-clat/
Dclatd.c91 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 24), in configure_packet_socket()
93 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 28), in configure_packet_socket()
95 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 32), in configure_packet_socket()
97 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 36), in configure_packet_socket()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c257 BPF_STMT(BPF_LD | BPF_W | BPF_LEN, 0),
263 BPF_STMT(BPF_LD | BPF_W | BPF_IND, 0),
265 BPF_STMT(BPF_LD | BPF_W | BPF_IND, 4),
/external/minijail/tools/
Dbpf.py41 BPF_W = 0x00 variable
100 if ins.code == BPF_LD | BPF_W | BPF_ABS:
608 return [SockFilter(BPF_LD | BPF_W | BPF_ABS, 0, 0, offset)]
645 SockFilter(BPF_LD | BPF_W | BPF_ABS, 0, 0, 4),
650 SockFilter(BPF_LD | BPF_W | BPF_ABS, 0, 0, 0),
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h18 #define BPF_W 0x00 /* 32-bit */ macro
/external/bcc/src/cc/compat/linux/
Dbpf_common.h17 #define BPF_W 0x00 macro
/external/iproute2/include/uapi/linux/
Dbpf_common.h18 #define BPF_W 0x00 macro
/external/compiler-rt/test/asan/TestCases/Linux/
Dread_binary_name_regtest.c34 BPF_STMT(BPF_LD + BPF_W + BPF_ABS, syscall_nr), in main()

1234