Lines Matching refs:uz_max_items
1367 if (zone->uz_max_items > 0) in bucket_drain()
2698 "max_items", CTLFLAG_RD, &zone->uz_max_items, 0, in zone_alloc_sysctl()
4154 sleepq_lock(&zone->uz_max_items); in zone_alloc_limit_hard()
4159 max = zone->uz_max_items; in zone_alloc_limit_hard()
4169 sleepq_release(&zone->uz_max_items); in zone_alloc_limit_hard()
4186 sleepq_add(&zone->uz_max_items, NULL, "zonelimit", 0, 0); in zone_alloc_limit_hard()
4187 sleepq_wait(&zone->uz_max_items, PVM); in zone_alloc_limit_hard()
4208 max = zone->uz_max_items; in zone_alloc_limit_hard()
4216 wakeup_one(&zone->uz_max_items); in zone_alloc_limit_hard()
4233 max = zone->uz_max_items; in zone_alloc_limit()
4273 UZ_ITEMS_COUNT(old) - count >= zone->uz_max_items)) in zone_free_limit()
4280 wakeup_one(&zone->uz_max_items); in zone_free_limit()
4298 if (zone->uz_max_items > 0) in zone_alloc_bucket()
4353 if (zone->uz_max_items > 0 && cnt < maxbucket) in zone_alloc_bucket()
4378 if (zone->uz_max_items > 0 && zone_alloc_limit(zone, 1, flags) == 0) { in zone_alloc_item()
4421 if (zone->uz_max_items > 0) in zone_alloc_item()
4903 if (zone->uz_max_items > 0) in zone_free_item()
4924 if (zone->uz_max_items == 0) in uma_zone_set_max()
4926 zone->uz_max_items = nitems; in uma_zone_set_max()
4930 wakeup(&zone->uz_max_items); in uma_zone_set_max()
4978 nitems = atomic_load_64(&zone->uz_max_items); in uma_zone_get_max()
5188 zone->uz_max_items = pages * keg->uk_ipers;
5555 if (z->uz_max_items > 0) {
5561 uth.uth_maxpages = (z->uz_max_items / kz->uk_ipers) *
5563 uth.uth_limit = z->uz_max_items;