Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dcache_config.c87 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 Dmpc85xx_cache.c117 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 Dsanitizer_quarantine.h84 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 Darchive_write_disk_set_standard_lookup.c59 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 Drange_encoder.h29 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 Dlinux_slab.c49 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 Dtrim_l2arc.ksh98 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 Dsvn_cache_config.h55 apr_uint64_t cache_size; member
/freebsd-13.1/contrib/subversion/subversion/svnfsfs/
H A Dsvnfsfs.c261 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 Dlibifconfig_bridge.c89 bridge->inner.cache_size = cache_param.ifbrp_csize; in ifconfig_bridge_get_bridge_status()
H A Dlibifconfig.h69 uint32_t cache_size; /**< size of address cache */ member
/freebsd-13.1/sys/compat/linprocfs/
H A Dlinprocfs.c202 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 Dscsi_ses.h1470 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 Dreader.c32 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 Dvdev_cache.c432 ZFS_MODULE_PARAM(zfs_vdev, zfs_vdev_, cache_size, INT, ZMOD_RD,
/freebsd-13.1/sbin/ifconfig/
H A Difbridge.c180 bridge->cache_size, in bridge_status()
/freebsd-13.1/contrib/subversion/subversion/svnserve/
H A Dsvnserve.c1280 settings.cache_size = params.memory_cache_size; in sub_main()
/freebsd-13.1/contrib/subversion/subversion/svnadmin/
H A Dsvnadmin.c691 = 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 Dmlyreg.h586 u_int16_t cache_size; member
H A Dmly.c2519 mi->cache_size); in mly_describe_controller()
/freebsd-13.1/contrib/subversion/subversion/svnlook/
H A Dsvnlook.c2499 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 Dmd_intel.c186 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 Dra_plugin.c163 settings.cache_size = 1024 * 1024 * memory_cache_size; in cache_init()
/freebsd-13.1/contrib/sqlite3/
H A Dsqlite3.c16281 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 …]