Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include <sys/param.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../include/db.h"
#include "btree.h"
Go to the source code of this file.
Functions | |
int | __ovfl_delete (BTREE *t, void *p) |
int | __ovfl_get (BTREE *t, void *p, size_t *ssz, void **buf, size_t *bufsz) |
int | __ovfl_put (BTREE *t, const DBT *dbt, pgno_t *pg) |
int __ovfl_delete | ( | BTREE * | t, |
void * | p | ||
) |
Definition at line 193 of file bt_overflow.c.
References __bt_free(), _btree::bt_mp, _btree::bt_psize, BTDATAOFF, _page::flags, mpool_get(), mpool_put(), _page::nextpg, NULL, P_INVALID, P_PRESERVE, RET_ERROR, and RET_SUCCESS.
Referenced by __bt_dleaf(), __bt_pdelete(), and __rec_dleaf().
int __ovfl_get | ( | BTREE * | t, |
void * | p, | ||
size_t * | ssz, | ||
void ** | buf, | ||
size_t * | bufsz | ||
) |
Definition at line 80 of file bt_overflow.c.
References _btree::bt_mp, _btree::bt_psize, BTDATAOFF, buf, malloc(), MIN, mpool_get(), mpool_put(), _page::nextpg, NULL, P_INVALID, realloc, RET_ERROR, and RET_SUCCESS.
Referenced by __bt_cmp(), __bt_ret(), and __rec_ret().
Definition at line 139 of file bt_overflow.c.
References __bt_new(), _btree::bt_mp, _btree::bt_psize, BTDATAOFF, DBT::data, _page::flags, last, _page::lower, MIN, MPOOL_DIRTY, mpool_put(), _page::nextpg, NULL, P_INVALID, P_OVERFLOW, _page::pgno, _page::prevpg, RET_ERROR, RET_SUCCESS, DBT::size, and _page::upper.
Referenced by __bt_put(), and __rec_iput().