| /src/lib/libc/db/recno/ |
| extern.h | 36 int __rec_close(DB *); 37 int __rec_delete(const DB *, const DBT *, u_int); 39 int __rec_fd(const DB *); 43 int __rec_get(const DB *, const DBT *, DBT *, u_int); 45 int __rec_put(const DB *dbp, DBT *, const DBT *, u_int); 48 int __rec_seq(const DB *, DBT *, DBT *, u_int); 49 int __rec_sync(const DB *, u_int);
|
| rec_close.c | 50 #include <db.h> 63 __rec_close(DB *dbp) 110 __rec_sync(const DB *dbp, u_int flags)
|
| rec_seq.c | 48 #include <db.h> 64 __rec_seq(const DB *dbp, DBT *key, DBT *data, u_int flags)
|
| /src/usr.sbin/kvm_mkdb/ |
| extern.h | 100 void create_knlist(const char *, DB *); 105 int create_knlist_aout(const char *, DB *); 108 int create_knlist_coff(const char *, DB *); 111 int create_knlist_ecoff(const char *, DB *); 114 int create_knlist_elf32(const char *, DB *); 117 int create_knlist_elf64(const char *, DB *);
|
| nlist.c | 76 #include <db.h> 90 int (*knlist)(const char *, DB *); 110 create_knlist(const char *name, DB *db) 115 if ((*knlist_fmts[i].knlist)(name, db) != -1)
|
| testdb.c | 48 #include <db.h> 57 /* Return true if the db file is valid, else false */ 61 DB *db; local in function:testdb 70 db = NULL; 72 if ((db = dbopen(_PATH_KVMDB, O_RDONLY, 0, DB_HASH, NULL)) == NULL) 78 if ((db->get)(db, &rec, &rec, 0)) 100 close: if (db) 101 (void)(db->close)(db) [all...] |
| kvm_mkdb.c | 81 #include <db.h> 104 static DB *db; variable in typeref:typename:DB * 140 * If the existing db file matches the currently running 163 db = dbopen(dbtemp, O_CREAT | O_EXLOCK | O_TRUNC | O_RDWR, 165 if (db == NULL) 167 create_knlist(nlistpath, db); 168 if (db->close(db)) { 170 db = NULL [all...] |
| /src/lib/libc/db/btree/ |
| extern.h | 36 int __bt_close(DB *); 41 int __bt_delete(const DB *, const DBT *, unsigned int); 43 int __bt_fd(const DB *); 45 int __bt_get(const DB *, const DBT *, DBT *, unsigned int); 50 int __bt_put(const DB *dbp, DBT *, const DBT *, unsigned int); 54 int __bt_seq(const DB *, DBT *, DBT *, unsigned int); 58 int __bt_sync(const DB *, unsigned int); 66 void __bt_dnpage(DB *, pgno_t); 68 void __bt_dump(DB *); 71 void __bt_stat(DB *); [all...] |
| bt_close.c | 51 #include <db.h> 66 __bt_close(DB *dbp) 120 __bt_sync(const DB *dbp, u_int flags)
|
| bt_get.c | 50 #include <db.h> 66 __bt_get(const DB *dbp, const DBT *key, DBT *data, u_int flags)
|
| bt_open.c | 64 #include <db.h> 78 * Creates and fills a DB struct, and calls the routine that actually 88 * NULL on failure, pointer to DB on success. 91 DB * 99 DB *dbp; 162 /* Allocate and initialize DB and BTREE structures. */ 175 memset(t->bt_dbp, 0, sizeof(DB)); 410 __bt_fd(const DB *dbp)
|
| /src/lib/libc/db/db/ |
| db.c | 1 /* $NetBSD: db.c,v 1.21 2024/01/20 14:52:46 christos Exp $ */ 37 __RCSID("$NetBSD: db.c,v 1.21 2024/01/20 14:52:46 christos Exp $"); 47 #include <db.h> 48 static int __dberr(const DB *, ...); 58 DB * 86 __dberr(const DB *dbp, ...) 95 * dbp: pointer to the DB structure. 98 __dbpanic(DB *dbp) 101 dbp->del = (int (*)(const DB *, const DBT *, u_int))__dberr; 102 dbp->fd = (int (*)(const DB *))__dberr [all...] |
| /src/usr.sbin/netgroup_mkdb/ |
| netgroup_mkdb.c | 40 #include <db.h> 71 static DB *ng_insert(DB *, const char *); 72 static void ng_reventry(DB *, DB *, struct nentry *, char *, 75 static void ng_rprint(DB *, struct string *); 76 static DB *ng_reverse(DB *, size_t); 77 static DB *ng_load(const char *); 78 static void ng_write(DB *, DB *, int) 98 DB *db, *ndb, *hdb, *udb; local in function:main 203 DB *db; local in function:ng_load [all...] |
| /src/usr.bin/finger/ |
| extern.h | 37 extern DB *db; /* Database. */
|
| /src/sys/arch/luna68k/dev/xplx/ |
| xplx.asm | 401 DEBUG0:: .DB 0 402 DEBUG1:: .DB 0 403 DEBUG2:: .DB 0 404 DEBUG3:: .DB 0 405 DEBUG4:: .DB 0 406 DEBUG5:: .DB 0 407 DEBUG6:: .DB 0 408 DEBUG7:: .DB 0 409 DEBUG8:: .DB 0 410 DEBUG9:: .DB [all...] |
| /src/include/ |
| db.h | 1 /* $NetBSD: db.h,v 1.27 2016/09/24 20:11:43 christos Exp $ */ 31 * @(#)db.h 8.7 (Berkeley) 6/16/94 116 DBTYPE type; /* Underlying db type. */ 125 } DB; 230 DB *dbopen(const char *, int, mode_t, DBTYPE, const void *); 236 DB *__bt_open(const char *, int, mode_t, const BTREEINFO *, int); 237 DB *__hash_open(const char *, int, mode_t, const HASHINFO *, int); 238 DB *__rec_open(const char *, int, mode_t, const RECNOINFO *, int); 239 void __dbpanic(DB *);
|
| ndbm.h | 43 #include <db.h> 46 /* Map dbm interface onto db(3). */ 56 * The db(3) support for ndbm(3) always appends this suffix to the 59 #define DBM_SUFFIX ".db" 67 typedef DB DBM;
|
| /src/usr.sbin/ypserv/common/ |
| ypdb.h | 11 * This code is derived from ndbm module of BSD4.4 db (hash) by 43 #include <db.h> 46 #define YPDB_SUFFIX ".db" 60 typedef DB DBM;
|
| /src/tests/lib/libc/db/ |
| t_db_hash_seq.c | 36 #include <db.h> 92 state_close(DB *db) 94 if (db == NULL) 96 if ((*db->close)(db) == -1) 97 DO_ERR("%s: can't close db", __func__); 101 static DB * 104 DB *db; local in function:state_open 248 DB *db; local in function:testdb [all...] |
| h_db.c | 59 #include <db.h> 66 static void dump(DB *, int, int); 67 static void get(DB *, DBT *); 68 static void getdata(DB *, DBT *, DBT *); 69 static void put(DB *, DBT *, DBT *); 70 static void rem(DB *, DBT *); 72 static void synk(DB *); 74 static void seq(DB *, DBT *); 77 static void unlinkpg(DB *); 85 extern void __bt_stat(DB *); [all...] |
| /src/distrib/sets/ |
| syspkgdeps | 77 PATH_TO_PKGNAME="${SCRATCH}/pathpkg.db" 92 ${DB} -q -w -f - btree "${PATH_TO_PKGNAME}" < "${PATH_MEMBERSHIP}" 109 ${DB} -q -f - btree "${PATH_TO_PKGNAME}" < "${PARENT_PATHNAMES}" | \
|
| /src/lib/libc/db/hash/ |
| hash.c | 54 #include <db.h> 62 static int hash_close(DB *); 63 static int hash_delete(const DB *, const DBT *, uint32_t); 64 static int hash_fd(const DB *); 65 static int hash_get(const DB *, const DBT *, DBT *, uint32_t); 66 static int hash_put(const DB *, DBT *, const DBT *, uint32_t); 68 static int hash_seq(const DB *, DBT *, DBT *, uint32_t); 69 static int hash_sync(const DB *, uint32_t); 96 DB * 102 DB *dbp [all...] |
| /src/share/examples/refuse/id3fs/ |
| id3fs.c | 30 #include <db.h> 154 build_id3_tree(DB *db, virtdir_t *tp) 172 for (flag = R_FIRST ; (*db->seq)(db, &k, &v, flag) == 0 ; flag = R_NEXT) { 206 DB *db; local in function:main 219 (void) snprintf(name, sizeof(name), "%s/%s", (prefix) ? prefix : "/usr/music", ".id3.db"); 220 if ((db = dbopen(name, O_RDONLY, 0666, DB_BTREE, &bt)) == NULL) { 223 build_id3_tree(db, &id3) [all...] |
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| armada-370-db.dts | 4 * (DB-88F6710-BP-DDR3) 27 compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp"; 92 * "DB-88F6710_MPP_2xRGMII_DEVICE_Jumper" to a 94 * "DB-88F6710_MPP_RGMII_SD_Jumper". 113 simple-audio-card,name = "Armada 370 DB Audio";
|
| kirkwood-db.dtsi | 3 * Marvell DB-{88F6281,88F6282}-BP Development Board Setup
|