Searched refs:slabs (Results 1 – 13 of 13) sorted by relevance
| /freebsd/contrib/unbound/util/storage/ |
| H A D | slabhash.c | 156 int slabhash_is_size(struct slabhash* sl, size_t size, size_t slabs) in slabhash_is_size() argument 158 /* divide by slabs and then multiply by the number of slabs, in slabhash_is_size() 159 * because if the size is not an even multiple of slabs, the in slabhash_is_size() 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 D | slabhash.h | 48 /** default number of slabs */ 156 * See if slabhash is of given (size, slabs) configuration. 159 * @param slabs: slab count to test for. 162 int slabhash_is_size(struct slabhash* table, size_t size, size_t slabs);
|
| /freebsd/contrib/unbound/util/ |
| H A D | configlexer.lex | 298 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) } 527 ip-ratelimit-slabs{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SLABS) } 528 ratelimit-slabs{COLON} { YDVAR(1, VAR_RATELIMIT_SLABS) } 557 dnscrypt-shared-secret-cache-slabs{COLON} { 560 dnscrypt-nonce-cache-slabs{COLON} { YDVAR(1, VAR_DNSCRYPT_NONCE_CACHE_SLABS) }
|
| /freebsd/contrib/unbound/doc/ |
| H A D | example.conf.in | 160 # 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 241 # the number of slabs to use for the RRset cache. 242 # the number of slabs must be a power of 2. 243 # more slabs reduce lock contention, but fragment memory usage. 244 # rrset-cache-slabs: 4 275 # the number of slabs to use for the Infrastructure cache. 276 # the number of slabs must be a power of 2. [all …]
|
| H A D | unbound.conf.rst | 481 @@UAHL@unbound.conf@msg-cache-slabs@@: *<number>* 482 Number of slabs in the message cache. 737 @@UAHL@unbound.conf@rrset-cache-slabs@@: *<number>* 738 Number of slabs in the RRset cache. 798 @@UAHL@unbound.conf@infra-cache-slabs@@: *<number>* 799 Number of slabs in the infrastructure cache. 2534 @@UAHL@unbound.conf@key-cache-slabs@@: *<number>* 2535 Number of slabs in the key cache. 3140 @@UAHL@unbound.conf@ratelimit-slabs@@: *<number>* 3141 Number of slabs in the ratelimit tracking data structure. [all …]
|
| H A D | unbound-control.rst | 184 any **\*-slabs** options and
|
| H A D | Changelog | 1340 - Merge #1276: Auto-configure '-slabs' values. 6612 ip-ratelimit-slabs. 13035 - key cache size and slabs config options. 13582 - config settings for rrset cache size and slabs.
|
| /freebsd/contrib/unbound/services/cache/ |
| H A D | rrset.c | 65 size_t slabs = (cfg?cfg->rrset_cache_slabs:HASH_DEFAULT_SLABS); in rrset_cache_create() local 69 struct rrset_cache *r = (struct rrset_cache*)slabhash_create(slabs, in rrset_cache_create()
|
| /freebsd/contrib/bc/include/ |
| H A D | vm.h | 760 BcVec slabs; member
|
| /freebsd/contrib/bc/src/ |
| H A D | vm.c | 671 bc_slabvec_free(&vm->slabs); 1629 bc_slabvec_init(&vm->slabs);
|
| H A D | vector.c | 452 id.name = bc_slabvec_strdup(&vm->slabs, name); in bc_map_insert()
|
| /freebsd/sys/vm/ |
| H A D | uma_core.c | 1176 u_int slabs, pages; in zone_timeout() local 1197 if ((slabs = pages / keg->uk_ppera) > keg->uk_hash.uh_hashsize) { in zone_timeout() 1209 ret = hash_alloc(&newhash, 1 << fls(slabs)); in zone_timeout() 5292 int aflags, domain, slabs; local 5295 slabs = howmany(items, keg->uk_ipers); 5296 while (slabs-- > 0) {
|
| /freebsd/contrib/unbound/contrib/ |
| H A D | fastrpz.patch | 3202 /** number of slabs for ip_ratelimit cache */
|