![]() |
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 |
| struct omOpts_s |
| struct omBin_next_s |
| Data Fields | ||
|---|---|---|
| omBin_next | next | |
| struct omBin_s |
Definition at line 36 of file omAllocPrivate.h.
| Data Fields | ||
|---|---|---|
| omBin_next | curr | |
| omBinPage | current_page | |
| omBinPage | last_page | |
| long | max_blocks | |
| omBin | next | |
| size_t | size | |
| size_t | sizeW | |
| unsigned long | sticky | |
| #define omAlloc | ( | s | ) |
| #define omAlloc0Aligned | ( | S | ) |
| #define omAllocAligned | ( | S | ) |
| #define omCheckAddrSize | ( | addr, | |
| size ) |
| #define omcheckAddrSize | ( | addr, | |
| size ) |
| #define omCheckBinAddrSize | ( | addr, | |
| size ) |
| #define omFree | ( | d | ) |
| #define omFreeSizeFunc omFreeSize |
| #define omPrintUsedTrackAddrs | ( | F, | |
| max ) |
| #define omRealloc0AlignedSize omRealloc0Size |
| #define omrealloc0Size | ( | A, | |
| OS, | |||
| NS ) |
| #define omSizeWOfAddr | ( | P | ) |
| #define omSizeWOfBin | ( | bin_ptr | ) |
| #define omStrDup | ( | s | ) |
| #define omTestList | ( | ptr, | |
| level ) |
| #define omTypeAlloc | ( | T, | |
| P, | |||
| S ) |
| #define omTypeRealloc0AlignedSize omTypeRealloc0Size |
| #define omTypeReallocAlignedSize omTypeReallocSize |
| typedef omBin_next_t* omBin_next |
| enum omError_e |
Definition at line 193 of file xalloc.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 161 of file xalloc.h.
|
extern |
| struct omOpts_s om_Opts |
Definition at line 25 of file omOpts.c.
|
extern |