Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ntfs3/
Dattrib.c501 CLST to_allocate; in attr_set_size() local
510 to_allocate = new_alen - old_alen; in attr_set_size()
540 if (to_allocate > free) { in attr_set_size()
545 if (pre_alloc && to_allocate + pre_alloc > free) in attr_set_size()
552 if (!run_add_entry(run, vcn, SPARSE_LCN, to_allocate, in attr_set_size()
557 alen = to_allocate; in attr_set_size()
561 sbi, run, vcn, lcn, to_allocate, &pre_alloc, in attr_set_size()
575 if (to_allocate > alen) in attr_set_size()
576 to_allocate -= alen; in attr_set_size()
578 to_allocate = 0; in attr_set_size()
[all …]
/Linux-v5.15/drivers/nvdimm/
Dnamespace_devs.c602 const resource_size_t to_allocate = n; in scan_allocate() local
632 to_allocate, &valid); in scan_allocate()
643 to_allocate, &valid); in scan_allocate()
654 to_allocate, &valid); in scan_allocate()
741 if ((is_pmem || !ndd->dpa.child) && n == to_allocate) in scan_allocate()
/Linux-v5.15/mm/
Dhugetlb.c449 int to_allocate = 0, i = 0; in allocate_file_region_entries() local
467 to_allocate = resv->adds_in_progress + regions_needed - in allocate_file_region_entries()
477 for (i = 0; i < to_allocate; i++) { in allocate_file_region_entries()
487 resv->region_cache_count += to_allocate; in allocate_file_region_entries()