round_down
size = round_down(size, chunk_size);
if (round_down(adjusted_end + 1, req_size) <=
max_bpp_x16 = round_down(max_bpp_x16, bpp_step_x16);
max_compressed_bpp_x16 = round_down(max_compressed_bpp_x16, bpp_step_x16);
base = round_down(plane_config->base, I915_GTT_MIN_ALIGNMENT);
base = round_down(plane_config->base, I915_GTT_MIN_ALIGNMENT);
offset_low = round_down(offset_low,
size = round_down(size, DW_PER_PAGE * PAGE_SIZE);
start = round_down(start, SZ_64K);
#define cacheline(a) round_down(a, CACHELINE_BYTES)
GEM_BUG_ON(round_up(start, align) > round_down(end - len, align));
range = round_down(end - len, align) - round_up(start, align);
if (unlikely(round_up(start, alignment) > round_down(end - size, alignment)))
const u32 max_segment = round_down(UINT_MAX, page_alignment);
const u32 max_segment = round_down(UINT_MAX, page_alignment);
return round_down(max, PAGE_SIZE);
count = round_down(count, sizeof(u32));
count = round_down(count, sizeof(u32));
u64 addr = round_down(hole_start + (hole_size / 2), min_alignment);
range = round_down(end - len, align) - round_up(start, align);
BUG_ON(round_up(start, align) > round_down(end - len, align));
INVALID(0, PIN_GLOBAL | PIN_OFFSET_FIXED | round_down(U64_MAX, PAGE_SIZE)),
NOSPACE(round_down(U64_MAX, PAGE_SIZE), PIN_GLOBAL),
INVALID(8192, PIN_GLOBAL | PIN_OFFSET_FIXED | (round_down(U64_MAX, PAGE_SIZE) - 4096)),
max_segment = round_down(UINT_MAX, ps);
total = round_down(total, ps);
io_size = round_down(io_size, ps);
size = round_down(size, ps);
size = round_down(size, ps);
ppgtt->vm.total = round_down(U64_MAX, PAGE_SIZE);