Lines Matching refs:chunks
95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
96 if (ret->chunks == NULL) in objalloc_create()
102 chunk = (struct objalloc_chunk *) ret->chunks; in objalloc_create()
148 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
162 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
168 o->chunks = (PTR) chunk; in _objalloc_alloc()
181 l = (struct objalloc_chunk *) o->chunks; in objalloc_free()
206 for (p = (struct objalloc_chunk *) o->chunks; p != NULL; p = p->next) in objalloc_free_block()
238 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
260 o->chunks = (PTR) first; in objalloc_free_block()
280 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
290 o->chunks = (PTR) p; in objalloc_free_block()