Searched refs:PV_BATCH_SIZE (Results 1 – 2 of 2) sorted by relevance
120 #define PV_BATCH_SIZE (PAGE_SIZE / sizeof(pv_entry_t)) macro128 static_assert((PV_BATCH_SIZE * sizeof(pv_entry_t)) <= PAGE_SIZE);599 assert((free_list->count == PV_BATCH_SIZE) && (free_list->list != PV_ENTRY_NULL)); in pv_free_array_get_batch()630 free_list->count = PV_BATCH_SIZE; in pv_free_array_give_batch()742 pmap_cpu_data->pv_free.count = PV_BATCH_SIZE - 1; in pv_list_alloc()779 const uint32_t available = PV_BATCH_SIZE - (pmap_cpu_data->pv_free.count % PV_BATCH_SIZE); in pv_list_free()787 … ((pmap_cpu_data->pv_free.count % PV_BATCH_SIZE != 0) || (pmap_cpu_data->pv_free.count == 0)))) { in pv_list_free()807 if (__improbable(freed_count == PV_BATCH_SIZE)) { in pv_list_free()829 if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE + 1))) { in pv_list_free()838 } else if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE * 2) + 1)) { in pv_list_free()[all …]
192 #define PV_BATCH_SIZE (PAGE_SIZE / sizeof(pv_entry_t)) macro200 static_assert((PV_BATCH_SIZE * sizeof(pv_entry_t)) <= PAGE_SIZE);1600 assert((free_list->count == PV_BATCH_SIZE) && (free_list->list != PV_ENTRY_NULL)); in pv_free_array_get_batch()1631 free_list->count = PV_BATCH_SIZE; in pv_free_array_give_batch()1751 pmap_cpu_data->pv_free.count = PV_BATCH_SIZE - 1; in pv_list_alloc()1796 const uint32_t available = PV_BATCH_SIZE - (pmap_cpu_data->pv_free.count % PV_BATCH_SIZE); in pv_list_free()1804 … ((pmap_cpu_data->pv_free.count % PV_BATCH_SIZE != 0) || (pmap_cpu_data->pv_free.count == 0)))) { in pv_list_free()1828 if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE + 1))) { in pv_list_free()1837 } else if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE * 2) + 1)) { in pv_list_free()1843 pmap_cpu_data->pv_free.count -= PV_BATCH_SIZE; in pv_list_free()[all …]