Lines Matching refs:slob_t
94 typedef struct slob_block slob_t; typedef
125 #define SLOB_UNIT sizeof(slob_t)
146 static void set_slob(slob_t *s, slobidx_t size, slob_t *next) in set_slob()
148 slob_t *base = (slob_t *)((unsigned long)s & PAGE_MASK); in set_slob()
161 static slobidx_t slob_units(slob_t *s) in slob_units()
171 static slob_t *slob_next(slob_t *s) in slob_next()
173 slob_t *base = (slob_t *)((unsigned long)s & PAGE_MASK); in slob_next()
186 static int slob_last(slob_t *s) in slob_last()
220 slob_t *prev, *cur, *aligned = NULL; in slob_page_alloc()
227 aligned = (slob_t *)ALIGN((unsigned long)cur, align); in slob_page_alloc()
231 slob_t *next; in slob_page_alloc()
274 slob_t *b = NULL; in slob_alloc()
344 slob_t *prev, *next, *b = (slob_t *)block; in slob_free()
392 if (b < (slob_t *)sp->freelist) { in slob_free()