![]() |
My Project
|
#include <stdlib.h>
#include <string.h>
#include "omalloc/omConfig.h"
Go to the source code of this file.
Data Structures | |
struct | omInfo_t |
struct | omOpts_t |
struct | omBin_next_t |
struct | omBin_t |
Typedefs | |
typedef omBin_next_t * | omBin_next |
typedef omBin_t * | omBin |
Functions | |
static void * | omAlloc0 (size_t s) |
static void * | omalloc0 (size_t s) |
static void * | omRealloc0Size (void *d, __attribute__((unused)) size_t os, size_t ns) |
static void * | omAllocBin (omBin b) |
static void * | omAlloc0Bin (omBin b) |
static void | omFreeBin (void *p, omBin b) |
static omBin | omGetSpecBin (size_t s) |
static void | omUnGetSpecBin (omBin *A) |
Variables | |
struct omInfo_s | om_Info |
struct omOpts_s | om_Opts |
int | om_sing_opt_show_mem |
struct omInfo_s |
Data Fields | ||
---|---|---|
long | AvailBytes | |
long | AvailBytesFromValloc | |
long | AvailBytesMalloc | |
long | AvailPages | |
long | CurrentBytesFromMalloc | |
long | CurrentBytesFromValloc | |
long | CurrentBytesMmap | |
long | CurrentBytesSbrk | |
long | CurrentBytesSystem | |
long | CurrentRegionsAlloc | |
long | InternalUsedBytesMalloc | |
long | MaxBytesFromMalloc | |
long | MaxBytesFromValloc | |
long | MaxBytesMmap | |
long | MaxBytesSbrk | |
long | MaxBytesSystem | |
long | MaxPages | |
long | MaxRegionsAlloc | |
long | UsedBytes | |
long | UsedBytesFromValloc | |
long | UsedBytesMalloc | |
long | UsedPages |
struct omBin_next_s |
Data Fields | ||
---|---|---|
omBin_next | next |
struct omBin_s |
#define omFreeSizeFunc omFreeSize |
#define omRealloc0AlignedSize omRealloc0Size |
#define omSizeWOfAddr | ( | P | ) | (omSizeOfAddr(P)/SIZEOF_LONG) |
#define omSizeWOfBin | ( | bin_ptr | ) | (((bin_ptr->size)+SIZEOF_LONG-1)/SIZEOF_LONG) |
#define omTestList | ( | ptr, | |
level | |||
) | (omError_NoError) |
#define omTypeRealloc0AlignedSize omTypeRealloc0Size |
#define omTypeReallocAlignedSize omTypeReallocSize |
Definition at line 193 of file xalloc.h.
Definition at line 87 of file xalloc.h.
Definition at line 161 of file xalloc.h.
|
extern |