Searched refs:insns (Results 1 – 3 of 3) sorted by relevance
101 kprobe_opcode_t *insns; /* Page of instruction slots */ member161 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()
1570 struct bpf_insn *insns = env->prog->insnsi; in check_cfg() local1594 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() local1806 insn = &insns[insn_idx]; in do_check()
611 if (copy_from_user(prog->insns, u64_to_ptr(attr->insns), in bpf_prog_load()