Lines Matching refs:start
132 node->start = adj_start;
141 BUG_ON(node->start + node->size > adj_end);
151 unsigned long start,
156 unsigned long end = start + size;
161 if (hole_start > start || hole_end < end)
168 node->start = start;
176 if (start == hole_start) {
190 DRM_ERROR("no hole found for block 0x%lx + 0x%lx\n", start, size);
241 unsigned long start, unsigned long end)
251 if (adj_start < start)
252 adj_start = start;
270 node->start = adj_start;
279 BUG_ON(node->start + node->size > adj_end);
280 BUG_ON(node->start + node->size > end);
293 unsigned long start,
304 start, end);
316 unsigned long start, unsigned long end)
322 start, end, 0);
328 start, end);
334 unsigned long start, unsigned long end)
336 return drm_mm_insert_node_in_range_generic(mm, node, size, alignment, 0, start, end);
394 static int check_free_hole(unsigned long start, unsigned long end,
397 if (end - start < size)
401 unsigned tmp = start % alignment;
403 start += alignment - tmp;
406 return end >= start + size;
452 unsigned long start,
468 if (adj_start < start)
469 adj_start = start;
503 new->start = old->start;
548 unsigned long start,
557 mm->scan_start = start;
646 node->start < mm->scan_hit_end);
658 void drm_mm_init(struct drm_mm * mm, unsigned long start, unsigned long size)
674 mm->head_node.start = start + size;
675 mm->head_node.size = start - mm->head_node.start;
729 prefix, entry->start, entry->start + entry->size,
747 return hole_node->start + hole_node->size;
761 return node->start;
785 unsigned long start,
789 start, end, 0);
795 unsigned long start,
799 start, end, 1);
813 unsigned long start,
818 start, end, best_match);