Lines Matching refs:nr_allocated
2326 unsigned long nr_allocated; in alloc_pages_bulk_array_interleave() local
2335 nr_allocated = __alloc_pages_bulk(gfp, in alloc_pages_bulk_array_interleave()
2341 nr_allocated = __alloc_pages_bulk(gfp, in alloc_pages_bulk_array_interleave()
2346 page_array += nr_allocated; in alloc_pages_bulk_array_interleave()
2347 total_allocated += nr_allocated; in alloc_pages_bulk_array_interleave()
2358 unsigned long nr_allocated = 0; in alloc_pages_bulk_array_preferred_many() local
2363 nr_allocated = __alloc_pages_bulk(preferred_gfp, nid, &pol->nodes, in alloc_pages_bulk_array_preferred_many()
2366 if (nr_allocated < nr_pages) in alloc_pages_bulk_array_preferred_many()
2367 nr_allocated += __alloc_pages_bulk(gfp, numa_node_id(), NULL, in alloc_pages_bulk_array_preferred_many()
2368 nr_pages - nr_allocated, NULL, in alloc_pages_bulk_array_preferred_many()
2369 page_array + nr_allocated); in alloc_pages_bulk_array_preferred_many()
2370 return nr_allocated; in alloc_pages_bulk_array_preferred_many()