Searched refs:UINSNS_PER_PAGE (Results 1 – 1 of 1) sorted by relevance
33 #define UINSNS_PER_PAGE (PAGE_SIZE/UPROBE_XOL_SLOT_BYTES) macro34 #define MAX_UPROBE_XOL_SLOTS UINSNS_PER_PAGE1491 area->bitmap = kcalloc(BITS_TO_LONGS(UINSNS_PER_PAGE), sizeof(long), in __create_xol_area()1589 slot_nr = find_first_zero_bit(area->bitmap, UINSNS_PER_PAGE); in xol_take_insn_slot()1590 if (slot_nr < UINSNS_PER_PAGE) { in xol_take_insn_slot()1594 slot_nr = UINSNS_PER_PAGE; in xol_take_insn_slot()1597 wait_event(area->wq, (atomic_read(&area->slot_count) < UINSNS_PER_PAGE)); in xol_take_insn_slot()1598 } while (slot_nr >= UINSNS_PER_PAGE); in xol_take_insn_slot()1655 if (slot_nr >= UINSNS_PER_PAGE) in xol_free_insn_slot()