/freebsd-current/sys/ddb/ |
H A D | ddb.h | 154 db##_table##_##_name##_add(void *arg __unused) \ 160 db##_table##_##_name##_add, NULL); \ 163 db##_table##_##_name##_del(void *arg __unused) \ 169 db##_table##_##_name##_del, NULL)
|
/freebsd-current/libexec/rc/rc.d/ |
H A D | var | 60 # have to make sure /var/db exists before doing the mount -a. 88 if [ -d /var/run -a -d /var/db -a -d /var/empty ] ; then
|
/freebsd-current/contrib/wpa/src/radius/ |
H A D | radius_server.c | 225 sqlite3 *db; member in struct:radius_server_data 249 static int db_table_exists(sqlite3 *db, const char *name) argument 254 return sqlite3_exec(db, cmd, NULL, NULL, NULL) == SQLITE_OK; 258 static int db_table_create_sim_provisioning(sqlite3 *db) argument 271 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { 307 if (sess->server->db) { 317 if (sqlite3_exec(sess->server->db, sql, NULL, NULL, 320 sqlite3_errmsg(sess->server->db)); 673 if (!sess->server->db || !sess->eap || 694 if (sqlite3_exec(sess->server->db, sq [all...] |
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | sa.c | 556 dmu_buf_t *db, sa_buf_type_t buftype, int full_space, int *index, 576 hdrsize = (SA_BONUSTYPE_FROM_DB(db) == DMU_OT_ZNODE) ? 0 : 1237 dmu_buf_impl_t *db; local 1246 db = SA_GET_DB(hdl, buftype); 1249 arc_release(db->db_buf, NULL); 1250 arc_buf_thaw(db->db_buf); 1278 dmu_buf_impl_t *db = SA_GET_DB(hdl, buftype); local 1279 dmu_object_type_t bonustype = SA_BONUSTYPE_FROM_DB(db); 1296 (u_longlong_t)db->db 555 sa_find_sizes(sa_os_t *sa, sa_bulk_attr_t *attr_desc, int attr_count, dmu_buf_t *db, sa_buf_type_t buftype, int full_space, int *index, int *total, boolean_t *will_spill) argument 1369 dmu_buf_t *db = hdl->sa_bonus; local 1390 sa_handle_get_from_db(objset_t *os, dmu_buf_t *db, void *userp, sa_handle_type_t hdl_type, sa_handle_t **handlepp) argument 1443 dmu_buf_t *db; local 1454 sa_buf_hold(objset_t *objset, uint64_t obj_num, const void *tag, dmu_buf_t **db) argument 1460 sa_buf_rele(dmu_buf_t *db, const void *tag) argument 1536 dmu_buf_t *db = sa_get_db(hdl); local 1854 dmu_buf_impl_t *db = (dmu_buf_impl_t *)hdl->sa_bonus; local [all...] |
H A D | brt.c | 552 dmu_buf_t *db; local 564 error = dmu_bonus_hold(brt->brt_mos, brtvd->bv_mos_brtvdev, FTAG, &db); 569 bvphys = db->db_data; 600 dmu_buf_rele(db, FTAG); 633 dmu_buf_t *db; local 647 VERIFY0(dmu_bonus_hold(brt->brt_mos, brtvd->bv_mos_brtvdev, FTAG, &db)); 648 bvphys = db->db_data; 652 dmu_buf_rele(db, FTAG); 798 dmu_buf_t *db; local 805 VERIFY0(dmu_bonus_hold(brt->brt_mos, brtvd->bv_mos_brtvdev, FTAG, &db)); [all...] |
/freebsd-current/contrib/wpa/hostapd/ |
H A D | hlr_auc_gw.c | 112 static int db_table_exists(sqlite3 *db, const char *name) argument 116 return sqlite3_exec(db, cmd, NULL, NULL, NULL) == SQLITE_OK; 120 static int db_table_create_milenage(sqlite3 *db) argument 134 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { 146 sqlite3 *db; local 148 if (sqlite3_open(db_file, &db)) { 150 db_file, sqlite3_errmsg(db)); 151 sqlite3_close(db); 155 if (!db_table_exists(db, "milenage") && 156 db_table_create_milenage(db) < [all...] |
/freebsd-current/crypto/heimdal/lib/kadm5/ |
H A D | ent_setup.c | 70 HDB *db, 82 ret = hdb_entry_set_password(context, db, &ent->entry, pw); 206 ret = perform_tl_data(context->context, context->db, ent, tl); 69 perform_tl_data(krb5_context context, HDB *db, hdb_entry_ex *ent, const krb5_tl_data *tl_data) argument
|
H A D | log.c | 305 ret = context->db->hdb_store(context->context, context->db, 0, &ent); 378 ret = context->db->hdb_remove(context->context, context->db, principal); 489 ret = context->db->hdb_store (context->context, context->db, 496 ret = context->db->hdb_remove (context->context, context->db, source); 586 ret = context->db->hdb_fetch_kvno(context->context, context->db, [all...] |
H A D | ipropd_master.c | 366 prop_one (krb5_context context, HDB *db, hdb_entry_ex *entry, void *v) argument 401 HDB *db; local 405 ret = hdb_create (context, &db, database); 408 ret = db->hdb_open (context, db, O_RDONLY, 0); 410 krb5_err (context, 1, ret, "db->open"); 429 ret = hdb_foreach (context, db, HDB_F_ADMIN_DATA, prop_one, s); 436 (*db->hdb_close)(context, db); 437 (*db [all...] |
H A D | ipropd_slave.c | 304 ret = server_context->db->hdb_open(context, 305 server_context->db, 308 krb5_err (context, 1, ret, "db->open"); 312 ret = server_context->db->hdb_close (context, server_context->db); 314 krb5_err (context, 1, ret, "db->close"); 358 asprintf(&dbname, "%s-NEW", server_context->db->hdb_name); 373 krb5_err (context, 1, ret, "db->open"); 434 ret = mydb->hdb_rename (context, mydb, server_context->db->hdb_name); 436 krb5_err (context, 1, ret, "db [all...] |
H A D | iprop-log.c | 391 ret = server_context->db->hdb_open(context, 392 server_context->db, 395 krb5_err (context, 1, ret, "db->open"); 407 ret = server_context->db->hdb_close (context, server_context->db); 409 krb5_err (context, 1, ret, "db->close");
|
/freebsd-current/crypto/heimdal/lib/hdb/ |
H A D | dbinfo.c | 51 struct hdb_dbinfo **db) 56 *db = NULL; 85 *db = di; 48 get_dbinfo(krb5_context context, const krb5_config_binding *db_binding, const char *label, struct hdb_dbinfo **db) argument
|
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | sa_impl.h | 227 type))->db.db_data)) 235 #define SA_BONUSTYPE_FROM_DB(db) \ 236 (dmu_get_bonustype((dmu_buf_t *)db))
|
/freebsd-current/usr.bin/finger/ |
H A D | lprint.c | 40 #include <db.h> 69 r = (*db->seq)(db, &key, &data, sflag); 71 err(1, "db seq");
|
/freebsd-current/contrib/ofed/opensm/opensm/ |
H A D | osm_perfmgr.c | 154 perfmgr_db_delete_entry(pm->db, pm->remove_list->guid); 156 perfmgr_db_mark_active(pm->db, pm->remove_list->guid, FALSE); 724 if (perfmgr_db_create_entry(pm->db, node_guid, mon_node->esp0, 734 perfmgr_db_mark_active(pm->db, node_guid, TRUE); 1156 perfmgr_db_destroy(pm->db); 1176 if (perfmgr_db_get_prev_err(pm->db, mon_node->guid, port, &prev_err) 1232 perfmgr_db_clear_prev_err(pm->db, mon_node->guid, port); 1365 perfmgr_db_clear_prev_err(pm->db, mon_node->guid, port); 1367 perfmgr_db_clear_prev_dc(pm->db, mon_node->guid, port); 1447 perfmgr_db_clear_prev_dc(pm->db, mon_nod [all...] |
/freebsd-current/crypto/openssl/apps/lib/ |
H A D | apps.c | 1672 retdb->db = tmpdb; 1706 int index_index(CA_DB *db) argument 1708 if (!TXT_DB_create_index(db->db, DB_serial, NULL, 1713 db->db->error, db->db->arg1, db->db 1731 save_index(const char *dbfile, const char *suffix, CA_DB *db) argument 1845 free_index(CA_DB *db) argument [all...] |
/freebsd-current/crypto/heimdal/kdc/ |
H A D | announce.c | 317 if (announce_config->db[i]->hdb_get_realms == NULL) 320 ret = (announce_config->db[i]->hdb_get_realms)(announce_context, &realms); 451 if (announce_config->db[i]->hdb_get_realms == NULL) 454 ret = (announce_config->db[i]->hdb_get_realms)(announce_context, announce_config->db[i], &realms);
|
/freebsd-current/usr.bin/bsdiff/bsdiff/ |
H A D | bsdiff.c | 128 u_char *db,*eb; local 175 if(((db=malloc(newsize+1))==NULL) || 259 db[dblen+i]=new[lastscan+i]-old[lastpos+i]; 298 BZ2_bzWrite(&bz2err, pfbz2, db, dblen); 329 free(db);
|
/freebsd-current/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_cq.c | 216 err = mlx4_ib_db_map_user(context, ucmd.db_addr, &cq->db); 222 err = mlx4_db_alloc(dev->dev, &cq->db, 1, GFP_KERNEL); 226 cq->mcq.set_ci_db = cq->db.db; 227 cq->mcq.arm_db = cq->db.db + 1; 242 cq->db.dma, &cq->mcq, vector, 0, 263 mlx4_ib_db_unmap_user(context, &cq->db); 274 mlx4_db_free(dev->dev, &cq->db); 480 &mcq->db); [all...] |
/freebsd-current/usr.sbin/pciconf/ |
H A D | pciconf.c | 798 FILE *db; local 811 if ((db = fopen(dbf, "r")) == NULL) { 813 if ((db = fopen(dbf, "r")) == NULL) 824 if (fgets(buf, sizeof(buf), db) == NULL) 886 if (ferror(db)) 888 fclose(db); 1098 uint8_t *db; local 1154 db = (uint8_t *)(uintptr_t)((uintptr_t)pbm.pbm_map_base + 1156 for (a = 0; a < count; a += width, db++) { 1157 res = fwrite(db, widt [all...] |
/freebsd-current/contrib/ofed/libmlx4/ |
H A D | verbs.c | 673 srq->db = mlx4_alloc_db(to_mctx(pd->context), MLX4_DB_TYPE_RQ); 674 if (!srq->db) 677 *srq->db = 0; 680 cmd.db_addr = (uintptr_t) srq->db; 691 mlx4_free_db(to_mctx(pd->context), MLX4_DB_TYPE_RQ, srq->db); 746 mlx4_free_db(to_mctx(srq->context), MLX4_DB_TYPE_RQ, to_msrq(srq)->db); 859 qp->db = mlx4_alloc_db(to_mctx(context), MLX4_DB_TYPE_RQ); 860 if (!qp->db) 863 *qp->db = 0; 864 cmd.db_addr = (uintptr_t) qp->db; [all...] |
/freebsd-current/contrib/sendmail/src/ |
H A D | map.c | 223 ** db_name -- The name of the db. 2269 DB *db = NULL; variable 2280 if (!smdb_add_extension(buf, sizeof(buf), map->map_file, "db")) 2284 syserr("db map \"%s\": map file %s name too long", 2383 db = dbopen(buf, omode, DBMMODE, dbtype, openinfo); 2400 ret = db_create(&db, NULL, 0); 2402 if (ret == 0 && db != NULL) 2404 ret = db->set_cachesize(db, 0, DB_CACHE_SIZE, 0); 2407 (void) db 2549 register DB *db = (DB *) map->map_db2; local 2708 register DB *db = map->map_db2; local 2810 register DB *db = map->map_db2; local [all...] |
/freebsd-current/contrib/nvi/common/ |
H A D | exf.c | 258 /* Open a db structure. */ 259 if ((ep->db = dbopen(rcv_name == NULL ? oname : NULL, 342 switch (file_lock(sp, oname, ep->db->fd(ep->db), 0)) { 437 if (ep->db != NULL) 438 (void)ep->db->close(ep->db); 686 * Close the db structure. 688 if (ep->db->close != NULL && ep->db [all...] |
/freebsd-current/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_resources.c | 78 context->db_rec_addr = cpu_to_be64(priv->res.db.dma << 2);
|
/freebsd-current/crypto/openssl/apps/include/ |
H A D | apps.h | 214 TXT_DB *db; member in struct:ca_db_st 234 int index_index(CA_DB *db); 235 int save_index(const char *dbfile, const char *suffix, CA_DB *db); 238 void free_index(CA_DB *db);
|