Lines Matching refs:objalloc_chunk
58 struct objalloc_chunk struct
61 struct objalloc_chunk *next; argument
71 ((sizeof (struct objalloc_chunk) + OBJALLOC_ALIGN - 1) \
89 struct objalloc_chunk *chunk; in objalloc_create()
102 chunk = (struct objalloc_chunk *) ret->chunks; in objalloc_create()
141 struct objalloc_chunk *chunk; in _objalloc_alloc()
147 chunk = (struct objalloc_chunk *) ret; in _objalloc_alloc()
148 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
157 struct objalloc_chunk *chunk; in _objalloc_alloc()
159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE); in _objalloc_alloc()
162 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
179 struct objalloc_chunk *l; in objalloc_free()
181 l = (struct objalloc_chunk *) o->chunks; in objalloc_free()
184 struct objalloc_chunk *next; in objalloc_free()
200 struct objalloc_chunk *p, *small; in objalloc_free_block()
206 for (p = (struct objalloc_chunk *) o->chunks; p != NULL; p = p->next) in objalloc_free_block()
227 struct objalloc_chunk *q; in objalloc_free_block()
228 struct objalloc_chunk *first; in objalloc_free_block()
238 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
241 struct objalloc_chunk *next; in objalloc_free_block()
268 struct objalloc_chunk *q; in objalloc_free_block()
280 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
283 struct objalloc_chunk *next; in objalloc_free_block()