Searched refs:db (Results 151 - 175 of 486) sorted by relevance

1234567891011>>

/freebsd-current/usr.bin/finger/
H A Dutil.c39 #include <db.h>
153 if (db == NULL &&
154 (db = dbopen(NULL, O_RDWR, 0, DB_BTREE, NULL)) == NULL)
160 switch ((*db->get)(db, &key, &data, 0)) {
166 err(1, "db get");
176 if ((*db->put)(db, &key, &data, 0))
177 err(1, "db put");
190 if (!db)
[all...]
H A Dsprint.c38 #include <db.h>
86 r = (*db->seq)(db, &key, &data, sflag);
88 err(1, "db seq");
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dspace_map.c101 dmu_buf_t *db; local
103 block_base, FTAG, &db, DMU_READ_PREFETCH);
107 uint64_t *block_start = db->db_data;
114 ASSERT3U(blksz, ==, db->db_size);
188 dmu_buf_rele(db, FTAG);
206 dmu_buf_t *db; local
216 FTAG, &db, DMU_READ_NO_PREFETCH);
220 ASSERT3U(sm->sm_object, ==, db->db_object);
221 ASSERT3U(sm->sm_blksz, ==, db->db_size);
222 ASSERT3U(bufsz, >=, db
566 dmu_buf_t *db = *dbp; local
674 dmu_buf_t *db; local
[all...]
/freebsd-current/usr.sbin/cron/cron/
H A Dcron.c188 run_reboot_jobs(cron_db *db) argument
193 for (u = db->head; u != NULL; u = u->next) {
207 cron_tick(cron_db *db, int secres) argument
243 for (u = db->head; u != NULL; u = u->next) {
258 for (u = db->head; u != NULL; u = u->next) {
273 for (u = db->head; u != NULL; u = u->next) {
300 for (u = db->head; u != NULL; u = u->next) {
390 cron_sleep(cron_db *db, int secres) argument
411 cron_clean(db);
450 cron_clean(cron_db *db) argument
539 run_at_secres(cron_db *db) argument
[all...]
/freebsd-current/sys/dev/mlx4/mlx4_core/
H A Dmlx4_alloc.c701 struct mlx4_db *db, int order)
722 db->u.pgdir = pgdir;
723 db->index = i;
724 db->db = pgdir->db_page + db->index;
725 db->dma = pgdir->db_dma + db->index * 4;
726 db->order = order;
731 int mlx4_db_alloc(struct mlx4_dev *dev, struct mlx4_db *db, in argument
700 mlx4_alloc_db_from_pgdir(struct mlx4_db_pgdir *pgdir, struct mlx4_db *db, int order) argument
761 mlx4_db_free(struct mlx4_dev *dev, struct mlx4_db *db) argument
[all...]
/freebsd-current/usr.sbin/pkg/
H A Ddns_utils.c45 const struct dns_srvinfo *da, *db; local
49 db = *(struct dns_srvinfo * const *)b;
52 r = db->priority;
60 const struct dns_srvinfo *da, *db; local
65 db = *(struct dns_srvinfo * const *)b;
68 r = db->priority;
74 wr = db->finalweight;
/freebsd-current/contrib/wpa/src/ap/
H A Deap_user_db.c138 sqlite3 *db; local
180 if (sqlite3_open(hapd->conf->eap_user_sqlite, &db)) {
182 hapd->conf->eap_user_sqlite, sqlite3_errmsg(db));
183 sqlite3_close(db);
194 if (sqlite3_exec(db, cmd, get_user_cb, &hapd->tmp_eap_user, NULL) !=
197 "DB: Failed to complete SQL operation: %s db: %s",
198 sqlite3_errmsg(db), hapd->conf->eap_user_sqlite);
206 if (sqlite3_exec(db, cmd, get_wildcard_cb, &hapd->tmp_eap_user,
209 "DB: Failed to complete SQL operation: %s db: %s",
210 sqlite3_errmsg(db),
[all...]
/freebsd-current/lib/libc/net/
H A Dgetservent.c35 #include <db.h>
94 /* db backend declarations */
97 DB *db; member in struct:db_state
102 NSS_TLS_HANDLING(db); variable
467 /* db backend implementation */
471 DB *db; local
476 db = ((struct db_state *)p)->db;
477 if (db != NULL)
478 db
488 DB *db; local
614 DB *db; local
[all...]
/freebsd-current/crypto/openssl/apps/
H A Dca.c96 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
108 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
117 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
125 STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial,
131 static int get_certificate_status(const char *ser_status, CA_DB *db);
132 static int do_updatedb(CA_DB *db);
134 static int do_revoke(X509 *x509, CA_DB *db, REVINFO_TYPE rev_type,
233 {"updatedb", OPT_UPDATEDB, '-', "Updates db for expired cert"},
268 CA_DB *db = NULL; local
564 db
1377 certify(X509 **xret, const char *infile, int informat, EVP_PKEY *pkey, X509 *x509, const char *dgst, STACK_OF(OPENSSL_STRING) *sigopts, STACK_OF(OPENSSL_STRING) *vfyopts, STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, const char *subj, unsigned long chtype, int multirdn, int email_dn, const char *startdate, const char *enddate, long days, int batch, const char *ext_sect, CONF *lconf, int verbose, unsigned long certopt, unsigned long nameopt, int default_op, int ext_copy, int selfsign, unsigned long dateopt) argument
1435 certify_cert(X509 **xret, const char *infile, int certformat, const char *passin, EVP_PKEY *pkey, X509 *x509, const char *dgst, STACK_OF(OPENSSL_STRING) *sigopts, STACK_OF(OPENSSL_STRING) *vfyopts, STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, const char *subj, unsigned long chtype, int multirdn, int email_dn, const char *startdate, const char *enddate, long days, int batch, const char *ext_sect, CONF *lconf, int verbose, unsigned long certopt, unsigned long nameopt, int default_op, int ext_copy, unsigned long dateopt) argument
1492 do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const char *dgst, STACK_OF(OPENSSL_STRING) *sigopts, STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, const char *subj, unsigned long chtype, int multirdn, int email_dn, const char *startdate, const char *enddate, long days, int batch, int verbose, X509_REQ *req, const char *ext_sect, CONF *lconf, unsigned long certopt, unsigned long nameopt, int default_op, int ext_copy, int selfsign, unsigned long dateopt) argument
1993 certify_spkac(X509 **xret, const char *infile, EVP_PKEY *pkey, X509 *x509, const char *dgst, STACK_OF(OPENSSL_STRING) *sigopts, STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, const char *subj, unsigned long chtype, int multirdn, int email_dn, const char *startdate, const char *enddate, long days, const char *ext_sect, CONF *lconf, int verbose, unsigned long certopt, unsigned long nameopt, int default_op, int ext_copy, unsigned long dateopt) argument
2129 do_revoke(X509 *x509, CA_DB *db, REVINFO_TYPE rev_type, const char *value) argument
2235 get_certificate_status(const char *serial, CA_DB *db) argument
2302 do_updatedb(CA_DB *db) argument
[all...]
/freebsd-current/lib/libc/gen/
H A Dgetpwent.c59 #include <db.h>
73 /* Counter as stored in /etc/pwd.db */
132 DB *db; member in struct:files_state
173 DB *db; member in struct:compat_state
751 DB *db; local
755 db = ((struct files_state *)p)->db;
756 if (db != NULL)
757 db->close(db);
1545 compat_exclude(const char *name, DB **db) argument
1564 compat_is_excluded(const char *name, DB *db) argument
[all...]
H A Dgetutxent.c44 setutxdb(int db, const char *file) argument
48 switch (db) {
72 if (db != UTXDB_LOG) {
86 udb = db;
/freebsd-current/sys/dev/cxgbe/tom/
H A Dt4_ddp.c156 nitems(toep->ddp.db), ("too many wired pagesets"));
264 free_ddp_buffer(struct toepcb *toep, struct ddp_buffer *db) argument
267 if (db->drb != NULL)
268 free_ddp_rcv_buffer(toep, db->drb);
270 db->drb = NULL;
275 if (db->job) {
282 if (!aio_clear_cancel_function(db->job))
283 ddp_complete_one(db->job, 0);
285 db->job = NULL;
289 if (db
371 complete_ddp_buffer(struct toepcb *toep, struct ddp_buffer *db, unsigned int db_idx) argument
434 struct ddp_buffer *db; local
466 struct ddp_buffer *db; local
644 struct ddp_buffer *db; local
766 struct ddp_buffer *db; local
865 struct ddp_buffer *db; local
1022 struct ddp_buffer *db; local
1094 struct ddp_buffer *db; local
2326 struct ddp_buffer *db; local
[all...]
/freebsd-current/contrib/kyua/doc/
H A DMakefile.am.inc65 man_MANS += doc/kyua-db-exec.1
66 CLEANFILES += doc/kyua-db-exec.1
67 EXTRA_DIST += doc/kyua-db-exec.1.in
68 doc/kyua-db-exec.1: $(srcdir)/doc/kyua-db-exec.1.in $(MAN_DEPS)
69 $(AM_V_GEN)name=kyua-db-exec.1; $(BUILD_MANPAGE)
71 man_MANS += doc/kyua-db-migrate.1
72 CLEANFILES += doc/kyua-db-migrate.1
73 EXTRA_DIST += doc/kyua-db-migrate.1.in
74 doc/kyua-db
[all...]
/freebsd-current/crypto/heimdal/kdc/
H A Dkdc.h57 struct HDB **db; member in struct:krb5_kdc_configuration
/freebsd-current/contrib/nvi/common/
H A Dcommon.h17 #include <db.h>
H A Dline.c151 switch (ep->db->get(ep->db, &key, &data, 0)) {
225 if (ep->db->del(ep->db, &key, 0) == 1) {
277 if (ep->db->put(ep->db, &key, &data, R_IAFTER) == -1) {
349 if (ep->db->put(ep->db, &key, &data, R_IBEFORE) == -1) {
414 if (ep->db->put(ep->db,
[all...]
/freebsd-current/lib/libc/tests/
H A DMakefile7 TESTS_SUBDIRS+= db
/freebsd-current/share/zoneinfo/
H A DMakefile120 # If the file /var/db/zoneinfo exists, and it is owned by root:wheel,
124 @if [ -f ${DESTDIR}/var/db/zoneinfo -a -O ${DESTDIR}/var/db/zoneinfo \
125 -a -G ${DESTDIR}/var/db/zoneinfo ]; then \
126 zf=$$(cat ${DESTDIR}/var/db/zoneinfo); \
/freebsd-current/lib/libc/db/test/hash.tests/
H A Dtseq.c38 #include <db.h>
/freebsd-current/lib/libc/db/btree/
H A Dbt_page.c36 #include <db.h>
H A Dbt_get.c41 #include <db.h>
/freebsd-current/libexec/rc/rc.d/
H A Dmixer60 /usr/sbin/mixer -f ${dev} -o > /var/db/${1}-state 2>/dev/null
72 file="/var/db/${1}-state"
/freebsd-current/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_srq.c128 ucmd.db_addr, &srq->db);
132 err = mlx4_db_alloc(dev->dev, &srq->db, 0, GFP_KERNEL);
136 *srq->db.db = 0;
186 &srq->mtt, srq->db.dma, &srq->msrq);
205 mlx4_ib_db_unmap_user(ucontext, &srq->db);
219 mlx4_db_free(dev->dev, &srq->db);
282 &msrq->db);
287 mlx4_db_free(dev->dev, &msrq->db);
367 *srq->db
[all...]
/freebsd-current/contrib/llvm-project/lld/MachO/
H A DICF.cpp135 const auto *db = cast<Defined>(sb);
136 if (!da->isec || !db->isec) {
137 assert(da->isAbsolute() && db->isAbsolute());
138 return da->value + ra.addend == db->value + rb.addend;
142 isecB = db->isec;
143 valueB = db->value;
191 const auto *db = cast<Defined>(rb.referent.get<Symbol *>());
197 isecB = cast<ConcatInputSection>(db->isec);
223 const Defined *db = *itB; local
225 db
[all...]
/freebsd-current/usr.bin/kyua/
H A DMakefile21 kyua-db-exec.1 \
22 kyua-db-migrate.1 \

Completed in 333 milliseconds

1234567891011>>