37 #if defined(LIBC_SCCS) && !defined(lint) 38 static char sccsid[] =
"@(#)bt_put.c 8.8 (Berkeley) 7/26/94";
41 #include <sys/types.h> 48 #include "../include/db.h" 131 memmove(kb, &pg,
sizeof(
pgno_t));
132 memmove(kb +
sizeof(
pgno_t),
142 memmove(db, &pg,
sizeof(
pgno_t));
143 memmove(db +
sizeof(
pgno_t),
212 memmove(h->
linp + idx + 1, h->
linp + idx,
213 (nxtindex - idx) *
sizeof(
indx_t));
217 dest = (
char *)h + h->
upper;
253 u_long bt_cache_hit, bt_cache_miss;
269 const DBT *key, *data;
int mpool_put(MPOOL *mp, void *page, u_int flags)
int __bt_put(DB *dbp, DBT *key, const DBT *data, u_int flags) const
int __bt_dleaf(BTREE *t, const DBT *key, PAGE *h, u_int idx)
void * mpool_get(MPOOL *mp, pgno_t pgno, u_int flags)
int __bt_cmp(BTREE *t, const DBT *k1, EPG *e)
int __bt_split(BTREE *t, PAGE *sp, const DBT *key, const DBT *data, int flags, size_t ilen, u_int32_t argskip)
#define NBLEAFDBT(ksize, dsize)
static EPG *bt_fast __P((BTREE *, const DBT *, const DBT *, int *))
enum _btree::@518 bt_order
void __bt_setcur(BTREE *t, pgno_t pgno, u_int index)
EPG * __bt_search(BTREE *t, const DBT *key, int *exactp)
static EPG * bt_fast(BTREE *t, const DBT *key, const DBT *data, int *exactp)
#define WR_BLEAF(p, key, data, flags)
int __ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg)