Lines Matching refs:adj_end
457 u64 adj_start, adj_end; in drm_mm_reserve_node() local
470 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node()
473 mm->color_adjust(hole, node->color, &adj_start, &adj_end); in drm_mm_reserve_node()
475 if (adj_start > node->start || adj_end < end) in drm_mm_reserve_node()
548 u64 adj_start, adj_end; in drm_mm_insert_node_in_range() local
563 adj_end = min(col_end, range_end); in drm_mm_insert_node_in_range()
565 if (adj_end <= adj_start || adj_end - adj_start < size) in drm_mm_insert_node_in_range()
569 adj_start = adj_end - size; in drm_mm_insert_node_in_range()
587 if (adj_end <= adj_start || in drm_mm_insert_node_in_range()
588 adj_end - adj_start < size) in drm_mm_insert_node_in_range()
790 u64 adj_start, adj_end; in drm_mm_scan_add_block() local
816 adj_end = min(col_end, scan->range_end); in drm_mm_scan_add_block()
817 if (adj_end <= adj_start || adj_end - adj_start < scan->size) in drm_mm_scan_add_block()
821 adj_start = adj_end - scan->size; in drm_mm_scan_add_block()
838 if (adj_end <= adj_start || in drm_mm_scan_add_block()
839 adj_end - adj_start < scan->size) in drm_mm_scan_add_block()