Lines Matching refs:allocate
506 /* allocate blk from highest dpa first */
526 * @label_id: namespace id to allocate space
616 resource_size_t allocate, available = 0;
662 allocate = min(available, n);
667 rc = adjust_resource(res, res->start - allocate,
668 resource_size(res) + allocate);
671 action = "allocate";
677 - allocate, resource_size(next)
678 + allocate);
684 action = "allocate";
690 action = "allocate";
696 if (strcmp(action, "allocate") == 0) {
697 /* BLK allocate bottom up */
699 valid.start += available - allocate;
702 valid.start, allocate);
708 + allocate);
722 n -= allocate;
839 * grow_dpa_allocation - for each dimm allocate n bytes for @label_id
840 * @nd_region: the set of dimms to allocate @n more bytes from