Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_thp.c32 unsigned long align_pages, in vmw_thp_insert_aligned() argument
38 if (align_pages >= mem->page_alignment && in vmw_thp_insert_aligned()
39 (!mem->page_alignment || align_pages % mem->page_alignment == 0)) { in vmw_thp_insert_aligned()
42 align_pages, 0, in vmw_thp_insert_aligned()
57 unsigned long align_pages; in vmw_thp_get_node() local
76 align_pages = (HPAGE_PUD_SIZE >> PAGE_SHIFT); in vmw_thp_get_node()
77 if (mem->num_pages >= align_pages) { in vmw_thp_get_node()
78 ret = vmw_thp_insert_aligned(mm, node, align_pages, in vmw_thp_get_node()
85 align_pages = (HPAGE_PMD_SIZE >> PAGE_SHIFT); in vmw_thp_get_node()
86 if (mem->num_pages >= align_pages) { in vmw_thp_get_node()
[all …]