Lines Matching refs:current_ptr
65 char *current_ptr; member
104 chunk->current_ptr = NULL; in objalloc_create()
106 ret->current_ptr = (char *) chunk + CHUNK_HEADER_SIZE; in objalloc_create()
133 o->current_ptr += len; in _objalloc_alloc()
135 return (PTR) (o->current_ptr - len); in _objalloc_alloc()
149 chunk->current_ptr = o->current_ptr; in _objalloc_alloc()
163 chunk->current_ptr = NULL; in _objalloc_alloc()
165 o->current_ptr = (char *) chunk + CHUNK_HEADER_SIZE; in _objalloc_alloc()
208 if (p->current_ptr == NULL) in objalloc_free_block()
225 if (p->current_ptr == NULL) in objalloc_free_block()
250 else if (q->current_ptr > b) in objalloc_free_block()
263 o->current_ptr = b; in objalloc_free_block()
269 char *current_ptr; in objalloc_free_block() local
277 current_ptr = p->current_ptr; in objalloc_free_block()
292 while (p->current_ptr != NULL) in objalloc_free_block()
295 o->current_ptr = current_ptr; in objalloc_free_block()
296 o->current_space = ((char *) p + CHUNK_SIZE) - current_ptr; in objalloc_free_block()