Searched refs:cache_db (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | dbutils.c | 97 sqlite *cache_db; member 127 if (tsd->cache_db) in idmap_tsd_destroy() 128 (void) sqlite_close(tsd->cache_db); in idmap_tsd_destroy() 446 if (tsd->cache_db == NULL) { in get_cache_handle() 447 tsd->cache_db = sqlite_open(IDMAP_CACHENAME, 0, &errmsg); in get_cache_handle() 448 if (tsd->cache_db == NULL) { in get_cache_handle() 459 sqlite_busy_handler(tsd->cache_db, idmap_sqlite_busy_handler, in get_cache_handle() 462 *cache = tsd->cache_db; in get_cache_handle() 482 if ((t = tsd->cache_db) == NULL) in kill_cache_handle() 485 tsd->cache_db = NULL; in kill_cache_handle()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch.h | 899 extern struct sqlite3 *cache_db; 948 sql_helper(cache_db, call_back, data, sql) 990 #define sql_insert_cache(table, values...) sql_insert_helper(table, cache_db, 1, 0, values);
|
H A D | smatch_db.c | 28 struct sqlite3 *cache_db; variable 2321 rc = sqlite3_open(":memory:", &cache_db); in init_cachedb() 2343 rc = sqlite3_exec(cache_db, buf, NULL, NULL, &err); in init_cachedb()
|