Home
last modified time | relevance | path

Searched refs:h (Results 1 – 5 of 5) sorted by relevance

/malloc/
A Dobstack.h217 #define obstack_chunk_size(h) ((h)->chunk_size) argument
221 #define obstack_next_free(h) ((h)->next_free) argument
414 (unsigned) ((h)->next_free - (h)->object_base)
433 (((h)->next_free + (h)->temp.tempint > (h)->chunk_limit) \
438 (((h)->next_free + (h)->temp.tempint > (h)->chunk_limit) \
441 (h)->next_free += (h)->temp.tempint)
445 (((h)->next_free + (h)->temp.tempint + 1 > (h)->chunk_limit) \
474 (((h)->chunk_limit - (h)->next_free < (h)->temp.tempint) \
476 obstack_blank_fast (h, (h)->temp.tempint))
504 && (h)->temp.tempint < (h)->chunk_limit - (char *) (h)->chunk)) \
[all …]
A Dobstack.c123 ? (*(h)->chunkfun)((h)->extra_arg, (size)) \
129 (*(h)->freefun)((h)->extra_arg, (old_chunk)); \
176 chunk = h->chunk = CALL_CHUNKFUN (h, h->chunk_size); in _obstack_begin()
221 h->extra_arg = arg; in _obstack_begin_1()
224 chunk = h->chunk = CALL_CHUNKFUN (h, h->chunk_size); in _obstack_begin_1()
250 long obj_size = h->next_free - h->object_base; in _obstack_newchunk()
305 h->next_free = h->object_base + obj_size; in _obstack_newchunk()
327 lp = (h)->chunk; in _obstack_allocated_p()
350 lp = h->chunk; in __obstack_free()
365 h->object_base = h->next_free = (char *) (obj); in __obstack_free()
[all …]
A Darena.c487 heap_info *h; in alloc_new_heap() local
557 LIBC_PROBE (memory_heap_new, 2, h, h->size); in alloc_new_heap()
558 return h; in alloc_new_heap()
573 return h; in new_heap()
596 if (__mprotect ((char *) h + h->mprotect_size, in grow_heap()
605 LIBC_PROBE (memory_heap_more, 2, h, h->size); in grow_heap()
635 LIBC_PROBE (memory_heap_less, 2, h, h->size); in shrink_heap()
740 heap_info *h; in _int_new_arena() local
746 if (!h) in _int_new_arena()
752 if (!h) in _int_new_arena()
[all …]
A Dmcheck-impl.c408 mcheck_usable_size (struct hdr *h) in mcheck_usable_size() argument
410 return (h - 1)->size; in mcheck_usable_size()
A DMakefile25 dist-headers := malloc.h
26 headers := $(dist-headers) obstack.h mcheck.h

Completed in 14 milliseconds