Home
last modified time | relevance | path

Searched refs:to_allocate (Results 1 – 3 of 3) sorted by relevance

/linux/tools/perf/util/
H A Ddsos.c202 unsigned int to_allocate = 2; in __dsos__add()
206 to_allocate = dsos->allocated * 2; in __dsos__add()
207 temp = realloc(dsos->dsos, sizeof(struct dso *) * to_allocate); in __dsos__add()
211 dsos->allocated = to_allocate; in __dsos__add()
200 unsigned int to_allocate = 2; __dsos__add() local
/linux/drivers/nvdimm/
H A Dnamespace_devs.c441 const resource_size_t to_allocate = n; in scan_allocate() local
471 to_allocate, &valid); in scan_allocate()
482 to_allocate, &valid); in scan_allocate()
493 to_allocate, &valid); in scan_allocate()
571 if (n == to_allocate) in scan_allocate()
/linux/mm/
H A Dhugetlb.c663 int to_allocate = 0, i = 0; in allocate_file_region_entries() local
679 to_allocate = resv->adds_in_progress + regions_needed - in allocate_file_region_entries()
689 for (i = 0; i < to_allocate; i++) { in allocate_file_region_entries()
699 resv->region_cache_count += to_allocate; in allocate_file_region_entries()