Lines Matching refs:z_recirc
4661 zone_depot_move_full(&z->z_recirc, in zalloc_expand_drain_exhausted_caches_locked()
4665 zone_depot_move_empty(&z->z_recirc, in zalloc_expand_drain_exhausted_caches_locked()
4672 if (z->z_recirc.zd_full) { in zalloc_expand_drain_exhausted_caches_locked()
4673 mag = zone_depot_pop_head_full(&z->z_recirc, z); in zalloc_expand_drain_exhausted_caches_locked()
5819 seq = zone_depot_move_full(&zone->z_recirc, in zfree_cached_depot_recirculate()
5824 if (depot_max > 1 && zone_depot_poll(&zone->z_recirc, smr)) { in zfree_cached_depot_recirculate()
5826 &zone->z_recirc, depot_max / 2, NULL); in zfree_cached_depot_recirculate()
5832 if (n > zone->z_recirc.zd_empty) { in zfree_cached_depot_recirculate()
5833 n = zone->z_recirc.zd_empty; in zfree_cached_depot_recirculate()
5836 zone_depot_move_empty(&cache->zc_depot, &zone->z_recirc, in zfree_cached_depot_recirculate()
5850 if (zone->z_recirc.zd_empty == 0) { in zfree_cached_recirculate()
5856 if (mag == NULL && zone->z_recirc.zd_empty) { in zfree_cached_recirculate()
5857 mag = zone_depot_pop_head_empty(&zone->z_recirc, zone); in zfree_cached_recirculate()
5866 zone_depot_insert_head_full(&zone->z_recirc, tmp); in zfree_cached_recirculate()
5868 zone_depot_insert_tail_full(&zone->z_recirc, tmp); in zfree_cached_recirculate()
6687 zone_depot_move_empty(&zone->z_recirc, &cache->zc_depot, in zalloc_cached_depot_recirculate()
6698 seq = zone_depot_move_full(&zone->z_recirc, &cache->zc_depot, in zalloc_cached_depot_recirculate()
6704 if (n > zone->z_recirc.zd_full) { in zalloc_cached_depot_recirculate()
6705 n = zone->z_recirc.zd_full; in zalloc_cached_depot_recirculate()
6708 if (n && zone_depot_poll(&zone->z_recirc, smr)) { in zalloc_cached_depot_recirculate()
6709 zone_depot_move_full(&cache->zc_depot, &zone->z_recirc, in zalloc_cached_depot_recirculate()
6741 if (zone_depot_poll(&zone->z_recirc, zone_cache_smr(cache))) { in zalloc_cached_recirculate()
6742 mag = zone_depot_pop_head_full(&zone->z_recirc, zone); in zalloc_cached_recirculate()
6747 zone_depot_insert_head_empty(&zone->z_recirc, mag); in zalloc_cached_recirculate()
6786 } else if (zone->z_recirc.zd_full) { in zalloc_cached_prime()
7671 *zd = z->z_recirc; in zone_reclaim_recirc_drain()
7675 zone_depot_init(&z->z_recirc); in zone_reclaim_recirc_drain()
7695 assert(count <= z->z_recirc.zd_empty); in zone_reclaim_recirc_trim()
7703 zone_depot_move_empty(zd, &z->z_recirc, count, NULL); in zone_reclaim_recirc_trim()
7710 assert(count <= z->z_recirc.zd_full); in zone_reclaim_recirc_trim()
7717 zone_depot_move_full(zd, &z->z_recirc, count, NULL); in zone_reclaim_recirc_trim()
8101 z->z_recirc_empty_min = z->z_recirc.zd_empty; in compute_zone_working_set_size()
8110 z->z_recirc_full_min = z->z_recirc.zd_full; in compute_zone_working_set_size()
9183 zone_depot_init(&z->z_recirc); in zone_init_defaults()