Lines Matching refs:bpf_insn

90 	struct bpf_insn	insns[MAX_INSNS];
91 struct bpf_insn *fill_insns;
103 struct bpf_insn expected_insns[MAX_EXPECTED_INSNS];
108 struct bpf_insn unexpected_insns[MAX_UNEXPECTED_INSNS];
196 struct bpf_insn *insn = self->fill_insns;
239 struct bpf_insn *insn = self->fill_insns;
261 struct bpf_insn *insn = self->fill_insns;
268 struct bpf_insn tmp[2] = { BPF_LD_IMM64(BPF_REG_1, val) };
289 struct bpf_insn *insn = self->fill_insns;
315 struct bpf_insn *insn = self->fill_insns;
354 static int bpf_fill_torturous_jumps_insn_1(struct bpf_insn *insn)
370 static int bpf_fill_torturous_jumps_insn_2(struct bpf_insn *insn)
394 struct bpf_insn *insn = self->fill_insns;
428 struct bpf_insn *insn = self->fill_insns;
525 static int probe_filter_length(const struct bpf_insn *fp)
581 struct bpf_insn prog[] = {
592 struct bpf_insn prog[] = {
972 static void fixup_prog_kfuncs(struct bpf_insn *prog, int *fd_array,
1012 struct bpf_insn *prog, int *map_fds, int *fd_array)
1039 test->fill_insns = calloc(MAX_TEST_INSNS, sizeof(struct bpf_insn));
1346 static bool is_null_insn(struct bpf_insn *insn)
1348 struct bpf_insn null_insn = {};
1353 static bool is_skip_insn(struct bpf_insn *insn)
1355 struct bpf_insn skip_insn = SKIP_INSNS();
1360 static int null_terminated_insn_len(struct bpf_insn *seq, int max_len)
1371 static bool compare_masked_insn(struct bpf_insn *orig, struct bpf_insn *masked)
1373 struct bpf_insn orig_masked;
1384 static int find_insn_subseq(struct bpf_insn *seq, struct bpf_insn *subseq,
1408 static int find_skip_insn_marker(struct bpf_insn *seq, int len)
1423 static bool find_all_insn_subseqs(struct bpf_insn *seq, struct bpf_insn *subseqs,
1445 static void print_insn(struct bpf_insn *buf, int cnt)
1451 struct bpf_insn *insn = &buf[i];
1467 struct bpf_insn *buf;
1518 struct bpf_insn *prog = test->insns;