Home
last modified time | relevance | path

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

/openbsd/src/sbin/unwind/libunbound/util/storage/
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()
Dslabhash.h162 int slabhash_is_size(struct slabhash* table, size_t size, size_t slabs);
/openbsd/src/usr.sbin/unbound/util/storage/
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()
Dslabhash.h162 int slabhash_is_size(struct slabhash* table, size_t size, size_t slabs);
/openbsd/src/usr.sbin/unbound/util/
Dconfiglexer.lex295 msg-cache-slabs{COLON} { YDVAR(1, VAR_MSG_CACHE_SLABS) }
297 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) }
521 ip-ratelimit-slabs{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SLABS) }
522 ratelimit-slabs{COLON} { YDVAR(1, VAR_RATELIMIT_SLABS) }
551 dnscrypt-shared-secret-cache-slabs{COLON} {
554 dnscrypt-nonce-cache-slabs{COLON} { YDVAR(1, VAR_DNSCRYPT_NONCE_CACHE_SLABS) }
/openbsd/src/sbin/unwind/libunbound/util/
Dconfiglexer.lex295 msg-cache-slabs{COLON} { YDVAR(1, VAR_MSG_CACHE_SLABS) }
297 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) }
521 ip-ratelimit-slabs{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SLABS) }
522 ratelimit-slabs{COLON} { YDVAR(1, VAR_RATELIMIT_SLABS) }
551 dnscrypt-shared-secret-cache-slabs{COLON} {
554 dnscrypt-nonce-cache-slabs{COLON} { YDVAR(1, VAR_DNSCRYPT_NONCE_CACHE_SLABS) }
/openbsd/src/usr.sbin/unbound/doc/
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
213 # the number of slabs to use for the RRset cache.
214 # the number of slabs must be a power of 2.
215 # more slabs reduce lock contention, but fragment memory usage.
216 # rrset-cache-slabs: 4
247 # the number of slabs to use for the Infrastructure cache.
248 # the number of slabs must be a power of 2.
[all …]
DChangelog4840 ip-ratelimit-slabs.
11263 - key cache size and slabs config options.
11810 - config settings for rrset cache size and slabs.
/openbsd/src/sbin/unwind/libunbound/services/cache/
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()
/openbsd/src/usr.sbin/unbound/services/cache/
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()
/openbsd/src/gnu/usr.bin/perl/Porting/
Dtodo.pod1079 slabs--, so that freeing ops is identical whether or not this step runs.
1088 cause their slabs to be freed, which would eliminate possible memory wastage if
1089 the previous suggestion is implemented, and we swap slabs more frequently.
/openbsd/src/games/adventure/
Dglorkz122 67 littered with thin rock slabs, which make it easy to descend the pits.
/openbsd/src/gnu/usr.bin/perl/pod/
Dperlguts.pod4999 To handle this situation, Perl uses I<op slabs> that are attached to the
5015 store the size of the slab (see below on why slabs vary in size), because Perl
5081 slabs for a single CV, each subsequent slab is twice the size of the previous.
Dperlhacktips.pod2181 to op slabs belonging to C<BEGIN> blocks.