Lines Matching refs:z_recirc
4681 zone_depot_move_full(&z->z_recirc, in zalloc_expand_drain_exhausted_caches_locked()
4685 zone_depot_move_empty(&z->z_recirc, in zalloc_expand_drain_exhausted_caches_locked()
4692 if (z->z_recirc.zd_full) { in zalloc_expand_drain_exhausted_caches_locked()
4693 mag = zone_depot_pop_head_full(&z->z_recirc, z); in zalloc_expand_drain_exhausted_caches_locked()
5848 seq = zone_depot_move_full(&zone->z_recirc, in zfree_cached_depot_recirculate()
5853 if (depot_max > 1 && zone_depot_poll(&zone->z_recirc, smr)) { in zfree_cached_depot_recirculate()
5855 &zone->z_recirc, depot_max / 2, NULL); in zfree_cached_depot_recirculate()
5861 if (n > zone->z_recirc.zd_empty) { in zfree_cached_depot_recirculate()
5862 n = zone->z_recirc.zd_empty; in zfree_cached_depot_recirculate()
5865 zone_depot_move_empty(&cache->zc_depot, &zone->z_recirc, in zfree_cached_depot_recirculate()
5879 if (zone->z_recirc.zd_empty == 0) { in zfree_cached_recirculate()
5885 if (mag == NULL && zone->z_recirc.zd_empty) { in zfree_cached_recirculate()
5886 mag = zone_depot_pop_head_empty(&zone->z_recirc, zone); in zfree_cached_recirculate()
5895 zone_depot_insert_head_full(&zone->z_recirc, tmp); in zfree_cached_recirculate()
5897 zone_depot_insert_tail_full(&zone->z_recirc, tmp); in zfree_cached_recirculate()
6703 zone_depot_move_empty(&zone->z_recirc, &cache->zc_depot, in zalloc_cached_depot_recirculate()
6714 seq = zone_depot_move_full(&zone->z_recirc, &cache->zc_depot, in zalloc_cached_depot_recirculate()
6720 if (n > zone->z_recirc.zd_full) { in zalloc_cached_depot_recirculate()
6721 n = zone->z_recirc.zd_full; in zalloc_cached_depot_recirculate()
6724 if (n && zone_depot_poll(&zone->z_recirc, smr)) { in zalloc_cached_depot_recirculate()
6725 zone_depot_move_full(&cache->zc_depot, &zone->z_recirc, in zalloc_cached_depot_recirculate()
6757 if (zone_depot_poll(&zone->z_recirc, zone_cache_smr(cache))) { in zalloc_cached_recirculate()
6758 mag = zone_depot_pop_head_full(&zone->z_recirc, zone); in zalloc_cached_recirculate()
6763 zone_depot_insert_head_empty(&zone->z_recirc, mag); in zalloc_cached_recirculate()
6802 } else if (zone->z_recirc.zd_full) { in zalloc_cached_prime()
7688 *zd = z->z_recirc; in zone_reclaim_recirc_drain()
7692 zone_depot_init(&z->z_recirc); in zone_reclaim_recirc_drain()
7712 assert(count <= z->z_recirc.zd_empty); in zone_reclaim_recirc_trim()
7720 zone_depot_move_empty(zd, &z->z_recirc, count, NULL); in zone_reclaim_recirc_trim()
7727 assert(count <= z->z_recirc.zd_full); in zone_reclaim_recirc_trim()
7734 zone_depot_move_full(zd, &z->z_recirc, count, NULL); in zone_reclaim_recirc_trim()
8118 z->z_recirc_empty_min = z->z_recirc.zd_empty; in compute_zone_working_set_size()
8127 z->z_recirc_full_min = z->z_recirc.zd_full; in compute_zone_working_set_size()
9239 zone_depot_init(&z->z_recirc); in zone_init_defaults()