Searched refs:insns (Results 1 - 3 of 3) sorted by relevance

/kernel/bpf/
H A Dsyscall.c494 if (copy_from_user(prog->insns, u64_to_ptr(attr->insns),
H A Dverifier.c27 * - larger than BPF_MAXINSNS insns
29 * - unreachable insns exist (shouldn't be a forest. program = one function)
1225 static int *insn_stack; /* stack of insns to process */
1277 struct bpf_insn *insns = env->prog->insnsi; local
1301 if (BPF_CLASS(insns[t].code) == BPF_JMP) {
1302 u8 opcode = BPF_OP(insns[t].code);
1313 if (BPF_SRC(insns[t].code) != BPF_K) {
1318 ret = push_insn(t, t + insns[t].off + 1,
1336 ret = push_insn(t, t + insns[t].off + 1, BRANCH, env);
1471 struct bpf_insn *insns local
[all...]
/kernel/
H A Dkprobes.c101 kprobe_opcode_t *insns; /* Page of instruction slots */ member in struct:kprobe_insn_page
161 slot = kip->insns + (i * c->insn_size);
185 kip->insns = c->alloc();
186 if (!kip->insns) {
197 slot = kip->insns;
217 kip->cache->free(kip->insns);
254 long idx = ((long)slot - (long)kip->insns) /

Completed in 82 milliseconds