Asterisk - The Open Source Telephony Project
18.5.0
|
#include <sys/types.h>
#include <errno.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include "../include/db.h"
#include "btree.h"
Go to the source code of this file.
Functions | |
static int | __bt_first (BTREE *t, const DBT *key, EPG *erval, int *exactp) |
int | __bt_seq (DB *dbp, DBT *key, DBT *data, u_int flags) const |
static int | __bt_seqadv (BTREE *t, EPG *ep, int flags) |
static int | __bt_seqset (BTREE *t, EPG *ep, DBT *key, int flags) |
void | __bt_setcur (BTREE *t, pgno_t pgno, u_int index) |
static int __bt_first | __P ((BTREE *, const DBT *, EPG *, int *)) |
static int __bt_seqadv | __P ((BTREE *, EPG *, int)) |
static int __bt_seqset | __P ((BTREE *, EPG *, DBT *, int)) |
Definition at line 342 of file bt_seq.c.
References __bt_cmp(), __bt_search(), B_NODUPS, _btree::bt_mp, F_ISSET, _epg::index, mpool_get(), mpool_put(), NEXTINDEX, _page::nextpg, NULL, P_INVALID, _epg::page, _page::pgno, _page::prevpg, RET_ERROR, RET_SPECIAL, and RET_SUCCESS.
Referenced by __bt_seqadv(), and __bt_seqset().
Definition at line 77 of file bt_seq.c.
References __bt_ret(), __bt_seqadv(), __bt_seqset(), __bt_setcur(), B_DB_LOCK, _btree::bt_cursor, _btree::bt_mp, _btree::bt_pinned, _btree::bt_rdata, _btree::bt_rkey, CURS_INIT, errno, F_ISSET, _epg::index, __db::internal, mpool_put(), NULL, _epg::page, _page::pgno, R_CURSOR, R_FIRST, R_LAST, R_NEXT, R_PREV, RET_ERROR, RET_SUCCESS, and status.
Referenced by __bt_open().
Definition at line 240 of file bt_seq.c.
References __bt_first(), _btree::bt_cursor, _btree::bt_mp, c, CURS_ACQUIRE, CURS_AFTER, CURS_BEFORE, F_CLR, F_ISSET, _epgno::index, _epg::index, _cursor::key, mpool_get(), mpool_put(), NEXTINDEX, _page::nextpg, NULL, P_INVALID, _epg::page, _cursor::pg, _epgno::pgno, _page::prevpg, R_NEXT, R_PREV, RET_ERROR, RET_SPECIAL, and RET_SUCCESS.
Referenced by __bt_seq().
Definition at line 152 of file bt_seq.c.
References __bt_first(), _btree::bt_mp, DBT::data, errno, _page::flags, GETBINTERNAL, _epg::index, mpool_get(), mpool_put(), NEXTINDEX, NULL, P_BLEAF, P_RLEAF, P_ROOT, _epg::page, R_CURSOR, R_FIRST, R_LAST, R_NEXT, R_PREV, RET_ERROR, RET_SPECIAL, RET_SUCCESS, and DBT::size.
Referenced by __bt_seq().
Definition at line 443 of file bt_seq.c.
References _btree::bt_cursor, CURS_ACQUIRE, CURS_AFTER, CURS_BEFORE, CURS_INIT, DBT::data, F_CLR, F_SET, free(), _epgno::index, _cursor::key, NULL, _cursor::pg, _epgno::pgno, and DBT::size.
Referenced by __bt_put(), and __bt_seq().
|
static |
|
static |
|
static |