Home
last modified time | relevance | path

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

/Linux-v6.1/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()
331 if (sp->units < SLOB_UNITS(size)) in slob_alloc()
367 sp->units = SLOB_UNITS(PAGE_SIZE); in slob_alloc()
370 set_slob(b, SLOB_UNITS(PAGE_SIZE), b + SLOB_UNITS(PAGE_SIZE)); in slob_alloc()
397 units = SLOB_UNITS(size); in slob_free()
401 if (sp->units + units == SLOB_UNITS(PAGE_SIZE)) { in slob_free()
417 SLOB_UNITS(PAGE_SIZE)) & PAGE_MASK)); in slob_free()
599 return SLOB_UNITS(*m) * SLOB_UNIT; in __ksize()
610 c->size = SLOB_UNITS(c->size) * SLOB_UNIT; in __kmem_cache_create()