Lines Matching refs:start
736 map_end = nd_mapping->start + nd_mapping->size - 1;
737 blk_start = nd_mapping->start;
745 if (info->res->start >= nd_mapping->start
746 && info->res->start < map_end)
762 resource_size_t start, end;
767 start = ALIGN_DOWN(res->start, align);
769 if ((start >= blk_start && start < map_end)
780 if (info->res && blk_start > info->res->start) {
781 info->res->start = max(info->res->start, blk_start);
782 if (info->res->start > info->res->end)
783 info->res->end = info->res->start - 1;
787 info->available -= blk_start - nd_mapping->start;
797 * we arrange for them to never start at an lower dpa than the last
823 resource_size_t start, end, size;
827 start = ALIGN_DOWN(res->start, align);
829 size = end - start + 1;
865 resource_size_t start, end;
870 start = ALIGN(res->start, align);
872 if (end < start)
874 if (end - start + 1 > max)
875 max = end - start + 1;
887 * Validate that a PMEM label, if present, aligns with the start of an
912 map_start = nd_mapping->start;
916 resource_size_t start, end;
918 start = ALIGN_DOWN(res->start, align);
920 if (start >= map_start && start < map_end) {
923 max(map_start, start));
928 busy += end - start + 1;
932 * If a BLK allocation overlaps the start of
938 busy += end - start + 1;
939 } else if (map_start > start && map_start < end) {
961 __release_region(&ndd->dpa, res->start, resource_size(res));
965 struct nd_label_id *label_id, resource_size_t start,
975 res = __request_region(&ndd->dpa, start, n, name, 0);