Searched refs:to_allocate (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | dsos.c | 202 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/fs/ntfs3/ |
| H A D | attrib.c | 574 CLST to_allocate; in attr_set_size_ex() local 590 to_allocate = new_alen - old_alen; in attr_set_size_ex() 621 if (to_allocate > free) { in attr_set_size_ex() 626 if (pre_alloc && to_allocate + pre_alloc > free) in attr_set_size_ex() 633 if (!run_add_entry(run, vcn, SPARSE_LCN, to_allocate, in attr_set_size_ex() 638 alen = to_allocate; in attr_set_size_ex() 642 sbi, run, run_da, vcn, lcn, to_allocate, in attr_set_size_ex() 657 if (to_allocate > alen) in attr_set_size_ex() 658 to_allocate -= alen; in attr_set_size_ex() 660 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 | 667 int to_allocate = 0, i = 0; in allocate_file_region_entries() local 683 to_allocate = resv->adds_in_progress + regions_needed - in allocate_file_region_entries() 693 for (i = 0; i < to_allocate; i++) { in allocate_file_region_entries() 703 resv->region_cache_count += to_allocate; in allocate_file_region_entries()
|