Searched refs:rallocx (Results 1 - 19 of 19) sorted by relevance

/netbsd-current/include/
H A Dmalloc.h37 void *rallocx(void *, size_t, int);
/netbsd-current/external/bsd/jemalloc/dist/test/integration/
H A Drallocx.c58 q = rallocx(p, szs[j-1]+1, 0);
60 "Unexpected rallocx() error for size=%zu-->%zu",
69 q = rallocx(p, szs[j-1], 0);
71 "Unexpected rallocx() error for size=%zu-->%zu",
126 q = rallocx(p, start_size+j, MALLOCX_ZERO);
127 assert_ptr_not_null(q, "Unexpected rallocx() error");
160 q = rallocx(p, 1, MALLOCX_ALIGN(align));
162 "Unexpected rallocx() error for align=%zu", align);
186 q = rallocx(p, 1, MALLOCX_LG_ALIGN(lg_align)|MALLOCX_ZERO);
188 "Unexpected rallocx() erro
[all...]
H A Dxallocx.c231 p = rallocx(p, large3, flags);
232 assert_ptr_not_null(p, "Unexpected rallocx() failure");
265 p = rallocx(p, large3, flags);
266 assert_ptr_not_null(p, "Unexpected rallocx() failure");
338 p = rallocx(p, sz, flags);
339 assert_ptr_not_null(p, "Unexpected rallocx() failure");
347 p = rallocx(p, sz+1, flags);
348 assert_ptr_not_null(p, "Unexpected rallocx() failure");
/netbsd-current/external/bsd/jemalloc/include/jemalloc/
H A Djemalloc_rename.h22 # define je_rallocx rallocx
H A Djemalloc_mangle.h27 # define rallocx je_rallocx macro
H A Djemalloc_mangle_jet.h27 # define rallocx jet_rallocx macro
H A Djemalloc.h88 # define je_rallocx rallocx
416 # define rallocx je_rallocx macro
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/
H A Dpublic_namespace.h16 #define je_rallocx JEMALLOC_N(rallocx)
/netbsd-current/external/mpl/bind/dist/lib/isc/
H A Djemalloc_shim.h52 rallocx(void *ptr, size_t size, int flags) { function
135 rallocx(void *ptr, size_t size, int flags) { function
H A Dmem.c383 new_ptr = rallocx(old_ptr, new_size, flags | ctx->jemalloc_flags);
/netbsd-current/external/bsd/jemalloc/dist/test/unit/
H A Dprof_tctx.c25 q = rallocx(p, 2048, flags);
H A Dzero.c32 s = (uint8_t *)rallocx(s, sz+1, 0);
34 "Unexpected rallocx() failure");
H A Djunk.c96 t = (uint8_t *)rallocx(s, sz+1, 0);
98 "Unexpected rallocx() failure");
100 "Unexpectedly small rallocx() result");
103 "Unexpected in-place rallocx()");
H A Ddecay.c290 /* rallocx(). */
292 p = rallocx(p, sz, MALLOCX_TCACHE_NONE);
293 assert_ptr_not_null(p, "Unexpected rallocx() failure");
296 "Expected ticker to tick during rallocx() (sz=%zu)",
H A Dstats_print.c96 MALLOCX_TCACHE_NONE) : rallocx(parser->buf, parser->len + len + 1,
H A Dmallctl.c302 qs[i] = rallocx(ps[i], qsz, MALLOCX_TCACHE(tis[i]));
303 assert_ptr_not_null(qs[i], "Unexpected rallocx() failure, i=%u",
306 "Expected rallocx() to allocate cached region, i=%u", i);
/netbsd-current/external/bsd/jemalloc/lib/
H A Djemalloc_stub.c42 rallocx(void *p, size_t l, int f) function
/netbsd-current/external/bsd/jemalloc/dist/
H A DMakefile.in224 $(srcroot)test/integration/rallocx.c \
/netbsd-current/external/bsd/jemalloc/dist/src/
H A Djemalloc.c29 __weak_alias(rallocx, __je_rallocx)
2706 LOG("core.rallocx.entry", "ptr: %p, size: %zu, flags: %d", ptr,
2773 LOG("core.rallocx.exit", "result: %p", p);
2777 malloc_write("<jemalloc>: Error in rallocx(): out of memory\n");
2783 LOG("core.rallocx.exit", "result: %p", NULL);

Completed in 303 milliseconds