Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sparc/kernel/
Dsys_sparc_64.c219 unsigned long align_goal, addr = -ENOMEM; in get_fb_unmapped_area() local
231 align_goal = PAGE_SIZE; in get_fb_unmapped_area()
233 align_goal = (4UL * 1024 * 1024); in get_fb_unmapped_area()
235 align_goal = (512UL * 1024); in get_fb_unmapped_area()
237 align_goal = (64UL * 1024); in get_fb_unmapped_area()
240 addr = get_area(NULL, orig_addr, len + (align_goal - PAGE_SIZE), pgoff, flags); in get_fb_unmapped_area()
242 addr = (addr + (align_goal - 1UL)) & ~(align_goal - 1UL); in get_fb_unmapped_area()
246 if (align_goal == (4UL * 1024 * 1024)) in get_fb_unmapped_area()
247 align_goal = (512UL * 1024); in get_fb_unmapped_area()
248 else if (align_goal == (512UL * 1024)) in get_fb_unmapped_area()
[all …]