Go to the source code of this file.
◆ OM_SIZEOF_INDEX_PAGE
#define OM_SIZEOF_INDEX_PAGE (SIZEOF_SYSTEM_PAGE << LOG_BIT_SIZEOF_LONG) |
◆ omAreAddrOnSamePage
◆ omGetBinPageOfAddr
#define omGetBinPageOfAddr |
( |
|
addr | ) |
((omBinPage) ((long) (addr) & ~(SIZEOF_SYSTEM_PAGE -1))) |
◆ omGetPageIndexOfAddr
#define omGetPageIndexOfAddr |
( |
|
addr | ) |
(((unsigned long) addr) >> (LOG_BIT_SIZEOF_LONG + LOG_BIT_SIZEOF_SYSTEM_PAGE)) |
◆ omGetPageOfAddr
#define omGetPageOfAddr |
( |
|
addr | ) |
((void*) ((long) (addr) & ~(SIZEOF_SYSTEM_PAGE -1))) |
◆ omGetPageShiftOfAddr
#define omGetPageShiftOfAddr |
( |
|
addr | ) |
((((unsigned long) addr) & (OM_SIZEOF_INDEX_PAGE -1)) >> LOG_BIT_SIZEOF_SYSTEM_PAGE) |
◆ omIsAddrOnPage
#define omIsAddrOnPage |
( |
|
addr, |
|
|
|
page |
|
) |
| (omGetPageOfAddr(addr) == (void*) (page)) |
◆ omIsAddrPageAligned
#define omIsAddrPageAligned |
( |
|
addr | ) |
(((long) (addr) & (SIZEOF_SYSTEM_PAGE -1)) == 0) |
◆ omIsNotAddrOnFreePage
◆ omIsPageAddr
#define omIsPageAddr |
( |
|
addr | ) |
|
Value:
unsigned long omMinPageIndex
unsigned long * omPageIndicies
#define omGetPageShiftOfAddr(addr)
#define omGetPageIndexOfAddr(addr)
Definition at line 44 of file omPage.h.
◆ omRegisterExternalAddr
#define omRegisterExternalAddr |
( |
|
addr | ) |
|
Value:do \
{ \
omRegisterPageIndex(_omPageIndex); \
} \
while (0)
Definition at line 63 of file omPage.h.
◆ omRegisterPageAddr
#define omRegisterPageAddr |
( |
|
addr | ) |
|
Value:do \
{ \
omRegisterPageIndex(_omPageIndex); \
} \
while (0)
Definition at line 73 of file omPage.h.
◆ omRegisterPageIndex
#define omRegisterPageIndex |
( |
|
index | ) |
|
Value:do \
{ \
{ \
omPageIndexFault(
index); \
} \
} \
while (0)
unsigned long omMaxPageIndex
static int index(p_Length length, p_Ord ord)
Definition at line 53 of file omPage.h.
◆ omFreePage()
void omFreePage |
( |
void * |
page | ) |
|
◆ omGetNumberOfAllocatedPages()
int omGetNumberOfAllocatedPages |
( |
| ) |
|
◆ omGetNumberOfFreePages()
int omGetNumberOfFreePages |
( |
| ) |
|
◆ omGetNumberOfUsedPages()
int omGetNumberOfUsedPages |
( |
| ) |
|
◆ omGetPage()
◆ omIsAddrOnFreePage()
int omIsAddrOnFreePage |
( |
void * |
addr | ) |
|
◆ omIsAddrOnRegisteredPage()
int omIsAddrOnRegisteredPage |
( |
void * |
addr | ) |
|
◆ omPageIndexFault()
void omPageIndexFault |
( |
unsigned long |
page_index | ) |
|
◆ omReleaseFreePages()
void omReleaseFreePages |
( |
| ) |
|
◆ omMaxPageIndex
unsigned long omMaxPageIndex |
|
extern |
◆ omMinPageIndex
unsigned long omMinPageIndex |
|
extern |
◆ omPageIndicies
unsigned long* omPageIndicies |
|
extern |