Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_mm.c454 u64 adj_start, adj_end; in drm_mm_reserve_node() local
545 u64 adj_start, adj_end; in drm_mm_insert_node_in_range() local
562 if (adj_end <= adj_start || adj_end - adj_start < size) in drm_mm_insert_node_in_range()
576 adj_start -= rem; in drm_mm_insert_node_in_range()
578 adj_start += alignment; in drm_mm_insert_node_in_range()
592 node->start = adj_start; in drm_mm_insert_node_in_range()
601 if (adj_start > hole_start) in drm_mm_insert_node_in_range()
787 u64 adj_start, adj_end; in drm_mm_scan_add_block() local
814 if (adj_end <= adj_start || adj_end - adj_start < scan->size) in drm_mm_scan_add_block()
828 adj_start -= rem; in drm_mm_scan_add_block()
[all …]
/openbmc/linux/mm/
H A Dmmap.c882 long adj_start = 0; in vma_merge() local
962 adj_start = (end - curr->vm_start); in vma_merge()
974 adj_start = -(prev->vm_end - addr); in vma_merge()
1004 vma_iter_config(vmi, adjust->vm_start + adj_start, in vma_merge()
1016 vma_adjust_trans_huge(vma, vma_start, vma_end, adj_start); in vma_merge()
1025 if (adj_start) { in vma_merge()
1026 adjust->vm_start += adj_start; in vma_merge()
1027 adjust->vm_pgoff += adj_start >> PAGE_SHIFT; in vma_merge()
1028 if (adj_start < 0) { in vma_merge()