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()
126 o->current_ptr += len; in _objalloc_alloc()
128 return (PTR) (o->current_ptr - len); in _objalloc_alloc()
142 chunk->current_ptr = o->current_ptr; in _objalloc_alloc()
156 chunk->current_ptr = NULL; in _objalloc_alloc()
158 o->current_ptr = (char *) chunk + CHUNK_HEADER_SIZE; in _objalloc_alloc()
201 if (p->current_ptr == NULL) in objalloc_free_block()
218 if (p->current_ptr == NULL) in objalloc_free_block()
243 else if (q->current_ptr > b) in objalloc_free_block()
256 o->current_ptr = b; in objalloc_free_block()
262 char *current_ptr; in objalloc_free_block() local
270 current_ptr = p->current_ptr; in objalloc_free_block()
285 while (p->current_ptr != NULL) in objalloc_free_block()
288 o->current_ptr = current_ptr; in objalloc_free_block()
289 o->current_space = ((char *) p + CHUNK_SIZE) - current_ptr; in objalloc_free_block()