Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc.c98 unsigned long align_goal, addr = -ENOMEM; in get_fb_unmapped_area() local
106 align_goal = PAGE_SIZE; in get_fb_unmapped_area()
108 align_goal = (4UL * 1024 * 1024); in get_fb_unmapped_area()
110 align_goal = (512UL * 1024); in get_fb_unmapped_area()
112 align_goal = (64UL * 1024); in get_fb_unmapped_area()
115 addr = get_unmapped_area(NULL, orig_addr, len + (align_goal - PAGE_SIZE), pgoff, flags); in get_fb_unmapped_area()
117 addr = (addr + (align_goal - 1UL)) & ~(align_goal - 1UL); in get_fb_unmapped_area()
121 if (align_goal == (4UL * 1024 * 1024)) in get_fb_unmapped_area()
122 align_goal = (512UL * 1024); in get_fb_unmapped_area()
123 else if (align_goal == (512UL * 1024)) in get_fb_unmapped_area()
[all …]