Home
last modified time | relevance | path

Searched refs:db (Results 126 – 150 of 339) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c37 SMDB_DATABASE *db; in smdb_malloc_database() local
39 db = (SMDB_DATABASE *) malloc(sizeof(SMDB_DATABASE)); in smdb_malloc_database()
41 if (db != NULL) in smdb_malloc_database()
42 (void) memset(db, '\0', sizeof(SMDB_DATABASE)); in smdb_malloc_database()
44 return db; in smdb_malloc_database()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetxby_door.c125 _nsc_use_backdoor(char *db) in _nsc_use_backdoor() argument
129 if (db && nsc_db_buf != NULL && nsc_db_list != NULL) { in _nsc_use_backdoor()
131 if (strcmp(db, *ndb) == 0) in _nsc_use_backdoor()
416 char *db = NULL; in _nsc_trydoorcall_ext() local
426 db = (char *)dbd + dbd->o_name; in _nsc_trydoorcall_ext()
438 if (db != NULL && backd->doorfd > 0 && fb2frontd == 0 && in _nsc_trydoorcall_ext()
439 _nsc_use_backdoor(db)) { in _nsc_trydoorcall_ext()
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dnldaputils.c306 const char *db, *filter, *udata; in idmap_nldap_bywinname_batch_add() local
324 db = "passwd"; in idmap_nldap_bywinname_batch_add()
340 db = "group"; in idmap_nldap_bywinname_batch_add()
419 q->lrc = __ns_ldap_list_batch_add(qs->batch, db, q->filter, in idmap_nldap_bywinname_batch_add()
447 const char *db, *filter, *udata; in idmap_nldap_bypid_batch_add() local
464 db = "passwd"; in idmap_nldap_bypid_batch_add()
470 db = "group"; in idmap_nldap_bypid_batch_add()
493 q->lrc = __ns_ldap_list_batch_add(qs->batch, db, q->filter, in idmap_nldap_bypid_batch_add()
513 const char *db, *filter, *udata; in idmap_nldap_byunixname_batch_add() local
531 db = "passwd"; in idmap_nldap_byunixname_batch_add()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sasl.c312 char *db[3] = {"hosts", "ipnodes", NULL}; in test_dns_nsswitch() local
315 for (i = 0; db[i] != NULL; i++) { in test_dns_nsswitch()
316 conf = __ns_nsw_getconfig(db[i], fname, &pserr); in test_dns_nsswitch()
322 fname, db[i], pserr); in test_dns_nsswitch()
338 "before dns"), db[i]); in test_dns_nsswitch()
367 "%s"), db[i], fname); in test_dns_nsswitch()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dsa.c1232 dmu_buf_impl_t *db; in sa_byteswap() local
1241 db = SA_GET_DB(hdl, buftype); in sa_byteswap()
1244 arc_release(db->db_buf, NULL); in sa_byteswap()
1245 arc_buf_thaw(db->db_buf); in sa_byteswap()
1345 dmu_buf_t *db = hdl->sa_bonus; in sa_handle_destroy() local
1391 handle->sa_bonus = db; in sa_handle_get_from_db()
1419 dmu_buf_t *db; in sa_handle_get() local
1438 dmu_buf_rele(db, tag); in sa_buf_rele()
1848 DB_DNODE_ENTER(db); in sa_modify_attrs()
1849 dn = DB_DNODE(db); in sa_modify_attrs()
[all …]
H A Dzfs_fuid.c113 dmu_buf_t *db; in zfs_fuid_table_load() local
118 FTAG, &db)); in zfs_fuid_table_load()
119 fuid_size = *(uint64_t *)db->db_data; in zfs_fuid_table_load()
120 dmu_buf_rele(db, FTAG); in zfs_fuid_table_load()
228 dmu_buf_t *db; in zfs_fuid_sync() local
279 FTAG, &db)); in zfs_fuid_sync()
280 dmu_buf_will_dirty(db, tx); in zfs_fuid_sync()
281 *(uint64_t *)db->db_data = zfsvfs->z_fuid_size; in zfs_fuid_sync()
282 dmu_buf_rele(db, FTAG); in zfs_fuid_sync()
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c336 int db = 0, got_from_switch = 0; in get_pk_source() local
351 db = PK_LDAP; in get_pk_source()
353 db = PK_YP; in get_pk_source()
355 db = PK_FILES; in get_pk_source()
364 db == PK_FILES ? "" : in get_pk_source()
368 return (db); /* all passed */ in get_pk_source()
726 char *db; in ldap_update() local
772 db = "passwd"; in ldap_update()
794 db = "hosts"; in ldap_update()
854 if ((__ns_ldap_list(db, filter, NULL, (const char **)attrFilter, in ldap_update()
/illumos-gate/usr/src/cmd/sendmail/src/
H A DMakefile48 -lnsl ../db/libdb.a -lldap -lsldap -lwrap -lumem \
52 INCPATH= -I. -I../include -I../db
74 ../libsmutil/libsmutil.a ../libsm/libsm.a ../db/libdb.a
H A Dmap.c2173 ret = db->open(db,
2219 fd = db->fd(db);
2222 errno = db->fd(db, &fd);
2228 (void) db->close(db);
2230 errno = db->close(db, 0);
2253 (void) db->sync(db, 0);
2345 fd = db->fd(db);
2348 errno = db->fd(db, &fd);
2587 (void) db->sync(db, 0);
2595 if (db->close(db) != 0)
[all …]
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dhook.test25 db commit_hook
35 db commit_hook ::commit_hook
36 db commit_hook
H A Dcapi2.test24 db close
25 set DB [sqlite db test.db]
160 do_test capi2-3.9b {db changes} {0}
167 do_test capi2-3.10b {db changes} {1}
171 do_test capi2-3.11b {db changes} {1}
179 do_test capi2-3.13b {db changes} {0}
302 sqlite db2 test.db
419 do_test capi2-7.4b {db changes} {1}
425 do_test capi2-7.5b {db changes} {2}
437 db changes
[all …]
H A Dbind.test22 db close
23 set DB [sqlite db test.db]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c1913 db_scope_match = db->dir_dscope == db->dir_sscope; in rule_matchscope()
1928 db->dir_sscope != IP6_SCOPE_LINKLOCAL) in rule_avoidlinklocal()
1930 if (db->dir_sscope == IP6_SCOPE_LINKLOCAL && in rule_avoidlinklocal()
1943 if (db->dir_sdeprecated) in rule_deprecated()
1977 if (da->dir_dmactype == db->dir_dmactype) in rule_native()
1981 isbtun = db->dir_dmactype == DL_IPV4 || db->dir_dmactype == DL_IPV6; in rule_native()
1994 if (da->dir_dscope == db->dir_dscope) in rule_scope()
1996 if (da->dir_dscope < db->dir_dscope) in rule_scope()
2022 db_commonbits = ip_addr_commonbits_v6(&db->dir_daddr, &db->dir_saddr); in rule_prefix()
2038 dstcmp(const void *da, const void *db) in dstcmp() argument
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dparam.h270 #define dbtob(db) /* calculates (db * DEV_BSIZE) */ \ argument
271 ((unsigned long)(db) << DEV_BSHIFT)
276 #define ldbtob(db) /* calculates (db * DEV_BSIZE) */ \ argument
277 ((u_offset_t)(db) << DEV_BSHIFT)
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dbuild_kernel_data.sh31 if ! $DATA_DIR/db/create_db.sh -p=kernel smatch_warns.txt ; then
48 $DATA_DIR/db/create_db.sh -p=kernel smatch_warns.txt
H A Dbuild_generic_data.sh48 if ! $SCRIPT_DIR/../smatch_data/db/create_db.sh -p=$PROJECT smatch_warns.txt ; then
73 $SCRIPT_DIR/../smatch_data/db/create_db.sh -p=$PROJECT smatch_warns.txt
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dndbm3 #include <db.h>
13 #include <db.h>
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_spq.c312 struct core_db_data db; in ecore_spq_hw_post() local
324 OSAL_MEMSET(&db, 0, sizeof(db)); in ecore_spq_hw_post()
325 SET_FIELD(db.params, CORE_DB_DATA_DEST, DB_DEST_XCM); in ecore_spq_hw_post()
326 SET_FIELD(db.params, CORE_DB_DATA_AGG_CMD, DB_AGG_CMD_SET); in ecore_spq_hw_post()
327 SET_FIELD(db.params, CORE_DB_DATA_AGG_VAL_SEL, DQ_XCM_CORE_SPQ_PROD_CMD); in ecore_spq_hw_post()
328 db.agg_flags = DQ_XCM_CORE_DQ_CF_CMD; in ecore_spq_hw_post()
329 db.spq_prod = OSAL_CPU_TO_LE16(ecore_chain_get_prod_idx(p_chain)); in ecore_spq_hw_post()
334 DOORBELL(p_hwfn, DB_ADDR(p_spq->cid, DQ_DEMS_LEGACY), *(u32 *)&db); in ecore_spq_hw_post()
341 DB_ADDR(p_spq->cid, DQ_DEMS_LEGACY), p_spq->cid, db.params, in ecore_spq_hw_post()
342 db.agg_flags, ecore_chain_get_prod_idx(p_chain)); in ecore_spq_hw_post()
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsddi.c617 struct datab *db; in rds_wput_other() local
620 db = mp->b_datap; in rds_wput_other()
621 switch (db->db_type) { in rds_wput_other()
711 cmn_err(CE_PANIC, "types %d \n", db->db_type); in rds_wput_other()
718 struct datab *db; in rds_wput() local
721 db = mp->b_datap; in rds_wput()
722 switch (db->db_type) { in rds_wput()
831 struct datab *db; in rds_wrw() local
834 db = mp->b_datap; in rds_wrw()
836 switch (db->db_type) { in rds_wrw()
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1656 dmu_buf_t *db; in ztest_replay_create() local
1804 dmu_buf_t *db; in ztest_replay_write() local
1967 dmu_buf_t *db; in ztest_replay_setattr() local
2091 dmu_buf_t *db; in ztest_get_data() local
2116 db = NULL; in ztest_get_data()
2208 dmu_buf_t *db; in ztest_lookup() local
5271 dmu_buf_t *db; in ztest_verify_dnode_bt() local
5913 dmu_buf_t *db; in ztest_ddt_repair() local
5974 ASSERT(ztest_pattern_match(db->db_data, db->db_size, pattern) || in ztest_ddt_repair()
5975 ztest_pattern_match(db->db_data, db->db_size, 0ULL)); in ztest_ddt_repair()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-ndbm.h87 int dbm_error __P((DBM *db));
88 int dbm_clearerr __P((DBM *db));
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dprintf.c794 sqlite *db, /* An open database */ in sqlite_exec_printf() argument
805 rc = sqlite_exec_vprintf(db, sqlFormat, xCallback, pArg, errmsg, ap); in sqlite_exec_printf()
810 sqlite *db, /* An open database */ in sqlite_exec_vprintf() argument
821 rc = sqlite_exec(db, zSql, xCallback, pArg, errmsg); in sqlite_exec_vprintf()
826 sqlite *db, /* An open database */ in sqlite_get_table_printf() argument
838 rc = sqlite_get_table_vprintf(db, sqlFormat, resultp, nrow, ncol, errmsg, ap); in sqlite_get_table_printf()
843 sqlite *db, /* An open database */ in sqlite_get_table_vprintf() argument
855 rc = sqlite_get_table(db, zSql, resultp, nrow, ncolumn, errmsg); in sqlite_get_table_vprintf()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Ddbtab.c67 DBM *db; /* open dbm database */ member
266 data = dbm_fetch(newp->db, key); in db_get_db()
283 if (newp->db != NULL) { in db_get_db()
284 dbm_close(newp->db); in db_get_db()
479 error = dbm_error(dbp->db); in store_record()
480 dbm_clearerr(dbp->db); in store_record()
524 data = dbm_fetch(dbp->db, key); in fetch_record()
527 if (dbm_error(dbp->db)) { in fetch_record()
529 dbm_clearerr(dbp->db); in fetch_record()
586 error = dbm_error(dbp->db); in delete_record()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Drestore_repository.sh154 There are no available backups of $myroot$repositorydir/$repository.db.
164 The following backups of $myroot$repositorydir/$repository.db exist, from
202 file="$myroot"lib/svc/seed/global.db
204 file="$myroot"lib/svc/seed/nonglobal.db
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_put.c203 char *dest, db[NOVFLSIZE]; local
214 tdata.data = db;
216 *(db_pgno_t *)db = pg;
217 *(u_int32_t *)(db + sizeof(db_pgno_t)) = data->size;

12345678910>>...14