Searched refs:cachesize (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/s390/char/ |
H A D | hmcdrv_cache.c | 216 int hmcdrv_cache_startup(size_t cachesize) in hmcdrv_cache_startup() argument 218 if (cachesize > 0) { /* perform caching ? */ in hmcdrv_cache_startup() 219 hmcdrv_cache_order = get_order(cachesize); in hmcdrv_cache_startup() 226 cachesize); in hmcdrv_cache_startup() 231 cachesize); in hmcdrv_cache_startup() 234 hmcdrv_cache_file.len = cachesize; in hmcdrv_cache_startup()
|
H A D | hmcdrv_cache.h | 22 int hmcdrv_cache_startup(size_t cachesize);
|
H A D | hmcdrv_mod.c | 29 module_param_named(cachesize, hmcdrv_mod_cachesize, ulong, S_IRUGO);
|
H A D | Kconfig | 84 optional parameter for this module: cachesize=N, which modifies the
|
/openbmc/qemu/contrib/plugins/ |
H A D | cache.c | 74 int cachesize; member 233 static const char *cache_config_error(int blksize, int assoc, int cachesize) in cache_config_error() argument 235 if (cachesize % blksize != 0) { in cache_config_error() 237 } else if (cachesize % (blksize * assoc) != 0) { in cache_config_error() 244 static bool bad_cache_params(int blksize, int assoc, int cachesize) in bad_cache_params() argument 246 return (cachesize % blksize) != 0 || (cachesize % (blksize * assoc) != 0); in bad_cache_params() 249 static Cache *cache_init(int blksize, int assoc, int cachesize) in cache_init() argument 259 g_assert(!bad_cache_params(blksize, assoc, cachesize)); in cache_init() 263 cache->cachesize = cachesize; in cache_init() 264 cache->num_sets = cachesize / (blksize * assoc); in cache_init() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | cache.py | 453 def cachesize(self): member in Cache 454 cachesize = 0 459 cachesize += os.fstat(cachefile.fileno()).st_size 463 return cachesize 731 nonlocal cachesize 735 if current_progress > cachesize: 738 cachesize = current_progress 739 current_percent = 100 * current_progress / cachesize 742 bb.event.fire(bb.event.CacheLoadProgress(current_progress, cachesize), 746 cachesize = 0 [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
H A D | ldconfig.patch | 86 @@ -39,103 +39,7 @@ static size_t cachesize; 216 - void *file = _dl_sysdep_read_whole_file (LD_SO_CACHE, &cachesize, 224 - if (file != MAP_FAILED && cachesize > sizeof *cache 236 - if (cachesize < (offset + sizeof (struct cache_file_new)) 241 - else if (file != MAP_FAILED && cachesize > sizeof *cache_new 251 - __munmap (file, cachesize); 272 - cache_data_size = (const char *) cache + cachesize - cache_data; 300 - cache_data_size = (const char *) cache + cachesize - cache_data; 325 - __munmap (cache, cachesize);
|
/openbmc/qemu/target/arm/ |
H A D | cpu-features.h | 1042 unsigned linesize, unsigned cachesize, in make_ccsidr() argument 1054 sets = cachesize / (assoc * linesize); in make_ccsidr() 1055 assert(cachesize % (assoc * linesize) == 0); in make_ccsidr()
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 532 cachesize= [BUGS=X86-32] Override level 2 CPU cache size detection.
|