Home
last modified time | relevance | path

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

/kernel/
Dkprobes.c101 kprobe_opcode_t *insns; /* Page of instruction slots */ member
161 slot = kip->insns + (i * c->insn_size); in __get_insn_slot()
185 kip->insns = c->alloc(); in __get_insn_slot()
186 if (!kip->insns) { in __get_insn_slot()
197 slot = kip->insns; in __get_insn_slot()
217 kip->cache->free(kip->insns); in collect_one_slot()
254 long idx = ((long)slot - (long)kip->insns) / in __free_insn_slot()
/kernel/bpf/
Dverifier.c1570 struct bpf_insn *insns = env->prog->insnsi; in check_cfg() local
1594 if (BPF_CLASS(insns[t].code) == BPF_JMP) { in check_cfg()
1595 u8 opcode = BPF_OP(insns[t].code); in check_cfg()
1606 if (BPF_SRC(insns[t].code) != BPF_K) { in check_cfg()
1611 ret = push_insn(t, t + insns[t].off + 1, in check_cfg()
1630 ret = push_insn(t, t + insns[t].off + 1, BRANCH, env); in check_cfg()
1786 struct bpf_insn *insns = env->prog->insnsi; in do_check() local
1806 insn = &insns[insn_idx]; in do_check()
Dsyscall.c611 if (copy_from_user(prog->insns, u64_to_ptr(attr->insns), in bpf_prog_load()