Home
last modified time | relevance | path

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

12

/freebsd-12.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-12.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-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h85 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 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-12.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-12.1/sys/compat/linuxkpi/common/src/
H A Dlinux_slab.c41 (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 Dsvn_cache_config.h55 apr_uint64_t cache_size; member
/freebsd-12.1/contrib/subversion/subversion/svnfsfs/
H A Dsvnfsfs.c249 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 Dlinprocfs.c207 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 Dslab.h80 unsigned cache_size; member
/freebsd-12.1/contrib/gcc/
H A Dsched-deps.c81 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 DChangeLog-200529692 * sched-deps.c (cache_size): Make it static.
/freebsd-12.1/sys/cam/scsi/
H A Dscsi_ses.h1471 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 Dreader.c32 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 Ddpt.h1111 u_int32_t cache_size; member
1198 cache_size :30; member
H A Ddpt_scsi.c495 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 Dsvnadmin.c600 = 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 Dsvnserve.c1280 settings.cache_size = params.memory_cache_size; in sub_main()
/freebsd-12.1/sys/dev/mly/
H A Dmlyreg.h586 u_int16_t cache_size; member
H A Dmly.c2524 mi->cache_size); in mly_describe_controller()
/freebsd-12.1/contrib/subversion/subversion/svnlook/
H A Dsvnlook.c2465 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 Dmd_intel.c185 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 Dra_plugin.c163 settings.cache_size = 1024 * 1024 * memory_cache_size; in cache_init()
/freebsd-12.1/crypto/heimdal/lib/sqlite/
H A Dsqlite3.c9344 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 Dsqlite3.c16614 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 …]

12