| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_quarantine.h | 84 void Init(uptr size, uptr cache_size) { in Init() argument 87 CHECK((size == 0 && cache_size == 0) || cache_size != 0); in Init() 91 atomic_store_relaxed(&max_cache_size_, cache_size); in Init() 103 uptr cache_size = GetCacheSize(); in Put() local 104 if (cache_size) { in Put() 111 if (c->Size() > cache_size) in Put() 162 uptr cache_size = cache_.Size(); in Recycle() local 164 CHECK_GE(cache_size, overhead_size); in Recycle() 169 if (cache_size > overhead_size && in Recycle() 171 cache_size * kOverheadThresholdPercents) { in Recycle()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_quarantine.h | 85 void Init(uptr size, uptr cache_size) { in Init() argument 88 CHECK((size == 0 && cache_size == 0) || cache_size != 0); in Init() 92 atomic_store_relaxed(&max_cache_size_, cache_size); in Init() 104 uptr cache_size = GetCacheSize(); in Put() local 105 if (cache_size) { in Put() 112 if (c->Size() > cache_size) in Put() 162 uptr cache_size = cache_.Size(); in Recycle() local 164 CHECK_GE(cache_size, overhead_size); in Recycle() 169 if (cache_size > overhead_size && in Recycle() 171 cache_size * kOverheadThresholdPercents) { in Recycle()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_quarantine.h | 83 void Init(uptr size, uptr cache_size) { in Init() argument 86 CHECK((size == 0 && cache_size == 0) || cache_size != 0); in Init() 90 atomic_store_relaxed(&max_cache_size_, cache_size); in Init() 102 uptr cache_size = GetCacheSize(); in Put() local 103 if (cache_size) { in Put() 110 if (c->Size() > cache_size) in Put() 160 uptr cache_size = cache_.Size(); in Recycle() local 162 CHECK_GE(cache_size, overhead_size); in Recycle() 167 if (cache_size > overhead_size && in Recycle() 169 cache_size * kOverheadThresholdPercents) { in Recycle()
|
| /netbsd-src/sys/arch/sh3/sh3/ |
| H A D | cache_sh3.c | 62 size_t cache_size; in sh3_cache_config() local 74 cache_size = 8 * 1024; in sh3_cache_config() 77 cache_size = 8 * 1024; in sh3_cache_config() 82 cache_size = 16 * 1024; in sh3_cache_config() 102 sh_cache_size_unified = cache_size / 2; in sh3_cache_config() 105 sh_cache_size_unified = cache_size; in sh3_cache_config()
|
| /netbsd-src/external/bsd/libarchive/dist/libarchive/ |
| H A D | archive_write_disk_set_standard_lookup.c | 58 static const size_t cache_size = 127; variable 86 struct bucket *ucache = calloc(cache_size, sizeof(struct bucket)); in archive_write_disk_set_standard_lookup() 87 struct bucket *gcache = calloc(cache_size, sizeof(struct bucket)); in archive_write_disk_set_standard_lookup() 111 b = &gcache[h % cache_size ]; in lookup_gid() 180 b = &ucache[h % cache_size ]; in lookup_uid() 242 for (i = 0; i < cache_size; i++) in cleanup()
|
| /netbsd-src/sys/kern/ |
| H A D | subr_kmem.c | 469 size_t cache_size = array[i].kc_size; in kmem_create_caches() local 476 if (cache_size > maxsize || cache_size > PAGE_SIZE) { in kmem_create_caches() 484 if (cache_size < COHERENCY_UNIT) { in kmem_create_caches() 485 if (COHERENCY_UNIT % cache_size > 0) { in kmem_create_caches() 490 } else if ((cache_size & (PAGE_SIZE - 1)) == 0) { in kmem_create_caches() 493 if ((cache_size % COHERENCY_UNIT) > 0) { in kmem_create_caches() 499 if ((cache_size >> shift) > maxidx) { in kmem_create_caches() 500 maxidx = cache_size >> shift; in kmem_create_caches() 504 pc = pool_cache_init(cache_size, align, 0, flags, in kmem_create_caches() 507 while (size <= cache_size) { in kmem_create_caches()
|
| /netbsd-src/sys/arch/sun3/sun3/ |
| H A D | cache.c | 109 endva = (char *) (sgva + cache_size); in cache_flush_segment() 135 endva = (char *) (VAC_FLUSH_BASE + cache_size); in cache_flush_context() 161 endva = (char *) (VAC_CACHE_TAGS + cache_size); in cache_clear_tags() 178 if (cache_size == 0) in cache_enable()
|
| H A D | locore2.c | 75 int cache_size; variable 278 cache_size = 0x10000; /* 64K */ in _verify_hardware()
|
| H A D | dvma.c | 220 if (cache_size) in dvma_mapin() 265 if (cache_size) in dvma_mapout()
|
| H A D | machdep.h | 142 extern int cache_size;
|
| H A D | pmap.c | 599 if (cache_size) in context_free() 1147 if (cache_size) in pv_changepte() 1246 if (cache_size) in pv_syncflags() 2097 if (cache_size) { in pmap_enter_kernel() 2272 if (cache_size) { in pmap_enter_user() 2462 if (cache_size) { in pmap_kremove() 2469 if (cache_size < (eva - va)) { in pmap_kremove() 3084 if (cache_size) { in pmap_protect_mmu() 3089 if (cache_size < (eva - sva)) { in pmap_protect_mmu() 3309 if (cache_size) { in pmap_remove_mmu() [all...] |
| H A D | db_memrw.c | 135 if (cache_size) in db_write_text()
|
| /netbsd-src/external/public-domain/xz/dist/src/liblzma/rangecoder/ |
| H A D | range_encoder.h | 29 uint64_t cache_size; member 58 rc->cache_size = 1; in rc_reset() 137 } while (--rc->cache_size != 0); in rc_shift_low() 142 ++rc->cache_size; in rc_shift_low() 228 return rc->cache_size + 5 - 1; in rc_pending()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ps/ |
| H A D | tspps.c | 893 UINT32 cache_size, i, j; in psfile_get_registered_keys() local 897 if ((result = psfile_get_all_cache_entries(fd, &cache_size, &cache_entries))) in psfile_get_registered_keys() 900 if (cache_size == 0) { in psfile_get_registered_keys() 917 for (i = 0; i < cache_size; i++) { in psfile_get_registered_keys() 946 if ((keyinfos = calloc(cache_size, sizeof(TSS_KM_KEYINFO))) == NULL) { in psfile_get_registered_keys() 948 cache_size * sizeof(TSS_KM_KEYINFO)); in psfile_get_registered_keys() 953 for (i = 0; i < cache_size; i++) { in psfile_get_registered_keys() 961 *size = cache_size; in psfile_get_registered_keys() 980 UINT32 cache_size, i, j; in psfile_get_registered_keys2() local 984 if ((result = psfile_get_all_cache_entries(fd, &cache_size, &cache_entries))) in psfile_get_registered_keys2() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| H A D | kfd_crat.c | 58 uint32_t cache_size; member 70 .cache_size = 16, 80 .cache_size = 16, 89 .cache_size = 8, 104 .cache_size = 16, 113 .cache_size = 8, 122 .cache_size = 4, 325 props->cache_size = cache->cache_size; in kfd_parse_subtype_cache() 583 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_pcache()
|
| H A D | kfd_topology.h | 124 uint32_t cache_size; member
|
| H A D | kfd_crat.h | 165 uint32_t cache_size; member
|
| /netbsd-src/external/ibm-public/postfix/dist/src/smtpd/ |
| H A D | smtpd_resolve.c | 148 void smtpd_resolve_init(int cache_size) in smtpd_resolve_init() argument 162 smtpd_resolve_cache = ctable_create(cache_size, resolve_pagein, in smtpd_resolve_init()
|
| /netbsd-src/sys/arch/aarch64/aarch64/ |
| H A D | cpufunc.c | 96 cunit->cache_size = cunit->cache_way_size * cunit->cache_ways; in extract_cacheunit() 208 cinfo[0].icache.cache_size / in aarch64_parsecacheinfo() 285 cunit->cache_size / 1024, in prt_cache()
|
| /netbsd-src/sys/dev/sdmmc/ |
| H A D | ld_sdmmc.c | 325 const u_int emmc_cache_size = sc->sc_sf->ext_csd.cache_size; in ld_sdmmc_doattach() local
|
| H A D | sdmmcvar.h | 55 uint32_t cache_size; member
|
| /netbsd-src/sys/arch/sun2/sun2/ |
| H A D | pmap.c | 590 if (cache_size) in context_free() 1140 if (cache_size) in pv_changepte() 1241 if (cache_size) in pv_syncflags() 2067 if (cache_size) { in pmap_enter_kernel() 2243 if (cache_size) { in pmap_enter_user() 2442 if (cache_size) { in pmap_kremove() 2449 if (cache_size < (eva - va)) { in pmap_kremove() 3113 if (cache_size) { in pmap_protect_mmu() 3118 if (cache_size < (eva - sva)) { in pmap_protect_mmu() 3351 if (cache_size) { in pmap_remove_mmu() [all …]
|
| /netbsd-src/sys/arch/aarch64/include/ |
| H A D | cpu.h | 88 u_int cache_size; member
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/hdb/ |
| H A D | db3.c | 334 int cache_size = (myflags & DB_RDONLY) ? RD_CACHE_SZ : WR_CACHE_SZ; in _open_db() local 356 d->set_cachesize(d, 0, cache_size, 0); in _open_db()
|
| /netbsd-src/external/apache2/llvm/dist/clang/docs/ |
| H A D | ThinLTO.rst | 169 - ``cache_size=X%``: The maximum size for the cache directory is ``X`` percent 185 policies to be applied unless the default ``cache_size`` is overridden.
|