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);630 assert((free_list->count == PV_BATCH_SIZE) && (free_list->list != PV_ENTRY_NULL)); in pv_free_array_get_batch()661 free_list->count = PV_BATCH_SIZE; in pv_free_array_give_batch()773 pmap_cpu_data->pv_free.count = PV_BATCH_SIZE - 1; in pv_list_alloc()810 const uint32_t available = PV_BATCH_SIZE - (pmap_cpu_data->pv_free.count % PV_BATCH_SIZE); in pv_list_free()818 … ((pmap_cpu_data->pv_free.count % PV_BATCH_SIZE != 0) || (pmap_cpu_data->pv_free.count == 0)))) { in pv_list_free()838 if (__improbable(freed_count == PV_BATCH_SIZE)) { in pv_list_free()860 if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE + 1))) { in pv_list_free()869 } 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);1605 assert((free_list->count == PV_BATCH_SIZE) && (free_list->list != PV_ENTRY_NULL)); in pv_free_array_get_batch()1636 free_list->count = PV_BATCH_SIZE; in pv_free_array_give_batch()1756 pmap_cpu_data->pv_free.count = PV_BATCH_SIZE - 1; in pv_list_alloc()1801 const uint32_t available = PV_BATCH_SIZE - (pmap_cpu_data->pv_free.count % PV_BATCH_SIZE); in pv_list_free()1809 … ((pmap_cpu_data->pv_free.count % PV_BATCH_SIZE != 0) || (pmap_cpu_data->pv_free.count == 0)))) { in pv_list_free()1833 if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE + 1))) { in pv_list_free()1842 } else if (__improbable(pmap_cpu_data->pv_free.count == (PV_BATCH_SIZE * 2) + 1)) { in pv_list_free()1848 pmap_cpu_data->pv_free.count -= PV_BATCH_SIZE; in pv_list_free()[all …]