Lines Matching refs:new_addr

21 static void	*chunk_alloc_default(void *new_addr, size_t size,
203 void *new_addr, size_t size, size_t alignment, size_t *sn, bool *zero, in chunk_recycle() argument
213 assert(new_addr == NULL || alignment == chunksize); in chunk_recycle()
214 assert(CHUNK_ADDR2BASE(new_addr) == new_addr); in chunk_recycle()
220 assert(dalloc_node || new_addr != NULL); in chunk_recycle()
228 if (new_addr != NULL) { in chunk_recycle()
230 extent_node_init(&key, arena, new_addr, alloc_size, 0, false, in chunk_recycle()
236 if (node == NULL || (new_addr != NULL && extent_node_size_get(node) < in chunk_recycle()
243 assert(new_addr == NULL || leadsize == 0); in chunk_recycle()
337 chunk_alloc_core(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size, in chunk_alloc_core() argument
349 chunk_alloc_dss(tsdn, arena, new_addr, size, alignment, zero, in chunk_alloc_core()
353 if ((ret = chunk_alloc_mmap(new_addr, size, alignment, zero, commit)) != in chunk_alloc_core()
358 chunk_alloc_dss(tsdn, arena, new_addr, size, alignment, zero, in chunk_alloc_core()
390 void *new_addr, size_t size, size_t alignment, size_t *sn, bool *zero, in chunk_alloc_cache() argument
402 new_addr, size, alignment, sn, zero, commit, dalloc_node); in chunk_alloc_cache()
425 chunk_alloc_default_impl(tsdn_t *tsdn, arena_t *arena, void *new_addr, in chunk_alloc_default_impl() argument
430 ret = chunk_alloc_core(tsdn, arena, new_addr, size, alignment, zero, in chunk_alloc_default_impl()
441 chunk_alloc_default(void *new_addr, size_t size, size_t alignment, bool *zero, in chunk_alloc_default() argument
450 return (chunk_alloc_default_impl(tsdn, arena, new_addr, size, alignment, in chunk_alloc_default()
456 void *new_addr, size_t size, size_t alignment, size_t *sn, bool *zero, in chunk_alloc_retained() argument
468 new_addr, size, alignment, sn, zero, commit, true); in chunk_alloc_retained()
478 void *new_addr, size_t size, size_t alignment, size_t *sn, bool *zero, in chunk_alloc_wrapper() argument
485 ret = chunk_alloc_retained(tsdn, arena, chunk_hooks, new_addr, size, in chunk_alloc_wrapper()
490 ret = chunk_alloc_default_impl(tsdn, arena, new_addr, in chunk_alloc_wrapper()
493 ret = chunk_hooks->alloc(new_addr, size, alignment, in chunk_alloc_wrapper()