/external/strace/tests-m32/ |
D | sock_filter-v.c | 65 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_LL_OFF+4), 66 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_NET_OFF+8), 67 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PROTOCOL), 69 BPF_STMT(BPF_LD|BPF_W|BPF_LEN, 0), 71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42), 82 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter() 86 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter() 90 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter() 97 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_W), XLAT_ARGS(BPF_LEN), in print_filter() 104 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
|
D | seccomp-filter-v.c | 77 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 146 case BPF_LD: in main()
|
/external/strace/tests-mx32/ |
D | sock_filter-v.c | 65 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_LL_OFF+4), 66 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_NET_OFF+8), 67 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PROTOCOL), 69 BPF_STMT(BPF_LD|BPF_W|BPF_LEN, 0), 71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42), 82 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter() 86 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter() 90 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter() 97 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_W), XLAT_ARGS(BPF_LEN), in print_filter() 104 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
|
D | seccomp-filter-v.c | 77 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 146 case BPF_LD: in main()
|
/external/strace/tests/ |
D | sock_filter-v.c | 65 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_LL_OFF+4), 66 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_NET_OFF+8), 67 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PROTOCOL), 69 BPF_STMT(BPF_LD|BPF_W|BPF_LEN, 0), 71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42), 82 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter() 86 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter() 90 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter() 97 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_W), XLAT_ARGS(BPF_LEN), in print_filter() 104 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
|
D | seccomp-filter-v.c | 77 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 146 case BPF_LD: in main()
|
/external/strace/xlat/ |
D | ebpf_class.h | 6 #if defined(BPF_LD) || (defined(HAVE_DECL_BPF_LD) && HAVE_DECL_BPF_LD) 8 static_assert((BPF_LD) == (0x0), "BPF_LD != 0x0"); 11 # define BPF_LD 0x0 66 [BPF_LD] = XLAT(BPF_LD),
|
D | bpf_class.h | 6 #if defined(BPF_LD) || (defined(HAVE_DECL_BPF_LD) && HAVE_DECL_BPF_LD) 8 static_assert((BPF_LD) == (0x0), "BPF_LD != 0x0"); 11 # define BPF_LD 0x0 73 [BPF_LD] = XLAT(BPF_LD),
|
D | ebpf_class.in | 2 BPF_LD 0x0
|
/external/libpcap/ |
D | bpf_image.c | 64 case BPF_LD|BPF_W|BPF_ABS: in bpf_image() 70 case BPF_LD|BPF_H|BPF_ABS: in bpf_image() 76 case BPF_LD|BPF_B|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() 93 case BPF_LD|BPF_H|BPF_IND: in bpf_image() 99 case BPF_LD|BPF_B|BPF_IND: in bpf_image() 105 case BPF_LD|BPF_IMM: in bpf_image() 123 case BPF_LD|BPF_MEM: in bpf_image()
|
D | bpf_filter.c | 146 case BPF_LD|BPF_W|BPF_ABS: in bpf_filter_with_aux_data() 154 case BPF_LD|BPF_H|BPF_ABS: in bpf_filter_with_aux_data() 162 case BPF_LD|BPF_B|BPF_ABS: in bpf_filter_with_aux_data() 188 case BPF_LD|BPF_W|BPF_LEN: in bpf_filter_with_aux_data() 196 case BPF_LD|BPF_W|BPF_IND: in bpf_filter_with_aux_data() 205 case BPF_LD|BPF_H|BPF_IND: in bpf_filter_with_aux_data() 214 case BPF_LD|BPF_B|BPF_IND: in bpf_filter_with_aux_data() 230 case BPF_LD|BPF_IMM: in bpf_filter_with_aux_data() 238 case BPF_LD|BPF_MEM: in bpf_filter_with_aux_data() 432 case BPF_LD: in bpf_validate()
|
D | optimize.c | 221 #define K(i) F(opt_state, BPF_LD|BPF_IMM|BPF_W, i, 0L) 495 case BPF_LD: in atomuse() 534 case BPF_LD: in atomdef() 673 (BPF_CLASS(code) == BPF_LD || BPF_CLASS(code) == BPF_LDX)) { in F() 759 s->code = BPF_LD|BPF_IMM; in fold_op() 823 if (s->s.code == (BPF_LD|BPF_IMM) && in opt_peep() 833 if (s->s.code == (BPF_LD|BPF_IMM)) { in opt_peep() 871 if (ild == 0 || BPF_CLASS(ild->s.code) != BPF_LD || in opt_peep() 1052 case BPF_LD|BPF_ABS|BPF_W: in opt_stmt() 1053 case BPF_LD|BPF_ABS|BPF_H: in opt_stmt() [all …]
|
D | gencode.c | 1649 s2 = new_stmt(cstate, BPF_LD|BPF_IND|size); in gen_load_absoffsetrel() 1657 s = new_stmt(cstate, BPF_LD|BPF_ABS|size); in gen_load_absoffsetrel() 1675 s = new_stmt(cstate, BPF_LD|BPF_ABS|size); in gen_load_a() 1727 s2 = new_stmt(cstate, BPF_LD|BPF_IND|size); in gen_load_a() 1765 s2 = new_stmt(cstate, BPF_LD|BPF_IND|BPF_B); in gen_loadx_iphdrlen() 1809 s = new_stmt(cstate, BPF_LD|BPF_IMM); in gen_uncond() 2267 s1 = new_stmt(cstate, BPF_LD|BPF_W|BPF_ABS); in gen_load_prism_llprefixlen() 2291 s2 = new_stmt(cstate, BPF_LD|BPF_W|BPF_ABS); in gen_load_prism_llprefixlen() 2314 s2 = new_stmt(cstate, BPF_LD|BPF_W|BPF_IMM); in gen_load_prism_llprefixlen() 2358 s1 = new_stmt(cstate, BPF_LD|BPF_W|BPF_ABS); in gen_load_avs_llprefixlen() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_monitor.c | 180 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 2), 184 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 3), 197 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), 212 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 0), 224 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), 231 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 1), 241 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), 257 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/ |
D | bpf.c | 18 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() 86 set_bpf_stmt(curr_block++, BPF_LD + BPF_MEM, 0); /* swap in |lo| */ in bpf_comp_jeq64() 133 set_bpf_stmt(curr_block++, BPF_LD + BPF_MEM, 0); /* swap in |lo| */ in bpf_comp_jgt64() 157 set_bpf_stmt(curr_block++, BPF_LD + BPF_MEM, 0); /* swap in |lo| */ in bpf_comp_jge64() 188 set_bpf_stmt(curr_block++, BPF_LD + BPF_MEM, 0); /* swap in |lo| */ in bpf_comp_jset64()
|
D | syscall_filter_unittest_macros.h | 21 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); \
|
D | syscall_filter_unittest.cc | 198 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() 239 EXPECT_EQ_STMT(&comp_jeq[1], BPF_LD + BPF_MEM, 0); in TEST() 259 EXPECT_EQ_STMT(&comp_jset[1], BPF_LD + BPF_MEM, 0); in TEST() 279 EXPECT_EQ_STMT(&comp_jin[1], BPF_LD + BPF_MEM, 0); 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() [all …]
|
/external/openssh/ |
D | sandbox-seccomp-filter.c | 96 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/libnetfilter_conntrack/src/conntrack/ |
D | bsf.c | 31 case BPF_LD|BPF_IMM: 37 case BPF_LD|BPF_B|BPF_ABS: 61 case BPF_LD|BPF_B|BPF_IND: 64 case BPF_LD|BPF_H|BPF_IND: 67 case BPF_LD|BPF_W|BPF_IND: 111 .code = BPF_LD|BPF_IMM, in nfct_bsf_load_payload_offset() 129 .code = BPF_LD|BPF_B|BPF_ABS, in nfct_bsf_find_attr() 149 .code = BPF_LD|BPF_B|BPF_ABS, in nfct_bsf_find_attr_nest() 248 .code = BPF_LD|word_size|BPF_IND, in nfct_bsf_load_attr() 262 .code = BPF_LD|word_size|BPF_IND, in nfct_bsf_load_attr_offset() [all …]
|
/external/elfutils/libcpu/ |
D | bpf_disasm.c | 44 [BPF_LD] = "ld", 120 case BPF_LD | BPF_IMM | BPF_DW: in bpf_disasm() 442 case BPF_LD | BPF_ABS | BPF_B: in bpf_disasm() 445 case BPF_LD | BPF_ABS | BPF_H: in bpf_disasm() 448 case BPF_LD | BPF_ABS | BPF_W: in bpf_disasm() 452 case BPF_LD | BPF_IND | BPF_B: in bpf_disasm() 455 case BPF_LD | BPF_IND | BPF_H: in bpf_disasm() 458 case BPF_LD | BPF_IND | BPF_W: in bpf_disasm()
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 255 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 …]
|
D | resumption.c | 92 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/ |
D | seccomp_bpf.c | 510 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/seccomp-tests/linux/ |
D | seccomp_bpf.c | 409 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/ |
D | clatd.c | 91 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()
|