Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dslob.c126 #define SLOB_UNITS(size) DIV_ROUND_UP(size, SLOB_UNIT) macro
241 int delta = 0, units = SLOB_UNITS(size); in slob_page_alloc()
330 if (sp->units < SLOB_UNITS(size)) in slob_alloc()
365 sp->units = SLOB_UNITS(PAGE_SIZE); in slob_alloc()
368 set_slob(b, SLOB_UNITS(PAGE_SIZE), b + SLOB_UNITS(PAGE_SIZE)); in slob_alloc()
395 units = SLOB_UNITS(size); in slob_free()
399 if (sp->units + units == SLOB_UNITS(PAGE_SIZE)) { in slob_free()
416 SLOB_UNITS(PAGE_SIZE)) & PAGE_MASK)); in slob_free()
580 return SLOB_UNITS(*m) * SLOB_UNIT; in __ksize()
606 SLOB_UNITS(c->size) * SLOB_UNIT, in slob_alloc_node()