Lines Matching refs:nr_allocated
2311 unsigned long nr_allocated; in alloc_pages_bulk_array_interleave() local
2320 nr_allocated = __alloc_pages_bulk(gfp, in alloc_pages_bulk_array_interleave()
2326 nr_allocated = __alloc_pages_bulk(gfp, in alloc_pages_bulk_array_interleave()
2331 page_array += nr_allocated; in alloc_pages_bulk_array_interleave()
2332 total_allocated += nr_allocated; in alloc_pages_bulk_array_interleave()
2343 unsigned long nr_allocated = 0; in alloc_pages_bulk_array_preferred_many() local
2348 nr_allocated = __alloc_pages_bulk(preferred_gfp, nid, &pol->nodes, in alloc_pages_bulk_array_preferred_many()
2351 if (nr_allocated < nr_pages) in alloc_pages_bulk_array_preferred_many()
2352 nr_allocated += __alloc_pages_bulk(gfp, numa_node_id(), NULL, in alloc_pages_bulk_array_preferred_many()
2353 nr_pages - nr_allocated, NULL, in alloc_pages_bulk_array_preferred_many()
2354 page_array + nr_allocated); in alloc_pages_bulk_array_preferred_many()
2355 return nr_allocated; in alloc_pages_bulk_array_preferred_many()