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.lex296 msg-cache-slabs{COLON} { YDVAR(1, VAR_MSG_CACHE_SLABS) }
298 rrset-cache-slabs{COLON} { YDVAR(1, VAR_RRSET_CACHE_SLABS) }
304 infra-cache-slabs{COLON} { YDVAR(1, VAR_INFRA_CACHE_SLABS) }
419 key-cache-slabs{COLON} { YDVAR(1, VAR_KEY_CACHE_SLABS) }
515 ip-ratelimit-slabs{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SLABS) }
516 ratelimit-slabs{COLON} { YDVAR(1, VAR_RATELIMIT_SLABS) }
545 dnscrypt-shared-secret-cache-slabs{COLON} {
548 dnscrypt-nonce-cache-slabs{COLON} { YDVAR(1, VAR_DNSCRYPT_NONCE_CACHE_SLABS) }
/freebsd/contrib/unbound/doc/
H A Dexample.conf.in161 # the number of slabs must be a power of 2.
163 # msg-cache-slabs: 4
198 # the number of slabs to use for the RRset cache.
199 # the number of slabs must be a power of 2.
201 # rrset-cache-slabs: 4
228 # the number of slabs must be a power of 2.
230 # infra-cache-slabs: 4
758 # the number of slabs must be a power of 2.
760 # key-cache-slabs: 4
969 # ratelimit-slabs: 4
[all …]
H A DChangelog4396 ip-ratelimit-slabs.
10819 - key cache size and slabs config options.
11366 - config settings for rrset cache size and slabs.
/freebsd/contrib/unbound/services/cache/
H A Drrset.c63 size_t slabs = (cfg?cfg->rrset_cache_slabs:HASH_DEFAULT_SLABS); in rrset_cache_create() local
67 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.c675 bc_slabvec_free(&vm->slabs);
1607 bc_slabvec_init(&vm->slabs);
H A Dvector.c452 id.name = bc_slabvec_strdup(&vm->slabs, name); in bc_map_insert()
/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()
5209 int aflags, domain, slabs; local
5212 slabs = howmany(items, keg->uk_ipers);
5213 while (slabs-- > 0) {
/freebsd/contrib/unbound/contrib/
H A Dfastrpz.patch3202 /** number of slabs for ip_ratelimit cache */