Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Ddsos.c198 unsigned int to_allocate = 2; in __dsos__add() local
202 to_allocate = dsos->allocated * 2; in __dsos__add()
203 temp = realloc(dsos->dsos, sizeof(struct dso *) * to_allocate); in __dsos__add()
207 dsos->allocated = to_allocate; in __dsos__add()
/linux/fs/ntfs3/
H A Dattrib.c507 CLST to_allocate; in attr_set_size() local
523 to_allocate = new_alen - old_alen; in attr_set_size()
554 if (to_allocate > free) { in attr_set_size()
559 if (pre_alloc && to_allocate + pre_alloc > free) in attr_set_size()
566 if (!run_add_entry(run, vcn, SPARSE_LCN, to_allocate, in attr_set_size()
571 alen = to_allocate; in attr_set_size()
575 sbi, run, vcn, lcn, to_allocate, &pre_alloc, in attr_set_size()
589 if (to_allocate > alen) in attr_set_size()
590 to_allocate -= alen; in attr_set_size()
592 to_allocate = 0; in attr_set_size()
[all …]
/linux/drivers/nvdimm/
H A Dnamespace_devs.c443 const resource_size_t to_allocate = n; in scan_allocate() local
473 to_allocate, &valid); in scan_allocate()
484 to_allocate, &valid); in scan_allocate()
495 to_allocate, &valid); in scan_allocate()
573 if (n == to_allocate) in scan_allocate()
/linux/mm/
H A Dhugetlb.c642 int to_allocate = 0, i = 0; in allocate_file_region_entries() local
658 to_allocate = resv->adds_in_progress + regions_needed - in allocate_file_region_entries()
668 for (i = 0; i < to_allocate; i++) { in allocate_file_region_entries()
678 resv->region_cache_count += to_allocate; in allocate_file_region_entries()