Searched refs:db (Results 1 - 25 of 195) sorted by relevance

12345678

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c41 #include <db.h>
54 DB *db; local
65 db = dbopen(filename, O_RDWR | O_CREAT | O_EXCL, 0600, DB_BTREE, &btinfo);
66 if (db == NULL)
68 if (db->close(db) < 0)
71 /* only create the lock file if we successfully created the db */
141 osa_adb_db_t db; local
149 db = (osa_adb_princ_t) malloc(sizeof(osa_adb_db_ent));
150 if (db
253 osa_adb_fini_db(osa_adb_db_t db, int magic) argument
284 osa_adb_get_lock(osa_adb_db_t db, int mode) argument
370 osa_adb_release_lock(osa_adb_db_t db) argument
394 osa_adb_open_and_lock(osa_adb_princ_t db, int locktype) argument
426 osa_adb_close_and_unlock(osa_adb_princ_t db) argument
[all...]
H A Dadb_policy.c40 #define OPENLOCK(db, mode) \
43 if (db == NULL) \
45 else if (db->magic != OSA_ADB_POLICY_DB_MAGIC) \
47 else if ((olret = osa_adb_open_and_lock(db, mode)) != OSA_ADB_OK) \
51 #define CLOSELOCK(db) \
54 if ((cl_ret = osa_adb_close_and_unlock(db)) != OSA_ADB_OK) \
62 * Purpose: create a policy entry in the policy db.
72 * creates the entry in the db
75 * the policy db.
79 osa_adb_create_policy(osa_adb_policy_t db, osa_policy_ent_ argument
154 osa_adb_destroy_policy(osa_adb_policy_t db, char *name) argument
207 osa_adb_get_policy(osa_adb_policy_t db, char *name, osa_policy_ent_t *entry, int *cnt) argument
282 osa_adb_put_policy(osa_adb_policy_t db, osa_policy_ent_t entry) argument
349 osa_adb_iter_policy(osa_adb_policy_t db, osa_adb_iter_policy_func func, void *data) argument
[all...]
H A Dpolicy_db.h23 configure script doesn't detect it, it causes db-config.h to have a
24 #define for u_int32_t, so including db.h and then netinet/in.h
31 A better fix might be for db.h to include netinet/in.h if that's
41 #include <db.h>
63 DB *db; member in struct:_osa_adb_db_ent_t
87 krb5_error_code osa_adb_fini_db(osa_adb_db_t db, int magic);
88 krb5_error_code osa_adb_get_lock(osa_adb_db_t db, int mode);
89 krb5_error_code osa_adb_release_lock(osa_adb_db_t db);
90 krb5_error_code osa_adb_open_and_lock(osa_adb_princ_t db, int locktype);
91 krb5_error_code osa_adb_close_and_unlock(osa_adb_princ_t db);
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c60 #define dbm_dirty(db) ((db)->dbm_flags & _DBM_DIRTY)
61 #define dbm_dirdirty(db) ((db)->dbm_flags & _DBM_DIRDIRTY)
62 #define dbm_defwrite(db) ((db)->dbm_flags & _DBM_DEFWRITE)
63 #define dbm_setdirty(db) (db)->dbm_flags |= _DBM_DIRTY
64 #define dbm_clrdirty(db) (db)
89 dbm_setdefwrite(DBM *db) argument
97 dbm_error(DBM *db) argument
105 dbm_clearerr(DBM *db) argument
111 dbm_flush(DBM *db) argument
122 dbm_flushpag(DBM *db) argument
140 dbm_flushdir(DBM *db) argument
162 DBM *db; local
213 dbm_close(DBM *db) argument
220 dbm_close_status(DBM *db) argument
236 dbm_forder(DBM *db, datum key) argument
251 dbm_fetch(DBM *db, datum key) argument
271 dbm_delete(DBM *db, datum key) argument
303 dbm_store(DBM *db, datum key, datum dat, int replace) argument
402 dbm_hashinc(DBM *db, unsigned long hash) argument
423 dbm_firsthash(DBM *db, unsigned long hash) argument
454 dbm_firstkey(DBM *db) argument
475 dbm_nextkey(DBM *db) argument
492 dbm_slow_nextkey(DBM *db) argument
541 dbm_do_nextkey(DBM *db, datum inkey) argument
717 dbm_access(DBM *db, unsigned long hash) argument
782 getbit(DBM *db) argument
807 setbit(DBM *db) argument
[all...]
H A Dgtxt.c110 struct db_info *db; local
133 if ((db = libc_realloc(db_info,
138 db_info = db;
142 db = &db_info[i];
143 db->flag = 0;
144 (void) strcpy(db->db_name, catname);
145 db->saved_locale = libc_strdup(curloc);
146 if (db->saved_locale == NULL) {
150 db->flag = DB_OPEN;
153 db
178 unload_db(struct db_info *db) argument
199 lookup_cache(struct db_info *db, const char *curloc, const char *catname) argument
224 valid_msg(struct db_info *db, int id) argument
238 msg(struct db_info *db, int id) argument
259 struct db_info *db; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddbuf.c52 static boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
139 dmu_buf_impl_t *db = vdb; local
140 bzero(db, sizeof (dmu_buf_impl_t));
142 mutex_init(&db->db_mtx, NULL, MUTEX_DEFAULT, NULL);
143 cv_init(&db->db_changed, NULL, CV_DEFAULT, NULL);
144 multilist_link_init(&db->db_cache_link);
145 refcount_create(&db->db_holds);
154 dmu_buf_impl_t *db = vdb; local
155 mutex_destroy(&db->db_mtx);
156 cv_destroy(&db
199 dmu_buf_impl_t *db; local
220 dmu_buf_impl_t *db = NULL; local
241 dbuf_hash_insert(dmu_buf_impl_t *db) argument
277 dbuf_hash_remove(dmu_buf_impl_t *db) argument
311 dbuf_verify_user(dmu_buf_impl_t *db, dbvu_verify_type_t verify_type) argument
348 dbuf_evict_user(dmu_buf_impl_t *db) argument
387 dbuf_is_metadata(dmu_buf_impl_t *db) argument
412 dmu_buf_impl_t *db = obj; local
470 dmu_buf_impl_t *db = multilist_sublist_tail(mls); local
672 dbuf_verify(dmu_buf_impl_t *db) argument
817 dbuf_clear_data(dmu_buf_impl_t *db) argument
828 dbuf_set_data(dmu_buf_impl_t *db, arc_buf_t *buf) argument
842 dbuf_loan_arcbuf(dmu_buf_impl_t *db) argument
903 dmu_buf_impl_t *db = vdb; local
935 dbuf_read_impl(dmu_buf_impl_t *db, zio_t *zio, uint32_t flags) argument
1040 dbuf_fix_old_data(dmu_buf_impl_t *db, uint64_t txg) argument
1089 dbuf_read(dmu_buf_impl_t *db, zio_t *zio, uint32_t flags) argument
1190 dbuf_noread(dmu_buf_impl_t *db) argument
1216 dmu_buf_impl_t *db = dr->dr_dbuf; local
1258 dmu_buf_impl_t *db, *db_next; local
1350 dbuf_block_freeable(dmu_buf_impl_t *db) argument
1385 dbuf_new_size(dmu_buf_impl_t *db, int size, dmu_tx_t *tx) argument
1438 dbuf_release_bp(dmu_buf_impl_t *db) argument
1457 dmu_buf_impl_t *db = dr->dr_dbuf; local
1477 dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx) argument
1784 dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx) argument
1873 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
1914 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
1924 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
1941 dbuf_fill_done(dmu_buf_impl_t *db, dmu_tx_t *tx) argument
1966 dmu_buf_impl_t *db = (dmu_buf_impl_t *)dbuf; local
2002 dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx) argument
2061 dbuf_destroy(dmu_buf_impl_t *db) argument
2232 dmu_buf_impl_t *db, *odb; local
2378 dmu_buf_impl_t *db = dbuf_hold_level(dpa->dpa_dnode, local
2471 dmu_buf_impl_t *db; local
2548 dmu_buf_impl_t *db, *parent = NULL; local
2644 dmu_buf_impl_t *db; local
2661 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2689 dbuf_add_ref(dmu_buf_impl_t *db, void *tag) argument
2700 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2727 dbuf_rele(dmu_buf_impl_t *db, void *tag) argument
2734 dmu_buf_rele(dmu_buf_t *db, void *tag) argument
2744 dbuf_rele_and_unlock(dmu_buf_impl_t *db, void *tag) argument
2853 dbuf_refcount(dmu_buf_impl_t *db) argument
2862 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2885 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2900 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2916 dmu_buf_impl_t *db = (dmu_buf_impl_t *)dbuf; local
2926 dmu_buf_get_blkptr(dmu_buf_t *db) argument
2933 dmu_buf_get_objset(dmu_buf_t *db) argument
2940 dmu_buf_dnode_enter(dmu_buf_t *db) argument
2948 dmu_buf_dnode_exit(dmu_buf_t *db) argument
2955 dbuf_check_blkptr(dnode_t *dn, dmu_buf_impl_t *db) argument
3002 dmu_buf_impl_t *db = dr->dr_dbuf; local
3049 dmu_buf_impl_t *db = dr->dr_dbuf; local
3223 dmu_buf_impl_t *db = vdb; local
3313 dmu_buf_impl_t *db = vdb; local
3360 dmu_buf_impl_t *db = arg; local
3383 dmu_buf_impl_t *db = vdb; local
3481 dmu_buf_impl_t *db = dr->dr_dbuf; local
3490 dmu_buf_impl_t *db = dr->dr_dbuf; local
3508 dmu_buf_impl_t *db = dr->dr_dbuf; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dndbm.c31 #define dbm_dirty(db) ((db)->dbm_flags & _DBM_DIRTY)
32 #define dbm_dirdirty(db) ((db)->dbm_flags & _DBM_DIRDIRTY)
33 #define dbm_defwrite(db) ((db)->dbm_flags & _DBM_DEFWRITE)
34 #define dbm_setdirty(db) (db)->dbm_flags |= _DBM_DIRTY
35 #define dbm_clrdirty(db) (db)
52 dbm_setdefwrite(DBM *db) argument
58 dbm_flush(DBM *db) argument
67 dbm_flushpag(DBM *db) argument
82 dbm_flushdir(DBM *db) argument
101 DBM *db; local
152 dbm_close(DBM *db) argument
159 dbm_close_status(DBM *db) argument
172 dbm_forder(DBM *db, datum key) argument
187 dbm_fetch(DBM *db, datum key) argument
207 dbm_delete(DBM *db, datum key) argument
238 dbm_store(DBM *db, datum key, datum dat, int replace) argument
324 dbm_hashinc(DBM *db, long hash) argument
346 dbm_firsthash(DBM *db, long hash) argument
377 dbm_firstkey(DBM *db) argument
386 dbm_nextkey(DBM *db) argument
400 dbm_slow_nextkey(DBM *db) argument
443 dbm_do_nextkey(DBM *db, datum inkey) argument
609 dbm_access(DBM *db, long hash) argument
666 getbit(DBM *db) argument
689 setbit(DBM *db) argument
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dndbm.h38 #define dbm_rdonly(db) ((db)->dbm_flags & _DBM_RDONLY)
40 #define dbm_error(db) ((db)->dbm_flags & _DBM_IOERR)
42 #define dbm_clearerr(db) ((db)->dbm_flags &= ~_DBM_IOERR)
45 #define dbm_dirfno(db) ((db)->dbm_dirf)
46 #define dbm_pagfno(db) ((db)
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c179 bsd_clear(db)
180 struct bsd_db *db;
182 db->clear_count++;
183 db->max_ent = FIRST-1;
184 db->n_bits = BSD_INIT_BITS;
185 db->ratio = 0;
186 db->bytes_out = 0;
187 db->in_count = 0;
188 db->checkpoint = CHECK_GAP;
205 bsd_check(db)
250 struct bsd_db *db = (struct bsd_db *) state; local
276 struct bsd_db *db = (struct bsd_db *) state; local
293 struct bsd_db *db; local
358 struct bsd_db *db = (struct bsd_db *) state; local
434 struct bsd_db *db = (struct bsd_db *) state; local
554 struct bsd_db *db = (struct bsd_db *) state; local
[all...]
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dthreadtest2.c31 #define DB_FILE "test.db"
59 int integrity_check(sqlite *db){ argument
63 rc = sqlite_exec(db, "pragma integrity_check", check_callback, 0, 0);
68 sqlite_exec(db, "pragma integrity_check", check_callback, 0, 0);
77 sqlite *db; local
82 while( (db = sqlite_open(DB_FILE, 0, 0))==0 ) sched_yield();
83 sqlite_exec(db, "PRAGMA synchronous=OFF", 0, 0, 0);
84 integrity_check(db);
85 if( all_stop ){ sqlite_close(db); break; }
87 rc = sqlite_exec(db, "INSER
98 sqlite *db; local
[all...]
H A Dcrashtest1.c33 sqlite *db; local
39 if( access("./test.db-journal",0)==0 ){
40 /*printf("pid %d: journal exists. rollback will be required\n",getpid());*/ unlink("test.db-saved");
41 system("cp test.db test.db-saved");
42 unlink("test.db-journal-saved");
43 system("cp test.db-journal test.db-journal-saved");
45 db = sqlite_open("./test.db",
72 sqlite *db; local
[all...]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dmain.c31 sqlite *db; /* The database being initialized */ member in struct:__anon4042
73 sqlite *db = pData->db; local
80 ** But because db->init.busy is set to 1, no VDBE code is generated
85 assert( db->init.busy );
86 db->init.iDb = atoi(argv[4]);
87 assert( db->init.iDb>=0 && db->init.iDb<db->nDb );
88 db
190 sqliteInitOne(sqlite *db, int iDb, char **pzErrMsg) argument
382 sqliteInit(sqlite *db, char **pzErrMsg) argument
479 sqlite *db; local
547 sqlite_last_insert_rowid(sqlite *db) argument
554 sqlite_changes(sqlite *db) argument
564 sqlite_last_statement_changes(sqlite *db) argument
571 sqlite_close(sqlite *db) argument
604 sqliteRollbackAll(sqlite *db) argument
626 sqlite_exec( sqlite *db, const char *zSql, sqlite_callback xCallback, void *pArg, char **pzErrMsg ) argument
694 sqlite_compile( sqlite *db, const char *zSql, const char **pzTail, sqlite_vm **ppVm, char **pzErrMsg ) argument
909 sqlite_busy_handler( sqlite *db, int (*xBusy)(void*,const char*,int), void *pArg ) argument
924 sqlite_progress_handler( sqlite *db, int nOps, int (*xProgress)(void*), void *pArg ) argument
947 sqlite_busy_timeout(sqlite *db, int ms) argument
958 sqlite_interrupt(sqlite *db) argument
996 sqlite_create_function( sqlite *db, const char *zName, int nArg, void (*xFunc)(sqlite_func*,int,const char**), void *pUserData ) argument
1017 sqlite_create_aggregate( sqlite *db, const char *zName, int nArg, void (*xStep)(sqlite_func*,int,const char**), void (*xFinalize)(sqlite_func*), void *pUserData ) argument
1045 sqlite_function_type(sqlite *db, const char *zName, int dataType) argument
1062 sqlite_trace(sqlite *db, void (*xTrace)(void*,const char*), void *pArg) argument
1075 sqlite_commit_hook( sqlite *db, int (*xCallback)(void*), void *pArg ) argument
1112 sqliteBtreeFactory( const sqlite *db, const char *zFilename, int omitJournal, int nCache, Btree **ppBtree) argument
[all...]
H A Dattach.c33 sqlite *db; local
39 db = pParse->db;
40 if( db->file_format<4 ){
46 if( db->nDb>=MAX_ATTACHED+2 ){
68 for(i=0; i<db->nDb; i++){
69 if( db->aDb[i].zName && sqliteStrICmp(db->aDb[i].zName, zName)==0 ){
77 if( db->aDb==db
141 sqlite *db; local
195 sqlite *db; local
[all...]
H A Dbuild.c41 sqlite *db = pParse->db; local
44 if((db->flags & SQLITE_Initialized)==0 && db->init.busy==0 ){
45 int rc = sqliteInit(db, &pParse->zErrMsg);
51 for(i=0; i<db->nDb; i++){
52 DbClearProperty(db, i, DB_Locked);
53 if( !db->aDb[i].inTrans ){
54 DbClearProperty(db, i, DB_Cookie);
71 sqlite *db local
108 sqliteFindTable(sqlite *db, const char *zName, const char *zDatabase) argument
160 sqliteFindIndex(sqlite *db, const char *zName, const char *zDb) argument
180 sqliteDeleteIndex(sqlite *db, Index *p) argument
198 sqliteUnlinkAndDeleteIndex(sqlite *db, Index *pIndex) argument
221 sqliteResetInternalSchema(sqlite *db, int iDb) argument
292 sqliteRollbackInternalChanges(sqlite *db) argument
301 sqliteCommitInternalChanges(sqlite *db) argument
321 sqliteDeleteTable(sqlite *db, Table *pTable) argument
364 sqliteUnlinkAndDeleteTable(sqlite *db, Table *p) argument
436 sqlite *db = pParse->db; local
779 sqliteChangeCookie(sqlite *db, Vdbe *v) argument
888 sqlite *db = pParse->db; local
1145 sqliteViewResetAll(sqlite *db, int idx) argument
1182 sqlite *db = pParse->db; local
1491 sqlite *db = pParse->db; local
1763 sqlite *db = pParse->db; local
2023 sqlite *db; local
2043 sqlite *db; local
2065 sqlite *db; local
2090 sqlite *db = pParse->db; local
2120 sqlite *db = pParse->db; local
2149 sqlite *db = pParse->db; local
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c145 /* db->flags values */
218 bsd_clear(struct bsd_db *db) argument
220 db->clear_count++;
221 db->max_ent = FIRST-1;
222 db->n_bits = BSD_INIT_BITS;
223 db->ratio = 0;
224 db->bytes_out = 0;
225 db->in_count = 0;
226 db->checkpoint = CHECK_GAP;
245 bsd_check(struct bsd_db *db) argument
298 struct bsd_db *db = (struct bsd_db *)state; local
330 struct bsd_db *db = (struct bsd_db *)state; local
355 struct bsd_db *db; local
443 struct bsd_db *db = (struct bsd_db *)state; local
477 bsd_init(struct bsd_db *db, uchar_t *options, int opt_len, int unit, int hdrlen, int mru, int debug, int decomp) argument
557 struct bsd_db *db = (struct bsd_db *)state; local
902 struct bsd_db *db = (struct bsd_db *)state; local
1097 struct bsd_db *db = (struct bsd_db *)state; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_hooks.h53 extern void shim_dbm_close(DBM *db);
54 extern int shim_dbm_delete(DBM *db, datum key);
55 extern datum shim_dbm_fetch(DBM *db, datum key);
56 extern datum shim_dbm_fetch_noupdate(DBM *db, datum key);
57 extern datum shim_dbm_firstkey(DBM *db);
58 extern datum shim_dbm_nextkey(DBM *db);
59 extern datum shim_dbm_do_nextkey(DBM *db, datum inkey);
62 extern int shim_dbm_store(DBM *db, datum key, datum content,
/illumos-gate/usr/src/cmd/svc/seed/
H A DMakefile39 # global.db -- for a standalone Solaris (global zone)
40 # nonglobal.db -- for a Solaris Zone
41 # miniroot.db -- for the install miniroot
118 all: global.db nonglobal.db miniroot.db
129 common.db: $(COMMON_DESCRIPTIONS) $(CONFIGD) $(SVCCFG)
130 $(RM) -f common.db common.db-journal
134 SVCCFG_REPOSITORY=$(SRC)/cmd/svc/seed/common.db \
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Ddbm.c47 #include "db-int.h"
56 #include "db-ndbm.h"
193 kdb2_dbm_close(db)
194 DBM *db;
196 (void)(db->close)(db);
205 kdb2_dbm_fetch(db, key)
206 DBM *db;
217 status = (db->get)(db,
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_c.x51 struct db {
66 %class db {
74 % STRUCTRWLOCK(db);
106 % db( char * );
110 % ~db();
152 %/* Execute log entry 'j' on this db. 'j' is executed if its version is
188 % return (WLOCK(db));
193 % return (TRYWLOCK(db));
198 % return (WULOCK(db));
203 % return (RLOCK(db));
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_sqlite.h50 sqlite_close(sqlite *db) argument
69 sqlite_compile(sqlite *db, const char *zSql, const char **pzTail, argument
83 sqlite_last_insert_rowid(sqlite *db) argument
90 sqlite_busy_timeout(sqlite *db, int ms) argument
96 sqlite_get_table(sqlite *db, const char *zSql, char ***pazResult, int *pnRow, argument
112 sqlite_exec(sqlite *db, const char *zSql, sqlite_callback xCallback, void *pArg, argument
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dcache_a.out.h65 struct db { /* directory cache database */ struct
83 struct db *dbd_db; /* data base described by this */
88 struct db *dd_db; /* data base described by this */
95 char *ask_db(); /* ask db for highest minor number */
96 struct db *lo_cache(); /* obtain cache for directory name */
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dshowjournal.c17 static int db = -1; variable
30 read(db, aData, pagesize);
55 db = open(argv[1], O_RDONLY);
56 if( db<0 ){
60 read(db, zBuf, 8);
62 read(db, &u, sizeof(u));
64 read(db, &u, sizeof(u));
67 read(db, zBuf2, sizeof(zBuf2));
70 while( read(db, zBuf2, sizeof(zBuf2))==sizeof(zBuf2) ){
74 read(db,
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_validate.c55 #include <db.h>
77 static int g_save(db, type, ptr)
78 g_set *db;
93 ret = k5_mutex_lock(&db->mutex);
97 vdb = (DB **) &db->data;
109 (void) k5_mutex_unlock(&db->mutex);
119 ret = k5_mutex_lock(&db->mutex);
123 gs = (g_set_elt *) &db->data;
127 (void) k5_mutex_unlock(&db->mutex);
133 (void) k5_mutex_unlock(&db
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dadb.h23 #include <db.h>
51 DB *db; member in struct:_osa_adb_db_ent_t
116 osa_adb_ret_t osa_adb_fini_db(osa_adb_db_t db, int magic);
117 osa_adb_ret_t osa_adb_get_lock(osa_adb_db_t db, int mode);
118 osa_adb_ret_t osa_adb_release_lock(osa_adb_db_t db);
119 osa_adb_ret_t osa_adb_open_and_lock(osa_adb_princ_t db, int locktype);
120 osa_adb_ret_t osa_adb_close_and_unlock(osa_adb_princ_t db);
124 osa_adb_ret_t osa_adb_open_princ(osa_adb_princ_t *db, char *filename);
125 osa_adb_ret_t osa_adb_open_policy(osa_adb_policy_t *db,
127 osa_adb_ret_t osa_adb_close_princ(osa_adb_princ_t db);
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_dbimpl.c78 nscd_db_t *db; /* the database */ member in struct:cookie
162 const nscd_db_t *db,
171 if (db == NULL || str == NULL)
175 idx_p = db->hash_tbl_p[hash % db->array_size];
191 nscd_db_t *db,
204 i = hash % db->array_size;
205 idx_p = db->hash_tbl_p[i];
265 db->hash_tbl_p[i] = hash_entry;
287 nscd_db_t *db,
161 _nscd_get_db_entry( const nscd_db_t *db, int type, const char *str, nscd_db_option_t option, int id_num) argument
190 _nscd_add_db_entry( nscd_db_t *db, const char *str, nscd_db_entry_t *entry, nscd_db_option_t option) argument
286 _nscd_delete_db_entry( nscd_db_t *db, int type, const char *str, nscd_db_option_t option, int id_num) argument
424 _nscd_delete_db_entry_cookie( nscd_db_t *db, void **cookie) argument
489 nscd_db_t *db; local
523 _nscd_free_db( nscd_db_t *db) argument
562 _nscd_walk_db( nscd_db_t *db, void **cookie) argument
[all...]

Completed in 102 milliseconds

12345678