Lines Matching refs:adj_end
454 u64 adj_start, adj_end; in drm_mm_reserve_node() local
467 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node()
470 mm->color_adjust(hole, node->color, &adj_start, &adj_end); in drm_mm_reserve_node()
472 if (adj_start > node->start || adj_end < end) in drm_mm_reserve_node()
545 u64 adj_start, adj_end; in drm_mm_insert_node_in_range() local
560 adj_end = min(col_end, range_end); in drm_mm_insert_node_in_range()
562 if (adj_end <= adj_start || adj_end - adj_start < size) in drm_mm_insert_node_in_range()
566 adj_start = adj_end - size; in drm_mm_insert_node_in_range()
584 if (adj_end <= adj_start || in drm_mm_insert_node_in_range()
585 adj_end - adj_start < size) in drm_mm_insert_node_in_range()
787 u64 adj_start, adj_end; in drm_mm_scan_add_block() local
813 adj_end = min(col_end, scan->range_end); in drm_mm_scan_add_block()
814 if (adj_end <= adj_start || adj_end - adj_start < scan->size) in drm_mm_scan_add_block()
818 adj_start = adj_end - scan->size; in drm_mm_scan_add_block()
835 if (adj_end <= adj_start || in drm_mm_scan_add_block()
836 adj_end - adj_start < scan->size) in drm_mm_scan_add_block()