My Project
|
#include "omalloc.h"
Go to the source code of this file.
Macros | |
#define | om_LargeBin ((omBin) 1) |
#define | omGetStickyBin(bin, sticky_tag) omFindInGList(bin, next, sticky, sticky_tag) |
Functions | |
omBin | _omGetSpecBin (size_t size, int align, int track) |
void | _omUnGetSpecBin (omBin *bin_p, int force) |
static omBin | omCreateStickyBin (omBin bin, unsigned long sticky) |
unsigned long | omGetMaxStickyBinTag (omBin bin) |
unsigned long | omGetNewStickyBinTag (omBin bin) |
void | omSetStickyBinTag (omBin bin, unsigned long sticky_tag) |
void | omUnSetStickyBinTag (omBin bin, unsigned long sticky) |
static void | omMergeStickyPages (omBin to_bin, omBin from_bin) |
void | omDeleteStickyBinTag (omBin bin, unsigned long sticky) |
omBin | omGetStickyBinOfBin (omBin bin) |
void | omMergeStickyBinIntoBin (omBin sticky_bin, omBin into_bin) |
int | omIsKnownTopBin (omBin bin, int normal_bin) |
unsigned long | omGetNewStickyAllBinTag () |
void | omSetStickyAllBinTag (unsigned long sticky) |
void | omUnSetStickyAllBinTag (unsigned long sticky) |
void | omDeleteStickyAllBinTag (unsigned long sticky) |
static void | omGetBinStat (omBin bin, long *pages_p, long *used_blocks_p, long *free_blocks_p) |
static void | omGetTotalBinStat (omBin bin, long *pages_p, long *used_blocks_p, long *free_blocks_p) |
static void | omPrintBinStat (FILE *fd, omBin bin, int track, long *pages, long *used_blocks, long *free_blocks) |
void | omPrintBinStats (FILE *fd) |
static long | omGetUsedBytesOfBin (omBin bin) |
long | omGetUsedBinBytes () |
Variables | |
omBin | om_StickyBins = NULL |
#define omGetStickyBin | ( | bin, | |
sticky_tag | |||
) | omFindInGList(bin, next, sticky, sticky_tag) |
omBin _omGetSpecBin | ( | size_t | size, |
int | align, | ||
int | track | ||
) |
Definition at line 26 of file omBin.c.
void _omUnGetSpecBin | ( | omBin * | bin_p, |
int | force | ||
) |
Definition at line 142 of file omBin.c.
Definition at line 196 of file omBin.c.
void omDeleteStickyAllBinTag | ( | unsigned long | sticky | ) |
Definition at line 570 of file omBin.c.
void omDeleteStickyBinTag | ( | omBin | bin, |
unsigned long | sticky | ||
) |
Definition at line 339 of file omBin.c.
|
static |
Definition at line 611 of file omBin.c.
unsigned long omGetMaxStickyBinTag | ( | omBin | bin | ) |
unsigned long omGetNewStickyAllBinTag | ( | void | ) |
Definition at line 486 of file omBin.c.
unsigned long omGetNewStickyBinTag | ( | omBin | bin | ) |
Definition at line 221 of file omBin.c.
Definition at line 375 of file omBin.c.
|
static |
Definition at line 641 of file omBin.c.
long omGetUsedBinBytes | ( | void | ) |
Definition at line 763 of file omBin.c.
|
static |
Definition at line 756 of file omBin.c.
int omIsKnownTopBin | ( | omBin | bin, |
int | normal_bin | ||
) |
Definition at line 442 of file omBin.c.
Definition at line 398 of file omBin.c.
Definition at line 267 of file omBin.c.
|
static |
Definition at line 663 of file omBin.c.
void omPrintBinStats | ( | FILE * | fd | ) |
Definition at line 694 of file omBin.c.
void omSetStickyAllBinTag | ( | unsigned long | sticky | ) |
Definition at line 540 of file omBin.c.
void omSetStickyBinTag | ( | omBin | bin, |
unsigned long | sticky_tag | ||
) |
Definition at line 237 of file omBin.c.
void omUnSetStickyAllBinTag | ( | unsigned long | sticky | ) |
Definition at line 555 of file omBin.c.
void omUnSetStickyBinTag | ( | omBin | bin, |
unsigned long | sticky | ||
) |