HomeSort by: relevance | last modified time | path
    Searched defs:insns (Results 1 - 11 of 11) sorted by relevancy

  /src/tests/lib/libbpfjit/
t_extmem.c 73 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
93 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
95 code = bpfjit_generate_code(&ctx, insns, insn_count);
112 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
132 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
134 code = bpfjit_generate_code(&ctx, insns, insn_count);
151 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
156 size_t insn_count = sizeof(insns) / sizeof(insns[0])
169 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
220 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
272 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
291 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
336 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
381 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
427 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
    [all...]
t_cop.c 113 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
120 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
122 ATF_CHECK(!bpf_validate(insns, insn_count));
124 code = bpfjit_generate_code(NULL, insns, insn_count);
137 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
151 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
153 code = bpfjit_generate_code(&ctx, insns, insn_count);
170 static struct bpf_insn insns[] = local in function:ATF_TC_BODY
203 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
236 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
269 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
308 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
347 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
367 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
391 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
425 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
459 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
493 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
527 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
567 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
607 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
    [all...]
t_bpfjit.c 83 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
90 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
92 ATF_CHECK(bpf_validate(insns, insn_count));
94 code = bpfjit_generate_code(NULL, insns, insn_count);
111 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
118 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
124 const uint16_t rcode = insns[0].code;
128 ATF_CHECK(!bpf_validate(insns, insn_count))
148 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
178 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
208 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
238 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
267 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
297 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
327 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
357 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
387 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
417 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
447 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
477 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
506 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
536 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
566 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
596 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
626 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
656 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
686 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
716 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
746 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
776 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
806 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
836 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
866 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
896 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
926 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
990 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1021 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1052 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1083 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1113 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1144 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1175 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1206 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1237 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1268 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1299 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1330 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1360 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1391 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1422 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1453 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1484 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1515 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1546 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1577 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1608 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1639 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1670 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1701 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1732 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1763 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1794 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1867 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1897 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1930 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1953 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1978 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2029 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2080 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2131 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2182 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2237 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2295 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2353 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2410 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2467 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2497 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2528 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2559 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2624 static struct bpf_insn insns[3][2] = { local in function:ATF_TC_BODY
2681 static struct bpf_insn insns[12][3] = { local in function:ATF_TC_BODY
2772 static struct bpf_insn insns[6][3] = { local in function:ATF_TC_BODY
2851 static struct bpf_insn insns[12][3] = { local in function:ATF_TC_BODY
2942 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2978 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3015 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3046 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3075 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3105 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3137 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3171 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3204 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3234 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3265 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3295 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3329 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3360 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3400 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3440 struct bpf_insn insns[5*BPF_MEMWORDS+2]; local in function:ATF_TC_BODY
3495 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3529 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3561 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3605 struct bpf_insn insns[5*BPF_MEMWORDS+2]; local in function:ATF_TC_BODY
3661 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3718 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3775 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3832 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3890 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3948 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4007 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4065 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4108 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4146 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4233 struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4330 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4464 struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4598 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4619 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
    [all...]
  /src/tests/net/bpfjit/
t_extmem.c 81 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
101 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
106 code = rumpns_bpfjit_generate_code(&ctx, insns, insn_count);
126 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
132 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
137 code = rumpns_bpfjit_generate_code(&ctx, insns, insn_count);
150 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
177 size_t insn_count = sizeof(insns) / sizeof(insns[0])
207 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
265 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
290 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
341 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
392 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
444 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
    [all...]
t_bpfjit.c 104 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
110 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
114 ATF_CHECK(prog_validate(insns, insn_count));
115 ATF_CHECK(exec_prog(insns, insn_count, pkt, 1) == 17);
127 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
131 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
139 const uint16_t rcode = insns[0].code;
145 ATF_CHECK(!prog_validate(insns, insn_count))
160 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
185 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
210 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
235 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
259 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
284 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
309 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
334 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
359 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
384 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
409 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
434 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
458 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
483 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
508 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
533 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
558 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
583 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
608 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
633 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
658 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
683 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
708 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
733 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
758 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
783 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
808 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
877 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
903 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
929 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
955 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
980 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1006 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1032 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1058 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1084 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1110 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1136 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1162 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1187 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1213 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1239 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1265 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1291 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1317 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1343 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1369 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1395 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1421 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1447 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1473 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1499 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1525 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1551 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1629 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1654 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1682 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1712 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1742 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1799 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1856 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1913 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
1970 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2020 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2084 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2148 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2211 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2274 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2310 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2347 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2384 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2444 static struct bpf_insn insns[3][2] = { local in function:ATF_TC_BODY
2507 static struct bpf_insn insns[12][3] = { local in function:ATF_TC_BODY
2592 static struct bpf_insn insns[6][3] = { local in function:ATF_TC_BODY
2677 static struct bpf_insn insns[12][3] = { local in function:ATF_TC_BODY
2763 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2805 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2848 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2885 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2909 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2934 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
2961 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3001 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3040 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3065 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3091 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3116 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3156 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3183 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3229 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3275 struct bpf_insn insns[5*BPF_MEMWORDS+2]; local in function:ATF_TC_BODY
3336 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3376 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3404 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3456 struct bpf_insn insns[5*BPF_MEMWORDS+2]; local in function:ATF_TC_BODY
3518 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3581 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3644 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3707 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3771 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3835 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3900 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
3964 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4013 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4046 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4139 struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4242 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4382 struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4522 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
4549 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
    [all...]
t_cop.c 121 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
128 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
132 ATF_CHECK(!prog_validate(insns, insn_count));
135 code = rumpns_bpfjit_generate_code(NULL, insns, insn_count);
149 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
163 size_t insn_count = sizeof(insns) / sizeof(insns[0]);
168 code = rumpns_bpfjit_generate_code(&ctx, insns, insn_count);
188 static struct bpf_insn insns[] = local in function:ATF_TC_BODY
227 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
266 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
305 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
350 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
395 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
421 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
449 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
489 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
529 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
569 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
609 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
655 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
701 static struct bpf_insn insns[] = { local in function:ATF_TC_BODY
    [all...]
t_mbuf.c 57 static struct bpf_insn insns[] = { local in function:test_ldb_abs
83 const size_t insn_count = sizeof(insns) / sizeof(insns[0]);
85 if (!prog_validate(insns, insn_count))
88 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res;
94 static struct bpf_insn insns[] = { local in function:test_ldh_abs
114 const size_t insn_count = sizeof(insns) / sizeof(insns[0]);
116 if (!prog_validate(insns, insn_count))
119 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res
125 static struct bpf_insn insns[] = { local in function:test_ldw_abs
149 static struct bpf_insn insns[] = { local in function:test_ldb_ind
190 static struct bpf_insn insns[] = { local in function:test_ldw_ind
220 static struct bpf_insn insns[] = { local in function:test_ldh_ind
256 static struct bpf_insn insns[] = { local in function:test_msh
295 static struct bpf_insn insns[] = { local in function:test_ldb_abs_overflow
313 static struct bpf_insn insns[] = { local in function:test_ldh_abs_overflow
331 static struct bpf_insn insns[] = { local in function:test_ldw_abs_overflow
349 static struct bpf_insn insns[] = { local in function:test_ldb_ind_overflow1
367 static struct bpf_insn insns[] = { local in function:test_ldb_ind_overflow2
386 static struct bpf_insn insns[] = { local in function:test_ldb_ind_overflow3
405 static struct bpf_insn insns[] = { local in function:test_ldh_ind_overflow1
423 static struct bpf_insn insns[] = { local in function:test_ldh_ind_overflow2
442 static struct bpf_insn insns[] = { local in function:test_ldh_ind_overflow3
461 static struct bpf_insn insns[] = { local in function:test_ldw_ind_overflow1
479 static struct bpf_insn insns[] = { local in function:test_ldw_ind_overflow2
498 static struct bpf_insn insns[] = { local in function:test_ldw_ind_overflow3
517 static struct bpf_insn insns[] = { local in function:test_msh_overflow
    [all...]
  /src/usr.sbin/mopd/common/
pf.c 80 static struct bpf_insn insns[] = { local in function:pfInit
91 sizeof insns / sizeof(insns[0]),
92 insns
134 insns[1].k = protocol;
135 insns[3].k = protocol;
  /src/tests/net/bpf/
t_mbuf.c 56 static struct bpf_insn insns[] = { local in function:test_ldb_abs
83 if (!prog_validate(insns, sizeof(insns) / sizeof(insns[0])))
86 return interp_prog_mchain2(insns, P, sizeof(P), split) == res;
92 static struct bpf_insn insns[] = { local in function:test_ldh_abs
113 if (!prog_validate(insns, sizeof(insns) / sizeof(insns[0])))
116 return interp_prog_mchain2(insns, P, sizeof(P), split) == res
122 static struct bpf_insn insns[] = { local in function:test_ldw_abs
145 static struct bpf_insn insns[] = { local in function:test_ldb_ind
185 static struct bpf_insn insns[] = { local in function:test_ldw_ind
214 static struct bpf_insn insns[] = { local in function:test_ldh_ind
249 static struct bpf_insn insns[] = { local in function:test_msh
287 static struct bpf_insn insns[] = { local in function:test_ldb_abs_overflow
304 static struct bpf_insn insns[] = { local in function:test_ldh_abs_overflow
321 static struct bpf_insn insns[] = { local in function:test_ldw_abs_overflow
338 static struct bpf_insn insns[] = { local in function:test_ldb_ind_overflow1
355 static struct bpf_insn insns[] = { local in function:test_ldb_ind_overflow2
373 static struct bpf_insn insns[] = { local in function:test_ldb_ind_overflow3
391 static struct bpf_insn insns[] = { local in function:test_ldh_ind_overflow1
408 static struct bpf_insn insns[] = { local in function:test_ldh_ind_overflow2
426 static struct bpf_insn insns[] = { local in function:test_ldh_ind_overflow3
444 static struct bpf_insn insns[] = { local in function:test_ldw_ind_overflow1
461 static struct bpf_insn insns[] = { local in function:test_ldw_ind_overflow2
479 static struct bpf_insn insns[] = { local in function:test_ldw_ind_overflow3
497 static struct bpf_insn insns[] = { local in function:test_msh_overflow
    [all...]
  /src/dist/pf/usr.sbin/ftp-proxy/
npf.c 106 static struct bpf_insn insns[13] = { variable in typeref:struct:bpf_insn[13]
138 insns[INSN_IPSRC].k = shost;
140 insns[INSN_IPDST].k = dhost;
142 insns[INSN_DPORT].k = dport;
255 errno = npf_rule_setcode(rl, NPF_CODE_BPF, insns, sizeof(insns));
300 errno = npf_rule_setcode(nt, NPF_CODE_BPF, insns, sizeof(insns));
348 errno = npf_rule_setcode(nt, NPF_CODE_BPF, insns, sizeof(insns));
    [all...]
  /src/usr.sbin/rarpd/
rarpd.c 302 static struct bpf_insn insns[] = { local in function:rarp_open
314 sizeof insns / sizeof(insns[0]),
315 insns

Completed in 433 milliseconds