Lines Matching refs:z_recirc

4668 			zone_depot_move_full(&z->z_recirc,  in zalloc_expand_drain_exhausted_caches_locked()
4672 zone_depot_move_empty(&z->z_recirc, in zalloc_expand_drain_exhausted_caches_locked()
4679 if (z->z_recirc.zd_full) { in zalloc_expand_drain_exhausted_caches_locked()
4680 mag = zone_depot_pop_head_full(&z->z_recirc, z); in zalloc_expand_drain_exhausted_caches_locked()
5851 seq = zone_depot_move_full(&zone->z_recirc, in zfree_cached_depot_recirculate()
5856 if (depot_max > 1 && zone_depot_poll(&zone->z_recirc, smr)) { in zfree_cached_depot_recirculate()
5858 &zone->z_recirc, depot_max / 2, NULL); in zfree_cached_depot_recirculate()
5864 if (n > zone->z_recirc.zd_empty) { in zfree_cached_depot_recirculate()
5865 n = zone->z_recirc.zd_empty; in zfree_cached_depot_recirculate()
5868 zone_depot_move_empty(&cache->zc_depot, &zone->z_recirc, in zfree_cached_depot_recirculate()
5882 if (zone->z_recirc.zd_empty == 0) { in zfree_cached_recirculate()
5888 if (mag == NULL && zone->z_recirc.zd_empty) { in zfree_cached_recirculate()
5889 mag = zone_depot_pop_head_empty(&zone->z_recirc, zone); in zfree_cached_recirculate()
5898 zone_depot_insert_head_full(&zone->z_recirc, tmp); in zfree_cached_recirculate()
5900 zone_depot_insert_tail_full(&zone->z_recirc, tmp); in zfree_cached_recirculate()
6705 zone_depot_move_empty(&zone->z_recirc, &cache->zc_depot, in zalloc_cached_depot_recirculate()
6716 seq = zone_depot_move_full(&zone->z_recirc, &cache->zc_depot, in zalloc_cached_depot_recirculate()
6722 if (n > zone->z_recirc.zd_full) { in zalloc_cached_depot_recirculate()
6723 n = zone->z_recirc.zd_full; in zalloc_cached_depot_recirculate()
6726 if (n && zone_depot_poll(&zone->z_recirc, smr)) { in zalloc_cached_depot_recirculate()
6727 zone_depot_move_full(&cache->zc_depot, &zone->z_recirc, in zalloc_cached_depot_recirculate()
6759 if (zone_depot_poll(&zone->z_recirc, zone_cache_smr(cache))) { in zalloc_cached_recirculate()
6760 mag = zone_depot_pop_head_full(&zone->z_recirc, zone); in zalloc_cached_recirculate()
6765 zone_depot_insert_head_empty(&zone->z_recirc, mag); in zalloc_cached_recirculate()
6804 } else if (zone->z_recirc.zd_full) { in zalloc_cached_prime()
7692 *zd = z->z_recirc; in zone_reclaim_recirc_drain()
7696 zone_depot_init(&z->z_recirc); in zone_reclaim_recirc_drain()
7716 assert(count <= z->z_recirc.zd_empty); in zone_reclaim_recirc_trim()
7724 zone_depot_move_empty(zd, &z->z_recirc, count, NULL); in zone_reclaim_recirc_trim()
7731 assert(count <= z->z_recirc.zd_full); in zone_reclaim_recirc_trim()
7738 zone_depot_move_full(zd, &z->z_recirc, count, NULL); in zone_reclaim_recirc_trim()
8122 z->z_recirc_empty_min = z->z_recirc.zd_empty; in compute_zone_working_set_size()
8131 z->z_recirc_full_min = z->z_recirc.zd_full; in compute_zone_working_set_size()
9243 zone_depot_init(&z->z_recirc); in zone_init_defaults()