Searched refs:BPF_MAXINSNS (Results 1 – 7 of 7) sorted by relevance
53 #ifndef BPF_MAXINSNS54 #define BPF_MAXINSNS 4096 macro
468 static struct sock_filter out[BPF_MAXINSNS];473 if (curr_instr >= BPF_MAXINSNS) { in bpf_assert_max()474 fprintf(stderr, "only max %u insns allowed!\n", BPF_MAXINSNS); in bpf_assert_max()615 labels = calloc(BPF_MAXINSNS, sizeof(*labels)); in bpf_init()617 labels_jt = calloc(BPF_MAXINSNS, sizeof(*labels_jt)); in bpf_init()619 labels_jf = calloc(BPF_MAXINSNS, sizeof(*labels_jf)); in bpf_init()621 labels_k = calloc(BPF_MAXINSNS, sizeof(*labels_k)); in bpf_init()
131 static struct sock_filter bpf_image[BPF_MAXINSNS + 1];135 static struct bpf_regs bpf_regs[BPF_MAXINSNS + 1];1014 sp != separator || bpf_len > BPF_MAXINSNS || bpf_len == 0) { in cmd_load_bpf()
25 static struct bpf_insn prog[BPF_MAXINSNS];170 for (i = start_insns; i <= BPF_MAXINSNS; i++) { in do_test()
45 #define MAX_INSNS BPF_MAXINSNS
811 struct bpf_insn insns[BPF_MAXINSNS + 1]; in probe_large_insn_limit()814 for (i = 0; i < BPF_MAXINSNS; i++) in probe_large_insn_limit()816 insns[BPF_MAXINSNS] = BPF_EXIT_INSN(); in probe_large_insn_limit()
436 int count = BPF_MAXINSNS + 1; in TEST()473 int count = BPF_MAXINSNS; in TEST()
Completed in 21 milliseconds