/illumos-gate/usr/src/cmd/svc/seed/ |
H A D | Makefile | 142 all: global.db nonglobal.db miniroot.db 165 global.db: common.db $(GLOBAL_ZONE_DESCRIPTIONS) 167 $(CP) common.db $@ 170 nonglobal.db: common.db $(NONGLOBAL_ZONE_DESCRIPTIONS) 172 $(CP) common.db $@ 175 miniroot.db: common.db $(MINIROOT_DESCRIPTIONS) 177 $(CP) common.db $@ 190 .PARALLEL: global.db nonglobal.db miniroot.db 194 install_global: global.db 210 $(RM) common.db [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | copy_required_constraints.pl | 16 my $db; 22 $db = DBI->connect("dbi:SQLite:$name", "", "", {AutoCommit => 0}); 24 $db->do("PRAGMA cache_size = 800000"); 25 $db->do("PRAGMA journal_mode = OFF"); 26 $db->do("PRAGMA count_changes = OFF"); 27 $db->do("PRAGMA temp_store = MEMORY"); 28 $db->do("PRAGMA locking = EXCLUSIVE"); 37 $db->do('insert or ignore into constraints (str) select bound from constraints_required'); 39 $db->commit(); 45 $db->commit(); [all …]
|
H A D | mark_function_ptrs_searchable.pl | 10 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0}); 12 $db->do("PRAGMA cache_size = 800000"); 13 $db->do("PRAGMA journal_mode = OFF"); 14 $db->do("PRAGMA count_changes = OFF"); 15 $db->do("PRAGMA temp_store = MEMORY"); 16 $db->do("PRAGMA locking = EXCLUSIVE"); 20 $update = $db->prepare_cached('UPDATE function_ptr set searchable = 1 where ptr = ?'); 21 $sth = $db->prepare('select distinct(ptr) from function_ptr;'); 25 …$count = $db->selectrow_array("select count(*) from return_states join function_ptr where return_s… 38 $db->commit(); [all …]
|
H A D | init_constraints_required.pl | 15 my $db; 21 $db = DBI->connect("dbi:SQLite:$name", "", "", {AutoCommit => 0}); 23 $db->do("PRAGMA cache_size = 800000"); 24 $db->do("PRAGMA journal_mode = OFF"); 25 $db->do("PRAGMA count_changes = OFF"); 26 $db->do("PRAGMA temp_store = MEMORY"); 27 $db->do("PRAGMA locking = EXCLUSIVE"); 47 $db->do("insert into constraints_required values (?, ?, ?);", undef, $data, $op, $limit); 51 $db->commit(); 57 $db->commit(); [all …]
|
H A D | remove_mixed_up_pointer_params.pl | 10 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0}); 12 $db->do("PRAGMA cache_size = 800000"); 13 $db->do("PRAGMA journal_mode = OFF"); 14 $db->do("PRAGMA count_changes = OFF"); 15 $db->do("PRAGMA temp_store = MEMORY"); 16 $db->do("PRAGMA locking = EXCLUSIVE"); 20 $remove = $db->prepare_cached('DELETE FROM caller_info WHERE file = ? AND caller = ? AND function =… 21 $select = $db->prepare('SELECT file, caller, function, parameter, value FROM caller_info WHERE func… 22 $select_type = $db->prepare_cached('SELECT value from function_type WHERE file = ? AND function = ?… 49 $db->commit(); [all …]
|
H A D | fill_db_sql.pl | 15 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0}); 16 $db->do("PRAGMA cache_size = 800000"); 17 $db->do("PRAGMA journal_mode = OFF"); 18 $db->do("PRAGMA count_changes = OFF"); 19 $db->do("PRAGMA temp_store = MEMORY"); 20 $db->do("PRAGMA locking = EXCLUSIVE"); 32 $db->do($sql); 44 $db->do($sql); 48 $db->commit(); 49 $db->disconnect();
|
H A D | insert_manual_states.pl | 17 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0}); 18 $db->do("PRAGMA cache_size = 800000"); 19 $db->do("PRAGMA journal_mode = OFF"); 20 $db->do("PRAGMA count_changes = OFF"); 21 $db->do("PRAGMA temp_store = MEMORY"); 22 $db->do("PRAGMA locking = EXCLUSIVE"); 40 …$sth = $db->prepare("select file, return_id, static from return_states where file = ? and function… 43 …$sth = $db->prepare("select file, return_id, static from return_states where function = ? and retu… 47 my $insert = $db->prepare("insert into return_states values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);"); 92 $db->commit(); [all …]
|
H A D | fill_db_caller_info.pl | 55 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0}); 56 $db->do("PRAGMA cache_size = 800000"); 57 $db->do("PRAGMA journal_mode = OFF"); 58 $db->do("PRAGMA count_changes = OFF"); 59 $db->do("PRAGMA temp_store = MEMORY"); 60 $db->do("PRAGMA locking = EXCLUSIVE"); 63 …$db->do("insert into common_caller_info values ('unknown', 'too common', '$func', 0, 0, 0, -1, '',… 93 $db->do($sql); 95 $db->commit(); 96 $db->disconnect();
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | dbuf.h | 184 dmu_buf_t db; member 338 uint64_t dbuf_refcount(dmu_buf_impl_t *db); 340 void dbuf_rele(dmu_buf_impl_t *db, void *tag); 357 void dbuf_destroy(dmu_buf_impl_t *db); 362 void dbuf_release_bp(dmu_buf_impl_t *db); 382 boolean_t dbuf_is_metadata(dmu_buf_impl_t *db); 413 uint64_t __db_obj = (dbuf)->db.db_object; \ 435 #define DBUF_VERIFY(db) dbuf_verify(db) argument 439 #define dprintf_dbuf(db, fmt, ...) argument 440 #define dprintf_dbuf_bp(db, bp, fmt, ...) argument [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_lgrp.c | 279 sqlite *db; in smb_lgrp_add() local 374 sqlite *db; in smb_lgrp_rename() local 427 sqlite *db; in smb_lgrp_delete() local 461 sqlite *db; in smb_lgrp_setcmnt() local 492 sqlite *db; in smb_lgrp_getcmnt() local 528 sqlite *db; in smb_lgrp_setpriv() local 564 sqlite *db; in smb_lgrp_getpriv() local 599 sqlite *db; in smb_lgrp_add_member() local 634 sqlite *db; in smb_lgrp_del_member() local 673 sqlite *db; in smb_lgrp_getbyname() local [all …]
|
H A D | smb_nic.c | 731 sqlite *db; in smb_nic_hlist_dbget() local 744 if (db == NULL) { in smb_nic_hlist_dbget() 902 if (db == NULL) { in smb_nic_dbcreate() 955 sqlite *db; in smb_nic_dbopen() local 959 if (db == NULL) { in smb_nic_dbopen() 965 return (db); in smb_nic_dbopen() 976 if (db) { in smb_nic_dbclose() 990 sqlite *db; in smb_nic_dbvalidate() local 1003 if (db == NULL) { in smb_nic_dbvalidate() 1068 sqlite *db; in smb_nic_dbaddhost() local [all …]
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | auth.c | 74 sqlite *db, in sqlite_set_authorizer() argument 78 db->xAuth = xAuth; in sqlite_set_authorizer() 79 db->pAuthArg = pArg; in sqlite_set_authorizer() 108 sqlite *db = pParse->db; in sqliteAuthRead() local 115 if( db->xAuth==0 ) return; in sqliteAuthRead() 142 assert( pExpr->iDb<db->nDb ); in sqliteAuthRead() 143 zDBase = db->aDb[pExpr->iDb].zName; in sqliteAuthRead() 144 rc = db->xAuth(db->pAuthArg, SQLITE_READ, pTab->zName, zCol, zDBase, in sqliteAuthRead() 174 sqlite *db = pParse->db; in sqliteAuthCheck() local 177 if( db->init.busy || db->xAuth==0 ){ in sqliteAuthCheck() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | bptree.c | 65 dmu_buf_t *db; in bptree_alloc() local 78 bt = db->db_data; in bptree_alloc() 84 dmu_buf_rele(db, FTAG); in bptree_alloc() 92 dmu_buf_t *db; in bptree_free() local 96 bt = db->db_data; in bptree_free() 101 dmu_buf_rele(db, FTAG); in bptree_free() 109 dmu_buf_t *db; in bptree_is_empty() local 114 bt = db->db_data; in bptree_is_empty() 124 dmu_buf_t *db; in bptree_add() local 136 bt = db->db_data; in bptree_add() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | pragma.test | 26 set DB [sqlite db test.db] 47 sqlite db test.db 84 sqlite db test.db 112 set ::DB [sqlite db test.db] 140 set ::DB [sqlite db test.db] 159 set ::DB [sqlite db test.db] 261 set db [btree_open test.db] 305 sqlite db test.db 328 sqlite db test.db 351 sqlite db test.db [all …]
|
H A D | bigfile.test | 57 db close 65 sqlite db test.db 85 db close 86 sqlite db test.db 97 db close 105 sqlite db test.db 117 db close 118 sqlite db test.db 134 db close 142 sqlite db test.db [all …]
|
H A D | vacuum.test | 20 proc cksum {{db db}} { 96 catch {db eval COMMIT} 98 sqlite db2 test.db 124 db close 126 file delete test.db 127 sqlite db test.db 137 db close 138 set DB [sqlite db test.db] 150 db close 151 file delete -force test.db [all …]
|
H A D | ioerr.test | 28 db close 29 catch {file delete -force test.db} 31 sqlite db test.db 38 set r [catch {db eval { 60 proc cksum {{db db}} { 69 # puts $cksum-[file size test.db] 77 db close 80 sqlite db test.db 106 set r [catch {db eval { 114 db close [all …]
|
H A D | tester.tcl | 59 catch {db close} 62 sqlite db ./test.db 64 db eval $::SETUP_SQL 177 catch {db close} 193 proc execsql {sql {db db}} { argument 195 return [$db eval $sql] 200 proc catchsql {sql {db db}} { argument 202 set r [catch {$db eval $sql} msg] 209 proc explain {sql {db db}} { argument 213 $db eval "explain $sql" {} { [all …]
|
H A D | attach.test | 106 db_list db 153 db_list db 205 db_list db 251 db_list db 270 db_list db 288 db close 289 sqlite db test.db 297 db close 299 sqlite db test.db 480 db close [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | policy_db.h | 61 DB *db; member 85 krb5_error_code osa_adb_fini_db(osa_adb_db_t db, int magic); 86 krb5_error_code osa_adb_get_lock(osa_adb_db_t db, int mode); 87 krb5_error_code osa_adb_release_lock(osa_adb_db_t db); 89 krb5_error_code osa_adb_close_and_unlock(osa_adb_princ_t db); 90 krb5_error_code osa_adb_close_policy(osa_adb_policy_t db); 91 krb5_error_code osa_adb_create_policy(osa_adb_policy_t db, 93 krb5_error_code osa_adb_destroy_policy(osa_adb_policy_t db, 95 krb5_error_code osa_adb_get_policy(osa_adb_policy_t db, 99 krb5_error_code osa_adb_put_policy(osa_adb_policy_t db, [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsmdb/ |
H A D | smndbm.c | 77 SMDB_DBM_DATABASE *db; in smdbm_malloc_database() local 80 if (db != NULL) in smdbm_malloc_database() 82 db->smndbm_dbm = NULL; in smdbm_malloc_database() 83 db->smndbm_lock_fd = -1; in smdbm_malloc_database() 87 return db; in smdbm_malloc_database() 101 free(db); 158 return db->smndbm_lock_fd; 499 SMDB_DBM_DATABASE *db; local 554 if (db == NULL) 571 db->smndbm_dbm = dbm; [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_disasm.c | 265 dis_buf_t *db = data; in libdisasm_read() local 269 if (pc - db->db_addr >= db->db_bufsize) { in libdisasm_read() 270 if (mdb_tgt_aread(db->db_tgt, db->db_as, db->db_buf, in libdisasm_read() 272 db->db_bufsize = sizeof (db->db_buf); in libdisasm_read() 273 } else if (mdb_tgt_aread(db->db_tgt, db->db_as, db->db_buf, in libdisasm_read() 283 db->db_addr = pc; in libdisasm_read() 308 db.db_tgt = t; in libdisasm_ins2str() 309 db.db_as = as; in libdisasm_ins2str() 334 if (db.db_readerr) in libdisasm_ins2str() 357 db.db_tgt = t; in libdisasm_previns() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_c.x | 49 struct db { struct 64 %class db { argument 72 % STRUCTRWLOCK(db); 104 % db( char * ); 108 % ~db(); 186 % return (WLOCK(db)); 191 % return (TRYWLOCK(db)); 196 % return (WULOCK(db)); 201 % return (RLOCK(db)); 206 % return (RULOCK(db)); [all …]
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | showjournal.c | 14 static int db = -1; variable 27 read(db, aData, pagesize); in print_page() 52 db = open(argv[1], O_RDONLY); in main() 53 if( db<0 ){ in main() 57 read(db, zBuf, 8); in main() 59 read(db, &u, sizeof(u)); in main() 61 read(db, &u, sizeof(u)); in main() 64 read(db, zBuf2, sizeof(zBuf2)); in main() 67 while( read(db, zBuf2, sizeof(zBuf2))==sizeof(zBuf2) ){ in main() 71 read(db, &u, sizeof(u)); in main() [all …]
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_main.c | 126 dis_buffer_t db = { 0 }; in dis_data() local 140 db.db_tgt = tgt; in dis_data() 141 db.db_data = data; in dis_data() 142 db.db_addr = addr; in dis_data() 143 db.db_size = datalen; in dis_data() 145 dis_set_data(dhp, &db); in dis_data() 152 while (addr < db.db_addr + db.db_size) { in dis_data() 179 db.db_nextaddr = db.db_addr + db.db_size; in dis_data() 182 db.db_nextaddr = db.db_addr + in dis_data() 183 db.db_size; in dis_data() [all …]
|