Home
last modified time | relevance | path

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

/tools/testing/selftests/resctrl/
Dresctrl.h160 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size);
184 static inline unsigned long cache_portion_size(unsigned long cache_size, in cache_portion_size() argument
195 return cache_size; in cache_portion_size()
197 return cache_size * count_bits(portion_mask) / bits; in cache_portion_size()
Dresctrlfs.c167 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size) in get_cache_size() argument
195 *cache_size = 0; in get_cache_size()
200 *cache_size = *cache_size * 10 + (cache_str[i] - '0'); in get_cache_size()
204 *cache_size = *cache_size * 1024; in get_cache_size()
208 *cache_size = *cache_size * 1024 * 1024; in get_cache_size()
/tools/perf/scripts/python/
Darm-cs-trace-disasm.py50 cache_size = 64*1024 variable
87 if (len(disasm_cache) > cache_size):
178 global cache_size
/tools/perf/util/
Ddso.c940 u64 cache_size = min(cache->size - cache_offset, size); in dso_cache__memcpy() local
943 memcpy(data, cache->data + cache_offset, cache_size); in dso_cache__memcpy()
945 memcpy(cache->data + cache_offset, data, cache_size); in dso_cache__memcpy()
946 return cache_size; in dso_cache__memcpy()