Searched refs:cache_env (Results 1 – 2 of 2) sorted by relevance
99 static cache_env_t *cache_env = NULL; variable111 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()152 nvs_erase_all(cache_env->cache_addr[index].cache_fp); in cacheReset()[all …]
34156 .sbss.cache_env