10void *
operator new(
size_t size)
15void *
operator new[](
size_t size)
20void operator delete(
void *p)
noexcept
25void operator delete(
void *ptr,
long unsigned int sz)
31void operator delete[](
void *ptr,
long unsigned int sz)
37void operator delete[](
void *p)
noexcept
42extern "C" int __cxa_atexit(
void (*destructor)(
void *),
void *arg,
void *dso)
52extern "C" int abi::__cxa_guard_acquire(abi::__guard *g)
55 __atomic_thread_fence(__ATOMIC_ACQUIRE);
57 __atomic_load(g, &val, __ATOMIC_RELAXED);
62extern "C" void abi::__cxa_guard_release(abi::__guard *g)
65 __atomic_store(g, &zero, __ATOMIC_RELEASE);
66 __atomic_thread_fence(__ATOMIC_RELEASE);
70extern "C" void abi::__cxa_guard_abort(abi::__guard *)
int __cxa_atexit(void(*destructor)(void *), void *arg, void *dso)
__BEGIN_DECLS void * slab_alloc(size_t size)
Allocate a block of memory from the slab allocator.