| /freebsd-13.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-13.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-13.1/contrib/llvm-project/compiler-rt/lib/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()
|
| /freebsd-13.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-13.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-13.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_slab.c | 49 unsigned cache_size; member 56 (c)->cache_size - sizeof(struct linux_kmem_rcu))) 60 (r)->cache->cache_size)) 142 c->cache_size = size; in linux_kmem_cache_create()
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/trim/ |
| H A D | trim_l2arc.ksh | 98 typeset cache_size=$(zpool list -vp | grep $TRIM_VDEV2 | awk '{print $2}') 101 log_must test $cache_alloc -lt $cache_size
|
| /freebsd-13.1/contrib/subversion/subversion/include/ |
| H A D | svn_cache_config.h | 55 apr_uint64_t cache_size; member
|
| /freebsd-13.1/contrib/subversion/subversion/svnfsfs/ |
| H A D | svnfsfs.c | 261 opt_state.memory_cache_size = svn_cache_config_get()->cache_size; in sub_main() 451 settings.cache_size = opt_state.memory_cache_size; in sub_main()
|
| /freebsd-13.1/lib/libifconfig/ |
| H A D | libifconfig_bridge.c | 89 bridge->inner.cache_size = cache_param.ifbrp_csize; in ifconfig_bridge_get_bridge_status()
|
| H A D | libifconfig.h | 69 uint32_t cache_size; /**< size of address cache */ member
|
| /freebsd-13.1/sys/compat/linprocfs/ |
| H A D | linprocfs.c | 202 u_int cache_size[4]; in linprocfs_docpuinfo() local 291 do_cpuid(0x80000006, cache_size); in linprocfs_docpuinfo() 293 memset(cache_size, 0, sizeof(cache_size)); in linprocfs_docpuinfo() 324 (cache_size[2] >> 16), 0, mp_ncpus, i, mp_ncpus, in linprocfs_docpuinfo()
|
| /freebsd-13.1/sys/cam/scsi/ |
| H A D | scsi_ses.h | 1470 uint8_t cache_size[2]; member 1501 uintmax_t cache_size; in GEN_SES_STATUS_NV_CACHE_ACCESSORS() local 1505 cache_size = scsi_2btoul(elem->cache_size); in GEN_SES_STATUS_NV_CACHE_ACCESSORS() 1507 return (cache_size << multiplier); in GEN_SES_STATUS_NV_CACHE_ACCESSORS()
|
| /freebsd-13.1/contrib/byacc/ |
| H A D | reader.c | 32 static int cinc, cache_size; variable 108 if (cinc >= cache_size) in cachec() 110 cache_size += CACHE_SIZE; in cachec() 111 cache = TREALLOC(char, cache, cache_size); in cachec() 1797 cache_size = CACHE_SIZE; in read_declarations() 1798 cache = TMALLOC(char, cache_size); in read_declarations() 2489 assert(cache_size >= CACHE_SIZE); in insert_empty_rule()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_cache.c | 432 ZFS_MODULE_PARAM(zfs_vdev, zfs_vdev_, cache_size, INT, ZMOD_RD,
|
| /freebsd-13.1/sbin/ifconfig/ |
| H A D | ifbridge.c | 180 bridge->cache_size, in bridge_status()
|
| /freebsd-13.1/contrib/subversion/subversion/svnserve/ |
| H A D | svnserve.c | 1280 settings.cache_size = params.memory_cache_size; in sub_main()
|
| /freebsd-13.1/contrib/subversion/subversion/svnadmin/ |
| H A D | svnadmin.c | 691 = svn_cache_config_get()->cache_size > BLOCK_READ_CACHE_THRESHOLD; in open_repos() 3078 opt_state.memory_cache_size = svn_cache_config_get()->cache_size; in sub_main() 3419 settings.cache_size = opt_state.memory_cache_size; in sub_main()
|
| /freebsd-13.1/sys/dev/mly/ |
| H A D | mlyreg.h | 586 u_int16_t cache_size; member
|
| H A D | mly.c | 2519 mi->cache_size); in mly_describe_controller()
|
| /freebsd-13.1/contrib/subversion/subversion/svnlook/ |
| H A D | svnlook.c | 2499 opt_state.memory_cache_size = svn_cache_config_get()->cache_size; in sub_main() 2827 settings.cache_size = opt_state.memory_cache_size; in sub_main()
|
| /freebsd-13.1/sys/geom/raid/ |
| H A D | md_intel.c | 186 uint32_t cache_size; member 481 printf("cache_size %u\n", meta->cache_size); in g_raid_md_intel_print()
|
| /freebsd-13.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-13.1/contrib/sqlite3/ |
| H A D | sqlite3.c | 16281 int cache_size; /* Number of pages to use in the cache */ member 96690 mxCache = db->aDb[0].pSchema->cache_size; 130045 pDb->pSchema->cache_size = size; 130046 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 130349 returnSingleInt(v, pDb->pSchema->cache_size); 130352 pDb->pSchema->cache_size = size; 130353 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 132549 if( pDb->pSchema->cache_size==0 ){ 132553 pDb->pSchema->cache_size = size; 132555 pDb->pSchema->cache_size = SQLITE_DEFAULT_CACHE_SIZE; [all …]
|