Searched refs:PV_BATCH_SIZE (Results 1 – 1 of 1) sorted by relevance
192 #define PV_BATCH_SIZE (PAGE_SIZE / sizeof(pv_entry_t)) macro200 static_assert((PV_BATCH_SIZE * sizeof(pv_entry_t)) <= PAGE_SIZE);1495 assert((free_list->count == PV_BATCH_SIZE) && (free_list->list != PV_ENTRY_NULL)); in pv_free_array_get_batch()1526 free_list->count = PV_BATCH_SIZE; in pv_free_array_give_batch()1646 pmap_cpu_data->pv_free.count = PV_BATCH_SIZE - 1; in pv_list_alloc()1691 const uint32_t available = PV_BATCH_SIZE - (pmap_cpu_data->pv_free.count % PV_BATCH_SIZE); in pv_list_free()1699 … ((pmap_cpu_data->pv_free.count % PV_BATCH_SIZE != 0) || (pmap_cpu_data->pv_free.count == 0)))) { in pv_list_free()1723 if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE + 1))) { in pv_list_free()1732 } else if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE * 2) + 1)) { in pv_list_free()1738 pmap_cpu_data->pv_free.count -= PV_BATCH_SIZE; in pv_list_free()[all …]