Lines Matching refs:dbtype
102 db_asl_open(uint32_t dbtype)
107 if ((dbtype & DB_TYPE_FILE) && (global.file_db == NULL))
150 if ((dbtype & DB_TYPE_MEMORY) && (global.memory_db == NULL))
470 uint32_t status, dbtype;
487 dbtype = global.dbtype;
489 if (asl_check_option(msg, ASL_OPT_DB_FILE)) dbtype |= DB_TYPE_FILE;
490 if (asl_check_option(msg, ASL_OPT_DB_MEMORY)) dbtype |= DB_TYPE_MEMORY;
492 db_asl_open(dbtype);
494 if (dbtype & DB_TYPE_FILE)
504 db_asl_open(dbtype);
512 global.dbtype |= DB_TYPE_MEMORY;
513 dbtype |= DB_TYPE_MEMORY;
526 if (dbtype & DB_TYPE_MEMORY)
537 db_asl_open(dbtype);
565 if ((global.dbtype & DB_TYPE_MEMORY) == 0)
593 if (global.dbtype & DB_TYPE_FILE) return ASL_STATUS_INVALID_STORE;
612 if ((global.dbtype & DB_TYPE_MEMORY) || (global.disaster_occurred != 0))
848 if (all || (0 == asl_msg_lookup(q, "dbtype", NULL, NULL)))
851 if (global.dbtype & DB_TYPE_FILE) n++;
852 if (global.dbtype & DB_TYPE_MEMORY) n++;
856 asl_msg_set_key_val(m, "dbtype", "unknown");
863 if (global.dbtype & DB_TYPE_FILE)
870 if (global.dbtype & DB_TYPE_MEMORY)
877 asl_msg_set_key_val(m, "dbtype", val);
1523 if ((global.dbtype & DB_TYPE_FILE) == 0)