Home
last modified time | relevance | path

Searched refs:slabs (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/unbound/util/storage/
H A Dslabhash.c156 int slabhash_is_size(struct slabhash* sl, size_t size, size_t slabs) in slabhash_is_size() argument
162 if(sl->size != slabs) return 0; in slabhash_is_size()
163 if(slabs == 0) return 0; in slabhash_is_size()
164 if( (size/slabs)*slabs == slabhash_get_size(sl)) in slabhash_is_size()
H A Dslabhash.h162 int slabhash_is_size(struct slabhash* table, size_t size, size_t slabs);
/freebsd/contrib/unbound/util/
H A Dconfiglexer.lex298 msg-cache-slabs{COLON} { YDVAR(1, VAR_MSG_CACHE_SLABS) }
300 rrset-cache-slabs{COLON} { YDVAR(1, VAR_RRSET_CACHE_SLABS) }
307 infra-cache-slabs{COLON} { YDVAR(1, VAR_INFRA_CACHE_SLABS) }
423 key-cache-slabs{COLON} { YDVAR(1, VAR_KEY_CACHE_SLABS) }
526 ip-ratelimit-slabs{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SLABS) }
527 ratelimit-slabs{COLON} { YDVAR(1, VAR_RATELIMIT_SLABS) }
556 dnscrypt-shared-secret-cache-slabs{COLON} {
559 dnscrypt-nonce-cache-slabs{COLON} { YDVAR(1, VAR_DNSCRYPT_NONCE_CACHE_SLABS) }
/freebsd/contrib/unbound/doc/
H A Dexample.conf.in160 # the number of slabs to use for the message cache.
161 # the number of slabs must be a power of 2.
162 # more slabs reduce lock contention, but fragment memory usage.
163 # msg-cache-slabs: 4
222 # the number of slabs to use for the RRset cache.
223 # the number of slabs must be a power of 2.
224 # more slabs reduce lock contention, but fragment memory usage.
225 # rrset-cache-slabs: 4
256 # the number of slabs to use for the Infrastructure cache.
257 # the number of slabs must be a power of 2.
[all …]
H A DChangelog4989 ip-ratelimit-slabs.
11412 - key cache size and slabs config options.
11959 - config settings for rrset cache size and slabs.
/freebsd/contrib/unbound/services/cache/
H A Drrset.c64 size_t slabs = (cfg?cfg->rrset_cache_slabs:HASH_DEFAULT_SLABS); in rrset_cache_create() local
68 struct rrset_cache *r = (struct rrset_cache*)slabhash_create(slabs, in rrset_cache_create()
/freebsd/contrib/bc/include/
H A Dvm.h761 BcVec slabs; member
/freebsd/contrib/bc/src/
H A Dvm.c696 bc_slabvec_free(&vm->slabs);
1654 bc_slabvec_init(&vm->slabs);
H A Dvector.c452 id.name = bc_slabvec_strdup(&vm->slabs, name); in bc_map_insert()
633 // pop all of the other slabs. in bc_slabvec_clear()
/freebsd/sys/vm/
H A Duma_core.c1174 u_int slabs, pages; in zone_timeout() local
1195 if ((slabs = pages / keg->uk_ppera) > keg->uk_hash.uh_hashsize) { in zone_timeout()
1207 ret = hash_alloc(&newhash, 1 << fls(slabs)); in zone_timeout()
5247 int aflags, domain, slabs; local
5250 slabs = howmany(items, keg->uk_ipers);
5251 while (slabs-- > 0) {
/freebsd/contrib/unbound/contrib/
H A Dfastrpz.patch3202 /** number of slabs for ip_ratelimit cache */