Lines Matching defs:intersection
84 // Is there an intersection with the address space?
85 MemRegion intersection = last_setup_region().intersection(mr);
86 if (intersection.is_empty()) {
87 intersection = MemRegion(mr.end(), mr.end());
91 if (mr.start() <= intersection.start()) {
92 head_size = pointer_delta(intersection.start(), mr.start());
94 if(intersection.end() <= mr.end()) {
95 tail_size = pointer_delta(mr.end(), intersection.end());
106 head = MemRegion(intersection.start() - head_size, intersection.start());
107 tail = MemRegion(intersection.end(), intersection.end() + tail_size);