Searched refs:cache_addr (Results 1 – 1 of 1) sorted by relevance
80 static const char *cache_addr = "cache_addr_tab"; variable96 cache_addr_info_t cache_addr[MAX_DEVICE_IN_CACHE]; member111 if (cache_env->cache_addr[index].is_open) { in cacheClose()112 nvs_close(cache_env->cache_addr[index].cache_fp); in cacheClose()113 cache_env->cache_addr[index].is_open = FALSE; in cacheClose()127 if (cache_env->cache_addr[*index].is_open) { in cacheOpen()130 memcpy(hash_key, cache_env->cache_addr[*index].hash_key, sizeof(hash_key_t)); in cacheOpen()132 …if ((status = nvs_open(fname, NVS_READWRITE, &cache_env->cache_addr[*index].cache_fp)) == ESP_OK) { in cacheOpen()134 cache_env->cache_addr[*index].is_open = TRUE; in cacheOpen()151 if (cache_env->cache_addr[index].is_open) { in cacheReset()[all …]