Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ntfs3/
Dattrib.c512 CLST to_allocate; in attr_set_size() local
528 to_allocate = new_alen - old_alen; in attr_set_size()
560 if (to_allocate > free) { in attr_set_size()
565 if (pre_alloc && to_allocate + pre_alloc > free) in attr_set_size()
572 if (!run_add_entry(run, vcn, SPARSE_LCN, to_allocate, in attr_set_size()
577 alen = to_allocate; in attr_set_size()
581 sbi, run, vcn, lcn, to_allocate, &pre_alloc, in attr_set_size()
595 if (to_allocate > alen) in attr_set_size()
596 to_allocate -= alen; in attr_set_size()
598 to_allocate = 0; in attr_set_size()
[all …]
/linux-6.1.9/drivers/nvdimm/
Dnamespace_devs.c438 const resource_size_t to_allocate = n; in scan_allocate() local
468 to_allocate, &valid); in scan_allocate()
479 to_allocate, &valid); in scan_allocate()
490 to_allocate, &valid); in scan_allocate()
568 if (n == to_allocate) in scan_allocate()
/linux-6.1.9/mm/
Dhugetlb.c612 int to_allocate = 0, i = 0; in allocate_file_region_entries() local
628 to_allocate = resv->adds_in_progress + regions_needed - in allocate_file_region_entries()
638 for (i = 0; i < to_allocate; i++) { in allocate_file_region_entries()
648 resv->region_cache_count += to_allocate; in allocate_file_region_entries()