Home
last modified time | relevance | path

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

/freebsd/sys/powerpc/mpc85xx/
H A Dmpc85xx_cache.c112 int cache_line_size, cache_size; in mpc85xx_cache_attach() local
128 cache_size = 0; in mpc85xx_cache_attach()
129 OF_getencprop(ofw_bus_get_node(dev), "cache-size", &cache_size, in mpc85xx_cache_attach()
130 sizeof(cache_size)); in mpc85xx_cache_attach()
134 if (cache_line_size != 0 && cache_size != 0) in mpc85xx_cache_attach()
137 cache_size / 1024, cache_line_size); in mpc85xx_cache_attach()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_disk_set_standard_lookup.c58 static const size_t cache_size = 127;
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()
59 static const size_t cache_size = 127; global() variable
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h80 void Init(uptr size, uptr cache_size) { in Init() argument
83 CHECK((size == 0 && cache_size == 0) || cache_size != 0); in Init()
87 atomic_store_relaxed(&max_cache_size_, cache_size); in Init()
157 uptr cache_size = cache_.Size(); in Recycle() local
159 CHECK_GE(cache_size, overhead_size); in Recycle()
164 if (cache_size > overhead_size && in Recycle()
166 cache_size * kOverheadThresholdPercents) { in Recycle()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/trim/
H A Dtrim_l2arc.ksh100 typeset cache_size cache_alloc _
101 read -r _ cache_size cache_alloc _ < <(zpool list -vp | grep $TRIM_VDEV2)
103 log_must test $cache_alloc -lt $cache_size
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_slab.c48 unsigned cache_size; member
55 (c)->cache_size - sizeof(struct linux_kmem_rcu)))
59 (r)->cache->cache_size))
141 c->cache_size = size; in linux_kmem_cache_create()
/freebsd/lib/libifconfig/
H A Dlibifconfig_bridge.c87 bridge->inner.cache_size = cache_param.ifbrp_csize; in ifconfig_bridge_get_bridge_status()
H A Dlibifconfig.h68 uint32_t cache_size; /**< size of address cache */ member
/freebsd/sys/cam/scsi/
H A Dscsi_ses.h1469 uint8_t cache_size[2]; member
1500 uintmax_t cache_size; in GEN_SES_STATUS_NV_CACHE_ACCESSORS() local
1504 cache_size = scsi_2btoul(elem->cache_size); in GEN_SES_STATUS_NV_CACHE_ACCESSORS()
1506 return (cache_size << multiplier); in GEN_SES_STATUS_NV_CACHE_ACCESSORS()
/freebsd/contrib/byacc/
H A Dreader.c55 static int cinc, cache_size; variable
145 if (cinc >= cache_size) in cachec()
147 cache_size += CACHE_SIZE; in cachec()
148 cache = TREALLOC(char, cache, cache_size); in cachec()
2045 cache_size = CACHE_SIZE; in read_declarations()
2046 cache = TMALLOC(char, cache_size); in read_declarations()
2746 assert(cache_size >= CACHE_SIZE); in insert_empty_rule()
/freebsd/contrib/llvm-project/llvm/tools/llvm-symbolizer/
H A DOpts.td25 defm cache_size : Eq<"cache-size", "Max size in bytes of the in-memory binary cache.">;
/freebsd/sys/arm64/arm64/
H A Didentcpu.c2681 size_t cache_size; in print_cpu_cache() local
2692 cache_size = (CCSIDR_NSETS_64(ccs) + 1) * in print_cpu_cache()
2695 cache_size = (CCSIDR_NSETS(ccs) + 1) * (CCSIDR_ASSOC(ccs) + 1); in print_cpu_cache()
2697 cache_size *= line_size; in print_cpu_cache()
2698 sbuf_printf(sb, "%zuKB (%s)", cache_size / 1024, in print_cpu_cache()
/freebsd/sbin/ifconfig/
H A Difbridge.c173 bridge->cache_size, in bridge_status()
/freebsd/sys/geom/raid/
H A Dmd_intel.c183 uint32_t cache_size; member
478 printf("cache_size %u\n", meta->cache_size); in g_raid_md_intel_print()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c17450 int cache_size; /* Number of pages to use in the cache */ member
103799 mxCache = db->aDb[0].pSchema->cache_size;
139289 pDb->pSchema->cache_size = size;
139290 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size);
139593 returnSingleInt(v, pDb->pSchema->cache_size);
139596 pDb->pSchema->cache_size = size;
139597 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size);
142132 if( pDb->pSchema->cache_size==0 ){
142136 pDb->pSchema->cache_size = size;
142138 pDb->pSchema->cache_size = SQLITE_DEFAULT_CACHE_SIZE;
[all …]