Lines Matching refs:nr_allocated
2309 unsigned long nr_allocated; in alloc_pages_bulk_array_interleave() local
2318 nr_allocated = __alloc_pages_bulk(gfp, in alloc_pages_bulk_array_interleave()
2324 nr_allocated = __alloc_pages_bulk(gfp, in alloc_pages_bulk_array_interleave()
2329 page_array += nr_allocated; in alloc_pages_bulk_array_interleave()
2330 total_allocated += nr_allocated; in alloc_pages_bulk_array_interleave()
2341 unsigned long nr_allocated = 0; in alloc_pages_bulk_array_preferred_many() local
2346 nr_allocated = __alloc_pages_bulk(preferred_gfp, nid, &pol->nodes, in alloc_pages_bulk_array_preferred_many()
2349 if (nr_allocated < nr_pages) in alloc_pages_bulk_array_preferred_many()
2350 nr_allocated += __alloc_pages_bulk(gfp, numa_node_id(), NULL, in alloc_pages_bulk_array_preferred_many()
2351 nr_pages - nr_allocated, NULL, in alloc_pages_bulk_array_preferred_many()
2352 page_array + nr_allocated); in alloc_pages_bulk_array_preferred_many()
2353 return nr_allocated; in alloc_pages_bulk_array_preferred_many()