Lines Matching refs:start
107 if (region_intersects(nsio->res.start, resource_size(&nsio->res),
320 rc = adjust_resource(res, res->start, resource_size(res) - n);
367 res = nvdimm_allocate_dpa(ndd, label_id, nd_mapping->start, n);
401 valid->start = ALIGN(valid->start, align);
404 if (valid->start >= valid->end)
419 if (valid->start == exist->end + 1
420 || valid->end == exist->start - 1)
425 valid->end = valid->start - 1;
436 resource_size_t mapping_end = nd_mapping->start + nd_mapping->size - 1;
446 valid.start = nd_mapping->start;
459 if (res->start > mapping_end)
461 if (res->end < nd_mapping->start)
465 if (!first++ && res->start > nd_mapping->start) {
466 valid.start = nd_mapping->start;
467 valid.end = res->start - 1;
477 valid.start = res->start + resource_size(res);
478 valid.end = min(mapping_end, next->start - 1);
488 valid.start = res->start + resource_size(res);
504 rc = adjust_resource(res, res->start - allocate,
513 rc = adjust_resource(next, next->start
535 valid.start, allocate);
540 rc = adjust_resource(res, res->start, resource_size(res)
586 resource_size_t end = res->start + resource_size(res);
590 || end != next->start)
594 rc = adjust_resource(res, res->start, end - res->start);
661 * space starting at the highest DPA. For PMEM regions start
662 * allocations from the start of an interleave set and end at the first
719 offset = (res->start - nd_mapping->start)
729 res->start = nd_region->ndr_start + offset;
730 res->end = res->start + size - 1;
1080 return sprintf(buf, "%#llx\n", (unsigned long long) res->start);
1493 if (!IS_ALIGNED(res->start | (res->end + 1),
1547 res->start = nd_region->ndr_start;
1548 res->end = res->start + nd_region->ndr_size - 1;
1636 hw_start = nd_mapping->start;
1923 return memcmp(&nspm_a->nsio.res.start, &nspm_b->nsio.res.start,
1934 resource_size_t map_end = nd_mapping->start + nd_mapping->size - 1;
1945 if (nsl_get_dpa(ndd, nd_label) < nd_mapping->start ||