Lines Matching refs:align
186 static void die_oom(unsigned long size, unsigned long align, unsigned long min, unsigned long max) in die_oom() argument
197 size, align, min, max); in die_oom()
246 static unsigned long __physmem_alloc_range(unsigned long size, unsigned long align, in __physmem_alloc_range() argument
256 align = max(align, 8UL); in __physmem_alloc_range()
261 if (round_up(min, align) + size > pos) in __physmem_alloc_range()
263 addr = round_down(pos - size, align); in __physmem_alloc_range()
278 die_oom(size, align, min, max); in __physmem_alloc_range()
283 unsigned long align, unsigned long min, unsigned long max, in physmem_alloc_range() argument
289 addr = __physmem_alloc_range(size, align, min, max, 0, NULL, die_on_oom); in physmem_alloc_range()
296 unsigned long align) in physmem_alloc_top_down() argument
303 addr = __physmem_alloc_range(size, align, 0, physmem_alloc_pos, physmem_alloc_ranges, in physmem_alloc_top_down()
314 addr = __physmem_alloc_range(size, align, 0, physmem_alloc_pos, in physmem_alloc_top_down()