Lines Matching refs:to_alloc
995 resource_size_t avail = dax_region_avail_size(dax_region), to_alloc;
1012 to_alloc = size - dev_size;
1013 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc),
1014 "resize of %pa misaligned\n", &to_alloc))
1025 return alloc_dev_dax_range(dev_dax, dax_region->res.start, to_alloc);
1033 alloc = min(res->start - dax_region->res.start, to_alloc);
1041 alloc = min(next->start - (res->end + 1), to_alloc);
1045 alloc = min(region_res->end - res->end, to_alloc);
1059 to_alloc -= alloc;
1060 if (to_alloc)
1131 size_t to_alloc;
1147 to_alloc = range_len(&r);
1148 if (alloc_is_aligned(dev_dax, to_alloc))
1149 rc = alloc_dev_dax_range(dev_dax, r.start, to_alloc);