8#ifndef OM_ALLOC_SYSTEM_H
9#define OM_ALLOC_SYSTEM_H
11#ifndef _OMALLOC_OMCONFIG_H
12#include "omalloc/omConfig.h"
19#define omSizeWOfLargeAddr(addr) (omSizeOfLargeAddr(addr) >> LOG_SIZEOF_LONG)
28#define omVallocFromSystem(size) _omVallocFromSystem(size, 0)
33#if defined(HAVE_MALLOC_SIZE) || defined(HAVE_MALLOC_USABLE_SIZE)
34#define omAllocLarge(size) omAllocFromSystem(size)
35#define omReallocLarge(addr, new_size) omReallocSizeFromSystem(addr, omSizeOfLargeAddr(addr), new_size)
36#define omFreeLarge(addr) omFreeSizeToSystem(addr, omSizeOfLargeAddr(addr))
void * _omVallocFromSystem(size_t size, int fail)
void * omAllocFromSystem(size_t size)
void * omReallocFromSystem(void *addr, size_t newsize)
void omVfreeToSystem(void *page, size_t size)
size_t omSizeOfLargeAddr(void *addr)
void omFreeLarge(void *addr)
void * omRealloc0Large(void *old_addr, size_t new_size)
void omFreeSizeToSystem(void *addr, size_t size)
void * omReallocLarge(void *old_addr, size_t new_size)
size_t omSizeOfAddr(const void *addr)
void omFreeToSystem(void *addr)
void * omAllocLarge(size_t size)
void * omReallocSizeFromSystem(void *addr, size_t oldsize, size_t newsize)
void * omAlloc0Large(size_t size)