#include <stdint.h>
#include <inttypes.h>
Go to the source code of this file.
|
#define | PRIiTID PRIi32 |
|
#define | PRIxADDR PRIx32 |
|
#define | PRIxFULLADDR "016"PRIx32 |
|
#define | PRIuADDR PRIu32 |
|
#define | PRIiOFFSET PRIi32 |
|
#define | PRIxOFFSET PRIx32 |
|
#define | PRIxREGVAL PRIx32 |
|
#define | PRIuREGVAL PRIu32 |
|
#define | ADDRMAX UINT32_MAX |
|
#define | OFFSETMAX UINT32_MAX |
|
#define | ptr_t unsigned long int |
|
#define | PRIuNUM PRIu64 |
|
#define | PRIiNUM PRIi64 |
|
#define | PRIxNUM PRIx64 |
|
#define | PRIiREG PRIi8 |
|
#define | PRIiSMOFFSET PRIi32 |
|
#define | PRIxSMOFFSET PRIx32 |
|
#define | __PAGE_SIZE 0x1000 |
|
#define | PROT_READ 0x1 |
|
#define | PROT_WRITE 0x2 |
|
#define | PROT_EXEC 0x4 |
|
#define | PROT_SHARED 0x8 |
|
#define | PRIiREFCNT PRIu32 |
|
#define | RWGUARD(x) ++((x)->refcnt) |
|
#define | RWUNGUARD(x) --((x)->refcnt) |
|
#define | REFCNTDECL(trefcnt) |
|
#define | RHOLD(x, hx) ++((x)->refcnt) |
|
#define | RHOLDW(x, hx) ++((x)->refcntw) |
|
#define | RPUT(x, objtype, hx, rc) |
|
#define | RPUTW(x, objtype, hx, rc) |
|
#define | RPUTIFZERO(x, objtype, rc) |
|
#define | RPUTFF(x, objtype, hx, rc) |
|
#define | RPUTNF(x, hx, rc) ((rc) = (--((x)->refcnt))) |
|
#define | REF_DEBUG_REPORT_FINISH() (void) |
|
#define __PAGE_SIZE 0x1000 |
#define ADDRMAX UINT32_MAX |
#define OFFSETMAX UINT32_MAX |
#define PRIiOFFSET PRIi32 |
#define PRIiREFCNT PRIu32 |
#define PRIiSMOFFSET PRIi32 |
#define PRIuREGVAL PRIu32 |
#define PRIxFULLADDR "016"PRIx32 |
#define PRIxOFFSET PRIx32 |
#define PRIxREGVAL PRIx32 |
#define PRIxSMOFFSET PRIx32 |
#define ptr_t unsigned long int |
#define REF_DEBUG_REPORT_FINISH |
( |
| ) |
(void) |
#define REFCNTDECL |
( |
|
trefcnt | ) |
|
#define RHOLD |
( |
|
x, |
|
|
|
hx |
|
) |
| ++((x)->refcnt) |
#define RHOLDW |
( |
|
x, |
|
|
|
hx |
|
) |
| ++((x)->refcntw) |
#define RPUT |
( |
|
x, |
|
|
|
objtype, |
|
|
|
hx, |
|
|
|
rc |
|
) |
| |
Value:((rc) = (--((x)->refcnt) == 0) \
? objtype ## _free(x,0) \
: (x)->refcnt); \
(rc) += 0
Definition at line 624 of file common.h.
#define RPUTFF |
( |
|
x, |
|
|
|
objtype, |
|
|
|
hx, |
|
|
|
rc |
|
) |
| |
Value:((rc) = (--((x)->refcnt) == 0) \
? objtype ## _free(x,1) \
: objtype ## _free(x,1)
Definition at line 648 of file common.h.
#define RPUTIFZERO |
( |
|
x, |
|
|
|
objtype, |
|
|
|
rc |
|
) |
| |
Value:((rc) = (x)->refcnt == 0 \
? objtype ## _free(x,0) \
: (x)->refcnt)
Definition at line 645 of file common.h.
#define RPUTNF |
( |
|
x, |
|
|
|
hx, |
|
|
|
rc |
|
) |
| ((rc) = (--((x)->refcnt))) |
#define RPUTW |
( |
|
x, |
|
|
|
objtype, |
|
|
|
hx, |
|
|
|
rc |
|
) |
| |
Value:((rc) = ((--((x)->refcntw) + (x)->refcnt) == 0) \
? objtype ## _free(x,0) \
: (x)->refcntw + (x)->refcnt); \
(rc) += 0
Definition at line 628 of file common.h.
#define RWGUARD |
( |
|
x | ) |
++((x)->refcnt) |
#define RWUNGUARD |
( |
|
x | ) |
--((x)->refcnt) |
Enumerator |
---|
RESULT_SUCCESS |
|
RESULT_ERROR |
|
RESULT_ABORT |
|
Definition at line 25 of file common.h.