Lines Matching refs:to_alloc
963 resource_size_t avail = dax_region_avail_size(dax_region), to_alloc;
980 to_alloc = size - dev_size;
981 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc),
982 "resize of %pa misaligned\n", &to_alloc))
993 return alloc_dev_dax_range(dev_dax, dax_region->res.start, to_alloc);
1001 alloc = min(res->start - dax_region->res.start, to_alloc);
1009 alloc = min(next->start - (res->end + 1), to_alloc);
1013 alloc = min(region_res->end - res->end, to_alloc);
1027 to_alloc -= alloc;
1028 if (to_alloc)
1099 size_t to_alloc;
1115 to_alloc = range_len(&r);
1116 if (alloc_is_aligned(dev_dax, to_alloc))
1117 rc = alloc_dev_dax_range(dev_dax, r.start, to_alloc);