| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | cache_config.c | 87 apr_uint64_t cache_size = MIN(cache_settings.cache_size, in initialize_cache() local 91 if (cache_size) in initialize_cache() 125 (apr_size_t)cache_size, in initialize_cache() 126 (apr_size_t)(cache_size / 5), in initialize_cache() 141 cache_settings.cache_size = 0; in initialize_cache()
|
| /freebsd-12.1/sys/powerpc/mpc85xx/ |
| H A D | mpc85xx_cache.c | 117 int cache_line_size, cache_size; in mpc85xx_cache_attach() local 133 cache_size = 0; in mpc85xx_cache_attach() 134 OF_getencprop(ofw_bus_get_node(dev), "cache-size", &cache_size, in mpc85xx_cache_attach() 135 sizeof(cache_size)); in mpc85xx_cache_attach() 139 if (cache_line_size != 0 && cache_size != 0) in mpc85xx_cache_attach() 142 cache_size / 1024, cache_line_size); in mpc85xx_cache_attach()
|
| /freebsd-12.1/contrib/compiler-rt/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()
|
| /freebsd-12.1/contrib/libarchive/libarchive/ |
| H A D | archive_write_disk_set_standard_lookup.c | 59 static const size_t cache_size = 127; variable 87 struct bucket *ucache = calloc(cache_size, sizeof(struct bucket)); in archive_write_disk_set_standard_lookup() 88 struct bucket *gcache = calloc(cache_size, sizeof(struct bucket)); in archive_write_disk_set_standard_lookup() 112 b = &gcache[h % cache_size ]; in lookup_gid() 181 b = &ucache[h % cache_size ]; in lookup_uid() 243 for (i = 0; i < cache_size; i++) in cleanup()
|
| /freebsd-12.1/contrib/xz/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()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_slab.c | 41 (c)->cache_size - sizeof(struct linux_kmem_rcu))) 45 (r)->cache->cache_size)) 106 c->cache_size = size; in linux_kmem_cache_create()
|
| /freebsd-12.1/contrib/subversion/subversion/include/ |
| H A D | svn_cache_config.h | 55 apr_uint64_t cache_size; member
|
| /freebsd-12.1/contrib/subversion/subversion/svnfsfs/ |
| H A D | svnfsfs.c | 249 opt_state.memory_cache_size = svn_cache_config_get()->cache_size; in sub_main() 439 settings.cache_size = opt_state.memory_cache_size; in sub_main()
|
| /freebsd-12.1/sys/compat/linprocfs/ |
| H A D | linprocfs.c | 207 u_int cache_size[4]; in linprocfs_docpuinfo() local 251 do_cpuid(0x80000006, cache_size); in linprocfs_docpuinfo() 253 memset(cache_size, 0, sizeof(cache_size)); in linprocfs_docpuinfo() 284 (cache_size[2] >> 16), 0, mp_ncpus, i, mp_ncpus, in linprocfs_docpuinfo()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | slab.h | 80 unsigned cache_size; member
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | sched-deps.c | 81 static int cache_size; variable 1779 cache_size = 0; in init_dependency_caches() 1791 int i, luid = cache_size + n; in extend_dependency_caches() 1807 for (i = cache_size; i < luid; i++) in extend_dependency_caches() 1818 cache_size = luid; in extend_dependency_caches() 1831 for (i = 0; i < cache_size; i++) in free_dependency_caches()
|
| H A D | ChangeLog-2005 | 29692 * sched-deps.c (cache_size): Make it static.
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_ses.h | 1471 uint8_t cache_size[2]; member 1502 uintmax_t cache_size; in GEN_SES_STATUS_NV_CACHE_ACCESSORS() local 1506 cache_size = scsi_2btoul(elem->cache_size); in GEN_SES_STATUS_NV_CACHE_ACCESSORS() 1508 return (cache_size << multiplier); in GEN_SES_STATUS_NV_CACHE_ACCESSORS()
|
| /freebsd-12.1/contrib/byacc/ |
| H A D | reader.c | 32 static int cinc, cache_size; variable 101 if (cinc >= cache_size) in cachec() 103 cache_size += CACHE_SIZE; in cachec() 104 cache = TREALLOC(char, cache, cache_size); in cachec() 1647 cache_size = CACHE_SIZE; in read_declarations() 1648 cache = TMALLOC(char, cache_size); in read_declarations() 2328 assert(cache_size >= CACHE_SIZE); in insert_empty_rule()
|
| /freebsd-12.1/sys/dev/dpt/ |
| H A D | dpt.h | 1111 u_int32_t cache_size; member 1198 cache_size :30; member
|
| H A D | dpt_scsi.c | 495 dpt->cache_size = 0; in dpt_detect_cache() 593 dpt->cache_size = param[5] in dpt_detect_cache() 1371 && dpt->cache_size != 0) { in dpt_init()
|
| /freebsd-12.1/contrib/subversion/subversion/svnadmin/ |
| H A D | svnadmin.c | 600 = svn_cache_config_get()->cache_size > BLOCK_READ_CACHE_THRESHOLD; in open_repos() 2823 opt_state.memory_cache_size = svn_cache_config_get()->cache_size; in sub_main() 3164 settings.cache_size = opt_state.memory_cache_size; in sub_main()
|
| /freebsd-12.1/contrib/subversion/subversion/svnserve/ |
| H A D | svnserve.c | 1280 settings.cache_size = params.memory_cache_size; in sub_main()
|
| /freebsd-12.1/sys/dev/mly/ |
| H A D | mlyreg.h | 586 u_int16_t cache_size; member
|
| H A D | mly.c | 2524 mi->cache_size); in mly_describe_controller()
|
| /freebsd-12.1/contrib/subversion/subversion/svnlook/ |
| H A D | svnlook.c | 2465 opt_state.memory_cache_size = svn_cache_config_get()->cache_size; in sub_main() 2793 settings.cache_size = opt_state.memory_cache_size; in sub_main()
|
| /freebsd-12.1/sys/geom/raid/ |
| H A D | md_intel.c | 185 uint32_t cache_size; member 481 printf("cache_size %u\n", meta->cache_size); in g_raid_md_intel_print()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_ra_local/ |
| H A D | ra_plugin.c | 163 settings.cache_size = 1024 * 1024 * memory_cache_size; in cache_init()
|
| /freebsd-12.1/crypto/heimdal/lib/sqlite/ |
| H A D | sqlite3.c | 9344 int cache_size; /* Number of pages to use in the cache */ member 70682 mxCache = db->aDb[0].pSchema->cache_size; 90353 pDb->pSchema->cache_size = size; 90354 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 90657 returnSingleInt(pParse, "cache_size", pDb->pSchema->cache_size); 90660 pDb->pSchema->cache_size = size; 90661 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 91767 if( pDb->pSchema->cache_size==0 ){ 91770 pDb->pSchema->cache_size = size; 91771 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size);
|
| /freebsd-12.1/contrib/sqlite3/ |
| H A D | sqlite3.c | 16614 int cache_size; /* Number of pages to use in the cache */ member 94651 mxCache = db->aDb[0].pSchema->cache_size; 125871 pDb->pSchema->cache_size = size; 125872 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 126169 returnSingleInt(v, pDb->pSchema->cache_size); 126172 pDb->pSchema->cache_size = size; 126173 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 128198 if( pDb->pSchema->cache_size==0 ){ 128202 pDb->pSchema->cache_size = size; 128204 pDb->pSchema->cache_size = SQLITE_DEFAULT_CACHE_SIZE; [all …]
|