Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dkprobes.c102 static int slots_per_page(struct kprobe_insn_cache *c) in slots_per_page() function
154 if (kip->nused < slots_per_page(c)) { in __get_insn_slot()
157 for (i = 0; i < slots_per_page(c); i++) { 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()
188 memset(kip->slot_used, SLOT_CLEAN, slots_per_page(c)); in __get_insn_slot()
247 for (i = 0; i < slots_per_page(c); i++) { in collect_garbage_slots()
267 if (idx >= 0 && idx < slots_per_page(c)) in __free_insn_slot()
282 if (++c->nr_garbage > slots_per_page(c)) in __free_insn_slot()