Home
last modified time | relevance | path

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

/kernel/
Dkprobes.c146 struct kprobe_insn_page *kip; in __get_insn_slot() local
153 list_for_each_entry_rcu(kip, &c->pages, list) { in __get_insn_slot()
154 if (kip->nused < slots_per_page(c)) { in __get_insn_slot()
158 if (kip->slot_used[i] == SLOT_CLEAN) { in __get_insn_slot()
159 kip->slot_used[i] = SLOT_USED; in __get_insn_slot()
160 kip->nused++; in __get_insn_slot()
161 slot = kip->insns + (i * c->insn_size); in __get_insn_slot()
167 kip->nused = slots_per_page(c); in __get_insn_slot()
178 kip = kmalloc(KPROBE_INSN_PAGE_SIZE(slots_per_page(c)), GFP_KERNEL); in __get_insn_slot()
179 if (!kip) in __get_insn_slot()
[all …]