Searched refs:cache_str (Results 1 – 1 of 1) sorted by relevance
169 char cache_path[1024], cache_str[64]; in get_cache_size() local185 if (fscanf(fp, "%s", cache_str) <= 0) { in get_cache_size()193 length = (int)strlen(cache_str); in get_cache_size()198 if ((cache_str[i] >= '0') && (cache_str[i] <= '9')) in get_cache_size()200 *cache_size = *cache_size * 10 + (cache_str[i] - '0'); in get_cache_size()202 else if (cache_str[i] == 'K') in get_cache_size()206 else if (cache_str[i] == 'M') in get_cache_size()