Searched refs:maxbucket (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/vm/ |
H A D | uma_core.c | 4325 int error, maxbucket, cnt; in zone_alloc_bucket() local 4337 maxbucket = zone_alloc_limit(zone, zone->uz_bucket_size, in zone_alloc_bucket() 4340 maxbucket = zone->uz_bucket_size; in zone_alloc_bucket() 4341 if (maxbucket == 0) in zone_alloc_bucket() 4352 MIN(maxbucket, bucket->ub_entries), domain, flags); in zone_alloc_bucket() 4391 if (zone->uz_max_items > 0 && cnt < maxbucket) in zone_alloc_bucket() 4392 zone_free_limit(zone, maxbucket - cnt); in zone_alloc_bucket()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_state.c | 5140 u_int maxbucket; in ipf_state_rehash() local 5173 for (maxbucket = 0, i = newsize; i > 0; i >>= 1) in ipf_state_rehash() 5174 maxbucket++; in ipf_state_rehash() 5175 maxbucket *= 2; in ipf_state_rehash() 5199 softs->ipf_state_maxbucket = maxbucket; in ipf_state_rehash()
|
H A D | ip_nat.c | 7864 u_int maxbucket; in ipf_nat_rehash() local 7912 for (maxbucket = 0, i = newsize; i > 0; i >>= 1) in ipf_nat_rehash() 7913 maxbucket++; in ipf_nat_rehash() 7914 maxbucket *= 2; in ipf_nat_rehash() 7963 softn->ipf_nat_maxbucket = maxbucket; in ipf_nat_rehash()
|