Home
last modified time | relevance | path

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

/Linux-v6.6/fs/ntfs3/
Dattrib.c505 CLST to_allocate; in attr_set_size() local
521 to_allocate = new_alen - old_alen; in attr_set_size()
552 if (to_allocate > free) { in attr_set_size()
557 if (pre_alloc && to_allocate + pre_alloc > free) in attr_set_size()
564 if (!run_add_entry(run, vcn, SPARSE_LCN, to_allocate, in attr_set_size()
569 alen = to_allocate; in attr_set_size()
573 sbi, run, vcn, lcn, to_allocate, &pre_alloc, in attr_set_size()
587 if (to_allocate > alen) in attr_set_size()
588 to_allocate -= alen; in attr_set_size()
590 to_allocate = 0; in attr_set_size()
[all …]
/Linux-v6.6/drivers/nvdimm/
Dnamespace_devs.c439 const resource_size_t to_allocate = n; in scan_allocate() local
469 to_allocate, &valid); in scan_allocate()
480 to_allocate, &valid); in scan_allocate()
491 to_allocate, &valid); in scan_allocate()
569 if (n == to_allocate) in scan_allocate()
/Linux-v6.6/mm/
Dhugetlb.c639 int to_allocate = 0, i = 0; in allocate_file_region_entries() local
655 to_allocate = resv->adds_in_progress + regions_needed - in allocate_file_region_entries()
665 for (i = 0; i < to_allocate; i++) { in allocate_file_region_entries()
675 resv->region_cache_count += to_allocate; in allocate_file_region_entries()