Asterisk - The Open Source Telephony Project
18.5.0
|
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stddef.h>
#include <stdio.h>
#include <unistd.h>
#include "../include/db.h"
#include "recno.h"
Go to the source code of this file.
Functions | |
int | __rec_fd (DB *dbp) const |
DB * | __rec_open (char *fname, int flags, int mode, const RECNOINFO *openinfo, int dflags) const |
int __rec_fd | ( | DB * | dbp | ) | const |
Definition at line 222 of file rec_open.c.
References _btree::bt_mp, _btree::bt_pinned, _btree::bt_rfd, errno, F_ISSET, __db::internal, mpool_put(), NULL, and R_INMEM.
Referenced by __rec_open().
Definition at line 56 of file rec_open.c.
References __bt_close(), __bt_open(), __rec_close(), __rec_delete(), __rec_fd(), __rec_fmap(), __rec_fpipe(), __rec_get(), __rec_put(), __rec_seq(), __rec_sync(), __rec_vmap(), __rec_vpipe(), RECNOINFO::bfname, _btree::bt_bval, _btree::bt_cmap, _btree::bt_emap, _btree::bt_mp, _btree::bt_msize, _btree::bt_reclen, _btree::bt_rfd, _btree::bt_rfp, _btree::bt_smap, RECNOINFO::bval, BTREEINFO::cachesize, RECNOINFO::cachesize, dbp, errno, F_CLR, F_ISSET, F_SET, _page::flags, BTREEINFO::flags, RECNOINFO::flags, __db::internal, BTREEINFO::lorder, RECNOINFO::lorder, MAX_REC_NUMBER, BTREEINFO::maxkeypage, BTREEINFO::minkeypage, MPOOL_DIRTY, mpool_get(), mpool_put(), NULL, P_BLEAF, P_RLEAF, P_ROOT, P_TYPE, BTREEINFO::psize, RECNOINFO::psize, R_CLOSEFP, R_EOF, R_FIXEDLEN, R_FIXLEN, R_INMEM, R_MEMMAPPED, R_NOKEY, R_RDONLY, R_RECNO, R_SNAPSHOT, RECNOINFO::reclen, and RET_ERROR.
Referenced by dbopen().