Home
last modified time | relevance | path

Searched refs:adj_start (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/
Ddrm_mm.c454 u64 adj_start, adj_end; in drm_mm_reserve_node() local
466 adj_start = hole_start = __drm_mm_hole_node_start(hole); 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
559 adj_start = max(col_start, range_start); 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()
572 rem = adj_start & remainder_mask; in drm_mm_insert_node_in_range()
574 div64_u64_rem(adj_start, alignment, &rem); in drm_mm_insert_node_in_range()
[all …]
/linux-6.6.21/mm/
Dmmap.c883 long adj_start = 0; in vma_merge() local
957 adj_start = (end - curr->vm_start); in vma_merge()
967 adj_start = -(prev->vm_end - addr); in vma_merge()
997 vma_iter_config(vmi, adjust->vm_start + adj_start, in vma_merge()
1009 vma_adjust_trans_huge(vma, vma_start, vma_end, adj_start); in vma_merge()
1018 if (adj_start) { in vma_merge()
1019 adjust->vm_start += adj_start; in vma_merge()
1020 adjust->vm_pgoff += adj_start >> PAGE_SHIFT; in vma_merge()
1021 if (adj_start < 0) { in vma_merge()