Go to the source code of this file.
Classes | |
struct | __db_reg_env |
struct | __db_reg_env_ref |
struct | __db_reginfo_t |
struct | __db_region |
Defines | |
#define | DB_REGION_ENV "__db.001" |
#define | DB_REGION_FMT "__db.%03d" |
#define | DB_REGION_MAGIC 0x120897 |
#define | DB_REGION_NAME_LENGTH 8 |
#define | DB_REGION_NAME_NUM 5 |
#define | INVALID_REGION_SEGID -1 |
#define | INVALID_ROFF 0 |
#define | OS_ROUNDOFF(i, s) |
#define | OS_VMPAGESIZE (8 * 1024) |
#define | OS_VMROUNDOFF(i) OS_ROUNDOFF(i, OS_VMPAGESIZE) |
#define | PANIC_CHECK(dbenv) |
#define | R_ADDR(base, offset) ((void *)((u_int8_t *)((base)->addr) + offset)) |
#define | R_LOCK(dbenv, reginfo) MUTEX_LOCK(&(reginfo)->rp->mutex, (dbenv)->lockfhp) |
#define | R_OFFSET(base, p) ((u_int32_t)((u_int8_t *)(p) - (u_int8_t *)(base)->addr)) |
#define | R_UNLOCK(dbenv, reginfo) MUTEX_UNLOCK(&(reginfo)->rp->mutex) |
#define | REG_DEAD 0x01 |
#define | REG_ID_ASSIGN (REG_ID_TXN + 1) |
#define | REG_ID_ENV 1 |
#define | REG_ID_INVALID 0 |
#define | REG_ID_LOCK 2 |
#define | REG_ID_LOG 3 |
#define | REG_ID_MPOOL 4 |
#define | REG_ID_TXN 5 |
#define | REGION_CREATE 0x01 |
#define | REGION_CREATE_OK 0x02 |
Typedefs | |
typedef struct __db_reg_env | REGENV |
typedef struct __db_reg_env_ref | REGENV_REF |
typedef struct __db_region | REGION |
typedef u_int32_t | roff_t |