Searched refs:maxbucket (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/sys/vm/ |
| H A D | uma_core.c | 4287 int error, maxbucket, cnt; in zone_alloc_bucket() local 4299 maxbucket = zone_alloc_limit(zone, zone->uz_bucket_size, in zone_alloc_bucket() 4302 maxbucket = zone->uz_bucket_size; in zone_alloc_bucket() 4303 if (maxbucket == 0) in zone_alloc_bucket() 4314 MIN(maxbucket, bucket->ub_entries), domain, flags); in zone_alloc_bucket() 4353 if (zone->uz_max_items > 0 && cnt < maxbucket) in zone_alloc_bucket() 4354 zone_free_limit(zone, maxbucket - cnt); in zone_alloc_bucket()
|
| /freebsd-14.2/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_state.c | 5144 u_int maxbucket; in ipf_state_rehash() local 5177 for (maxbucket = 0, i = newsize; i > 0; i >>= 1) in ipf_state_rehash() 5178 maxbucket++; in ipf_state_rehash() 5179 maxbucket *= 2; in ipf_state_rehash() 5203 softs->ipf_state_maxbucket = maxbucket; in ipf_state_rehash()
|
| H A D | ip_nat.c | 7868 u_int maxbucket; in ipf_nat_rehash() local 7916 for (maxbucket = 0, i = newsize; i > 0; i >>= 1) in ipf_nat_rehash() 7917 maxbucket++; in ipf_nat_rehash() 7918 maxbucket *= 2; in ipf_nat_rehash() 7967 softn->ipf_nat_maxbucket = maxbucket; in ipf_nat_rehash()
|