Searched refs:slots_per_page (Results 1 – 1 of 1) sorted by relevance
109 static int slots_per_page(struct kprobe_insn_cache *c) in slots_per_page() function154 if (kip->nused < slots_per_page(c)) { in __get_insn_slot()156 for (i = 0; i < slots_per_page(c); i++) { in __get_insn_slot()166 kip->nused = slots_per_page(c); in __get_insn_slot()177 kip = kmalloc(KPROBE_INSN_PAGE_SIZE(slots_per_page(c)), GFP_KERNEL); in __get_insn_slot()192 memset(kip->slot_used, SLOT_CLEAN, slots_per_page(c)); in __get_insn_slot()239 for (i = 0; i < slots_per_page(c); i++) { in collect_garbage_slots()259 if (idx >= 0 && idx < slots_per_page(c)) in __free_insn_slot()274 if (++c->nr_garbage > slots_per_page(c)) in __free_insn_slot()