Searched refs:slots_per_page (Results 1 – 1 of 1) sorted by relevance
98 static int slots_per_page(struct kprobe_insn_cache *c) in slots_per_page() function150 if (kip->nused < slots_per_page(c)) { in __get_insn_slot()153 for (i = 0; i < slots_per_page(c); i++) { in __get_insn_slot()163 kip->nused = slots_per_page(c); in __get_insn_slot()174 kip = kmalloc(struct_size(kip, slot_used, slots_per_page(c)), GFP_KERNEL); in __get_insn_slot()184 memset(kip->slot_used, SLOT_CLEAN, slots_per_page(c)); in __get_insn_slot()243 for (i = 0; i < slots_per_page(c); i++) { in collect_garbage_slots()263 if (idx >= 0 && idx < slots_per_page(c)) in __free_insn_slot()278 if (++c->nr_garbage > slots_per_page(c)) in __free_insn_slot()