/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | dmu.c | 173 dmu_buf_impl_t *db; local 177 db = dbuf_hold(dn, blkid, tag); 180 if (db == NULL) { 185 *dbp = &db->db; 195 dmu_buf_impl_t *db; local 203 db = dbuf_hold(dn, blkid, tag); 207 if (db == NULL) { 212 *dbp = &db->db; 230 dmu_buf_impl_t *db = (dmu_buf_impl_t *)(*dbp); local 255 dmu_buf_impl_t *db = (dmu_buf_impl_t *)(*dbp); local 275 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local 298 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local 321 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local 356 dmu_buf_impl_t *db; local 430 dmu_buf_impl_t *db = NULL; local 458 dmu_buf_impl_t *db = (dmu_buf_impl_t *)bonus; local 488 dmu_buf_impl_t *db = (dmu_buf_impl_t *)bonus; local 571 dmu_buf_impl_t *db = dbuf_hold(dn, blkid + i, tag); local 625 dmu_buf_impl_t *db = (dmu_buf_impl_t *)dbp[i]; local 670 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local 1088 dmu_buf_t *db = dbp[i]; local 1138 dmu_buf_t *db = dbp[i]; local 1212 dmu_buf_t *db = dbp[i]; local 1224 dmu_buf_t *db; local 1271 dmu_buf_t *db = dbp[i]; local 1303 dmu_buf_impl_t *db = (dmu_buf_impl_t *)zdb; local 1359 dmu_buf_t *db = dbp[i]; local 1405 dmu_buf_impl_t *db = (dmu_buf_impl_t *)zdb; local 1453 dmu_buf_impl_t *db = (dmu_buf_impl_t *)handle; local 1503 dmu_buf_impl_t *db; local 1563 dmu_buf_t *db = dsa->dsa_zgd->zgd_db; local 1592 dmu_buf_impl_t *db = dr->dr_dbuf; local 1778 dmu_buf_impl_t *db = (dmu_buf_impl_t *)zgd->zgd_db; local 2222 dmu_buf_impl_t *db; local 2318 dmu_buf_impl_t *db; local 2459 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local 2473 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local 2489 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local [all...] |
/freebsd-current/contrib/sendmail/libsmdb/ |
H A D | smndbm.c | 76 SMDB_DBM_DATABASE *db; local 78 db = (SMDB_DBM_DATABASE *) malloc(sizeof(SMDB_DBM_DATABASE)); 79 if (db != NULL) 81 db->smndbm_dbm = NULL; 82 db->smndbm_lock_fd = -1; 83 db->smndbm_cursor_in_use = false; 86 return db; 93 SMDB_DBM_DATABASE *db = (SMDB_DBM_DATABASE *) database->smdb_impl; local 97 if (db->smndbm_lock_fd != -1) 98 close(db 155 SMDB_DBM_DATABASE *db = (SMDB_DBM_DATABASE *) database->smdb_impl; local 282 SMDB_DBM_DATABASE *db = dbm_cursor->smndbmc_db; local 301 SMDB_DBM_DATABASE *db = dbm_cursor->smndbmc_db; local 329 SMDB_DBM_DATABASE *db = dbm_cursor->smndbmc_db; local 392 SMDB_DBM_DATABASE *db = dbm_cursor->smndbmc_db; local 431 SMDB_DBM_DATABASE *db = (SMDB_DBM_DATABASE *) database->smdb_impl; local 503 SMDB_DBM_DATABASE *db; local [all...] |
/freebsd-current/contrib/ofed/opensm/opensm/ |
H A D | osm_perfmgr_db.c | 60 perfmgr_db_t *db = malloc(sizeof(*db)); local 61 if (!db) 64 cl_qmap_init(&db->pc_data); 65 cl_plock_construct(&db->lock); 66 cl_plock_init(&db->lock); 67 db->perfmgr = perfmgr; 68 return db; 73 void perfmgr_db_destroy(perfmgr_db_t * db) argument 77 if (db) { 92 get(perfmgr_db_t * db, uint64_t guid) argument 164 insert(perfmgr_db_t * db, db_node_t * node) argument 175 perfmgr_db_create_entry(perfmgr_db_t * db, uint64_t guid, boolean_t esp0, uint8_t num_ports, char *name) argument 200 perfmgr_db_update_name(perfmgr_db_t * db, uint64_t node_guid, char *name) argument 213 perfmgr_db_delete_entry(perfmgr_db_t * db, uint64_t guid) argument 226 perfmgr_db_delete_inactive(perfmgr_db_t * db, unsigned *cnt) argument 268 perfmgr_db_mark_active(perfmgr_db_t *db, uint64_t guid, boolean_t active) argument 285 debug_dump_err_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port_num, db_port_t * port, perfmgr_db_err_reading_t * cur) argument 354 perfmgr_db_add_err_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_err_reading_t * reading) argument 434 perfmgr_db_get_prev_err(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_err_reading_t * reading) argument 455 perfmgr_db_clear_prev_err(perfmgr_db_t * db, uint64_t guid, uint8_t port) argument 477 debug_dump_dc_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port_num, db_port_t * port, perfmgr_db_data_cnt_reading_t * cur) argument 504 perfmgr_db_add_dc_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_data_cnt_reading_t * reading, int ietf_sup) argument 569 perfmgr_db_get_prev_dc(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_data_cnt_reading_t * reading) argument 590 perfmgr_db_clear_prev_dc(perfmgr_db_t * db, uint64_t guid, uint8_t port) argument 650 perfmgr_db_clear_counters(perfmgr_db_t * db) argument 951 perfmgr_db_print_all(perfmgr_db_t * db, FILE *fp, int err_only) argument 970 perfmgr_db_print_by_name(perfmgr_db_t * db, char *nodename, FILE *fp, char *port, int err_only) argument 998 perfmgr_db_print_by_guid(perfmgr_db_t * db, uint64_t nodeguid, FILE *fp, char *port, int err_only) argument 1018 perfmgr_db_dump(perfmgr_db_t * db, char *file, perfmgr_db_dump_t dump_type) argument [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/db/ |
H A D | h_lfsr.c | 38 #include <db.h> 62 DB *db; local 77 db = dbopen(NULL, O_CREAT|O_TRUNC|O_RDWR, 0, DB_HASH, &hi); 78 if (db == NULL) 87 switch ((*db->put)(db, &key, &val, R_NOOVERWRITE)) { 109 switch ((*db->get)(db, &key, &val, 0)) { 140 switch ((*db->del)(db, [all...] |
/freebsd-current/lib/libc/iconv/ |
H A D | citrus_esdb.c | 77 struct _citrus_db *db; local 83 /* open db */ 84 ret = _db_open(&db, fr, _CITRUS_ESDB_MAGIC, &_db_hash_std, NULL); 89 ret = _db_lookup32_by_s(db, _CITRUS_ESDB_SYM_VERSION, &version, NULL); 103 ret = _db_lookupstr_by_s(db, _CITRUS_ESDB_SYM_ENCODING, &str, NULL); 114 ret = _db_lookupstr_by_s(db, _CITRUS_ESDB_SYM_VARIABLE, &str, NULL); 126 ret = _db_lookup32_by_s(db, _CITRUS_ESDB_SYM_NUM_CHARSETS, 133 ret = _db_lookup32_by_s(db, _CITRUS_ESDB_SYM_INVALID, &tmp, NULL); 151 ret = _db_lookup32_by_s(db, buf, &csid, NULL); 158 ret = _db_lookupstr_by_s(db, bu 192 _citrus_esdb_open(struct _citrus_esdb *db, const char *esname) argument 227 _citrus_esdb_close(struct _citrus_esdb *db) argument [all...] |
/freebsd-current/sys/contrib/openzfs/scripts/ |
H A D | mancheck.sh | 46 grep -vhE -e 'mandoc: outdated mandoc.db' -e 'STYLE: referenced manual not found' $add_excl "$stdout_file" "$stderr_file" > "$result_file"
|
/freebsd-current/usr.sbin/services_mkdb/ |
H A D | Makefile | 16 ${SERVICES_MKDB_CMD} ${CAP_MKDB_ENDIAN} -q -o ${DESTDIR}/var/db/services.db \ 19 echo ".${DISTBASE}/var/db/services.db type=file mode=0644 uname=root gname=wheel" | \
|
/freebsd-current/lib/libc/db/recno/ |
H A D | Makefile.inc | 2 .PATH: ${LIBC_SRCTOP}/db/recno
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | scache.c | 43 sqlite3 *db; member in struct:krb5_scache 182 if (s->db) 183 sqlite3_close(s->db); 196 prepare_stmt(krb5_context context, sqlite3 *db, argument 201 ret = sqlite3_prepare_v2(db, str, -1, stmt, NULL); 205 str, sqlite3_errmsg(db)); 212 exec_stmt(krb5_context context, sqlite3 *db, const char *str, argument 217 ret = sqlite3_exec(db, str, NULL, NULL, NULL); 221 sqlite3_errmsg(db)); 228 default_db(krb5_context context, sqlite3 **db) argument 257 sqlite3 *db; local 453 bind_principal(krb5_context context, sqlite3 *db, sqlite3_stmt *stmt, int col, krb5_const_principal principal) argument 1150 sqlite3 *db; member in struct:cache_iter [all...] |
/freebsd-current/contrib/kyua/store/ |
H A D | write_backend_test.cpp | 57 sqlite::database db = sqlite::database::in_memory(); local 59 const store::metadata md = store::detail::initialize(db); 67 db.exec("SELECT * FROM metadata"); 70 sqlite::statement stmt = db.create_statement( 84 sqlite::database db = sqlite::database::in_memory(); local 87 store::detail::initialize(db)); 99 sqlite::database db = sqlite::database::in_memory(); local 101 store::detail::initialize(db)); 133 sqlite::database db = sqlite::database::open( local 134 fs::path("test.db"), sqlit 151 sqlite::database db = sqlite::database::open( local [all...] |
/freebsd-current/crypto/heimdal/kdc/ |
H A D | misc.c | 44 HDB **db, 65 if (!(config->db[i]->hdb_capability_flags & HDB_CAP_F_HANDLE_ENTERPRISE_PRINCIPAL) 86 ret = config->db[i]->hdb_open(context, config->db[i], O_RDONLY, 0); 94 ret = config->db[i]->hdb_fetch_kvno(context, 95 config->db[i], 103 config->db[i]->hdb_close(context, config->db[i]); 105 if (db) 106 *db 39 _kdc_db_fetch(krb5_context context, krb5_kdc_configuration *config, krb5_const_principal principal, unsigned flags, krb5uint32 *kvno_ptr, HDB **db, hdb_entry_ex **h) argument [all...] |
/freebsd-current/contrib/kyua/utils/sqlite/ |
H A D | statement.cpp | 77 /// \param db The database the call was made on. 84 handle_bind_error(sqlite::database& db, const char* api_function, argument 95 throw sqlite::api_error::from_database(db, api_function); 106 sqlite::database& db; member in struct:utils::sqlite::statement::impl 123 db(db_), 148 /// \param db The database this statement belongs to. 151 sqlite::statement::statement(database& db, void* raw_stmt) : argument 152 _pimpl(new impl(db, static_cast< ::sqlite3_stmt* >(raw_stmt))) 200 throw api_error::from_database(_pimpl->db, "sqlite3_step"); 226 throw api_error::from_database(_pimpl->db, "sqlite3_column_nam [all...] |
/freebsd-current/crypto/openssl/crypto/rsa/ |
H A D | rsa_oaep.c | 63 unsigned char *db, *seed; local 99 db = to + mdlen + 1; 102 if (!EVP_Digest((void *)param, plen, db, NULL, md, NULL)) 105 memset(db + mdlen, 0, emlen - flen - 2 * mdlen - 1); 107 db[emlen - flen - mdlen - 1] = 0x01; 108 memcpy(db + emlen - flen - mdlen, from, (unsigned int)flen); 125 db[i] ^= dbmask[i]; 128 if (PKCS1_MGF1(seedmask, mdlen, db, dbmask_len, mgf1md) < 0) 171 unsigned char *db = NULL, *em = NULL, seed[EVP_MAX_MD_SIZE], local 205 db [all...] |
/freebsd-current/contrib/sendmail/include/sm/ |
H A D | bdb.h | 17 # include <db.h>
|
/freebsd-current/lib/libc/tests/db/ |
H A D | Makefile | 15 CFLAGS+= -I${SRCTOP}/lib/libc/db/btree
|
/freebsd-current/share/i18n/esdb/ |
H A D | Makefile | 9 FILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db 18 esdb.dir.db: esdb.dir 27 esdb.alias.db: esdb.alias
|
/freebsd-current/lib/libc/db/man/ |
H A D | Makefile.inc | 2 .PATH: ${LIBC_SRCTOP}/db/man 16 MLINKS+= dbopen.3 db.3
|
/freebsd-current/sys/geom/part/ |
H A D | g_part_ldm.c | 437 ldm_privhdr_check(struct ldm_db *db, struct g_consumer *cp, int is_gpt) argument 465 offset += db->ph.db_offset; 472 db->ph.db_offset = last - LDM_DB_SIZE; 508 if (found != 0 && memcmp(&db->ph, &hdr, sizeof(hdr)) != 0) { 528 memcpy(&db->ph, &hdr, sizeof(hdr)); 540 ldm_gpt_check(struct ldm_db *db, struct g_consumer *cp) argument 554 if (e->gpe_start != db->ph.db_offset || 555 e->gpe_end != db->ph.db_offset + LDM_DB_SIZE - 1) 559 if (e->gpe_start != db->ph.start || 560 e->gpe_end != db 576 ldm_tochdr_check(struct ldm_db *db, struct g_consumer *cp) argument 634 ldm_vmdbhdr_check(struct ldm_db *db, struct g_consumer *cp) argument 699 ldm_xvblk_handle(struct ldm_db *db, struct ldm_vblkhdr *vh, const u_char *p) argument 771 ldm_vblk_handle(struct ldm_db *db, const u_char *p, size_t size) argument 985 ldm_vmdb_free(struct ldm_db *db) argument 1004 ldm_vmdb_parse(struct ldm_db *db, struct g_consumer *cp) argument 1346 struct ldm_db db; local [all...] |
/freebsd-current/contrib/elftoolchain/libelf/ |
H A D | libelf_xlate.c | 52 uintptr_t sb, se, db, de; local 114 db = (uintptr_t) dst->d_buf; 115 de = db + (size_t) dst->d_size; 118 * Check for overlapping buffers. Note that db == sb is 121 if (db != sb && de > sb && se > db) { 126 if ((direction == ELF_TOMEMORY ? db : sb) % 138 (db == sb && !byteswap && fsz == msz))
|
/freebsd-current/contrib/sendmail/include/libsmdb/ |
H A D | smdb.h | 53 ** db -- The database to close. 60 typedef int (*db_close_func) __P((SMDB_DATABASE *db)); 66 ** db -- The database to close. 76 typedef int (*db_del_func) __P((SMDB_DATABASE *db, 83 ** db -- The database to close. 91 typedef int (*db_fd_func) __P((SMDB_DATABASE *db, int* fd)); 97 ** db -- The database to close. 108 typedef int (*db_get_func) __P((SMDB_DATABASE *db, 116 ** db -- The database to close. 128 typedef int (*db_put_func) __P((SMDB_DATABASE *db, [all...] |
/freebsd-current/crypto/heimdal/lib/kadm5/ |
H A D | create_s.c | 127 ret = hdb_seal_keys(context->context, context->db, &ent.entry); 131 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0); 134 ret = context->db->hdb_store(context->context, context->db, 0, &ent); 135 context->db->hdb_close(context->context, context->db); 180 ret = hdb_seal_keys(context->context, context->db, &ent.entry); 184 ret = context->db->hdb_open(context->context, context->db, O_RDW [all...] |
H A D | get_princs_s.c | 58 foreach(krb5_context context, HDB *db, hdb_entry_ex *ent, void *data) argument 88 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0); 103 ret = hdb_foreach(context->context, context->db, HDB_F_ADMIN_DATA, foreach, &d); 104 context->db->hdb_close(context->context, context->db);
|
/freebsd-current/sys/dev/firewire/ |
H A D | fwohci.c | 819 #define LAST_DB(dbtr, db) do { \ 822 db = &_dbtr->db[ (_cnt > 2) ? (_cnt -1) : 0]; \ 829 struct fwohcidb *db; local 834 db = &db_tr->db[db_tr->dbcnt]; 842 FWOHCI_DMA_WRITE(db->db.desc.addr, s->ds_addr); 843 FWOHCI_DMA_WRITE(db->db 868 struct fwohcidb *db; local 1063 struct fwohcidb *db; local 1342 struct fwohcidb *db; local 1401 struct fwohcidb *db; local 1531 struct fwohcidb *db; local 1661 struct fwohcidb *db; local 2136 struct fwohcidb *db; local 2381 print_db(struct fwohcidb_tr *db_tr, struct fwohcidb *db, uint32_t ch, uint32_t max) argument 2505 struct fwohcidb *db; local 2572 struct fwohcidb *db = db_tr->db; local 2604 struct fwohcidb *db = db_tr->db; local 2737 struct fwohcidb *db = &db_tr->db[0]; local [all...] |
/freebsd-current/contrib/ofed/libmlx5/ |
H A D | dbrec.c | 86 uint32_t *db = NULL; local 108 db = page->buf.buf + (i * 8 * sizeof(long) + j) * context->cache_line_size; 113 return db; 116 void mlx5_free_db(struct mlx5_context *context, uint32_t *db) argument 125 if (((uintptr_t) db & ~(ps - 1)) == (uintptr_t) page->buf.buf) 131 i = ((void *) db - page->buf.buf) / context->cache_line_size;
|
/freebsd-current/crypto/heimdal/lib/hdb/ |
H A D | hdb.c | 68 { HDB_INTERFACE_VERSION, "db:", hdb_db_create}, 71 { HDB_INTERFACE_VERSION, "mit-db:", hdb_mdb_create}, 186 HDB *db, 193 ret = db->hdb_firstkey(context, db, flags, &entry); 197 ret = (*func)(context, db, &entry, data); 200 ret = db->hdb_nextkey(context, db, flags, &entry); 208 hdb_check_db_format(krb5_context context, HDB *db) argument 216 ret = db 185 hdb_foreach(krb5_context context, HDB *db, unsigned flags, hdb_foreach_func_t func, void *data) argument 238 hdb_init_db(krb5_context context, HDB *db) argument 452 hdb_create(krb5_context context, HDB **db, const char *filename) argument [all...] |