Lines Matching refs:db_file
329 char *db_file, *tmp_db_file;
335 db_file = DLADM_FLOW_DB;
342 db_file = db_file_buf;
349 if ((fp = fopen(db_file, "r")) == NULL) {
414 if (rename(tmp_db_file, db_file) == -1) {
488 char *db_file;
494 db_file = DLADM_FLOW_DB;
498 db_file = db_file_buf;
504 if ((fp = fopen(db_file, "r+")) == NULL &&
505 (fp = fopen(db_file, "w")) == NULL) {