Searched refs:to_allocate (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | dsos.c | 200 unsigned int to_allocate = 2; in __dsos__add() local 204 to_allocate = dsos->allocated * 2; in __dsos__add() 205 temp = realloc(dsos->dsos, sizeof(struct dso *) * to_allocate); in __dsos__add() 209 dsos->allocated = to_allocate; in __dsos__add()
|
| /linux/fs/ntfs3/ |
| H A D | attrib.c | 573 CLST to_allocate; in attr_set_size_ex() local 589 to_allocate = new_alen - old_alen; in attr_set_size_ex() 620 if (to_allocate > free) { in attr_set_size_ex() 625 if (pre_alloc && to_allocate + pre_alloc > free) in attr_set_size_ex() 632 if (!run_add_entry(run, vcn, SPARSE_LCN, to_allocate, in attr_set_size_ex() 637 alen = to_allocate; in attr_set_size_ex() 641 sbi, run, run_da, vcn, lcn, to_allocate, in attr_set_size_ex() 656 if (to_allocate > alen) in attr_set_size_ex() 657 to_allocate -= alen; in attr_set_size_ex() 659 to_allocate = 0; in attr_set_size_ex() [all …]
|
| /linux/drivers/nvdimm/ |
| H A D | namespace_devs.c | 441 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 D | hugetlb.c | 663 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()
|