Home
last modified time | relevance | path

Searched refs:PV_BATCH_SIZE (Results 1 – 1 of 1) sorted by relevance

/xnu-8020.140.41/osfmk/arm/pmap/
H A Dpmap_data.c192 #define PV_BATCH_SIZE (PAGE_SIZE / sizeof(pv_entry_t)) macro
200 static_assert((PV_BATCH_SIZE * sizeof(pv_entry_t)) <= PAGE_SIZE);
1499 assert((free_list->count == PV_BATCH_SIZE) && (free_list->list != PV_ENTRY_NULL)); in pv_free_array_get_batch()
1530 free_list->count = PV_BATCH_SIZE; in pv_free_array_give_batch()
1650 pmap_cpu_data->pv_free.count = PV_BATCH_SIZE - 1; in pv_list_alloc()
1695 const uint32_t available = PV_BATCH_SIZE - (pmap_cpu_data->pv_free.count % PV_BATCH_SIZE); in pv_list_free()
1703 … ((pmap_cpu_data->pv_free.count % PV_BATCH_SIZE != 0) || (pmap_cpu_data->pv_free.count == 0)))) { in pv_list_free()
1727 if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE + 1))) { in pv_list_free()
1736 } else if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE * 2) + 1)) { in pv_list_free()
1742 pmap_cpu_data->pv_free.count -= PV_BATCH_SIZE; in pv_list_free()
[all …]