Home
last modified time | relevance | path

Searched refs:db_dir_name (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_db_files.c115 const char *db_dir_name; member
173 p_db_imp->db_dir_name = getenv("OSM_CACHE_DIR"); in osm_db_init()
174 if (!p_db_imp->db_dir_name || !(*p_db_imp->db_dir_name)) in osm_db_init()
175 p_db_imp->db_dir_name = OSM_DEFAULT_CACHE_DIR; in osm_db_init()
183 ret = SHCreateDirectoryEx(NULL, p_db_imp->db_dir_name, NULL); in osm_db_init()
190 if (lstat(p_db_imp->db_dir_name, &dstat)) { in osm_db_init()
191 if (mkdir(p_db_imp->db_dir_name, 0755)) in osm_db_init()
208 p_db_imp->db_dir_name); in osm_db_init()
241 path_len = strlen(((osm_db_imp_t *) p_db->p_db_imp)->db_dir_name) in osm_db_domain_init()
255 ((osm_db_imp_t *) p_db->p_db_imp)->db_dir_name, domain_name); in osm_db_domain_init()