round_up
stacksize = round_up(attr->stacksize_attr);
guardsize = round_up(attr->guardsize_attr);
spare_stack->stacksize = round_up(attr->stacksize_attr);
spare_stack->guardsize = round_up(attr->guardsize_attr);
return round_up(adev->vm_manager.max_pfn, 1ULL << shift) >> shift;
end = round_up(end, 128);
obj = i915_gem_object_create(dev_priv, round_up(size, PAGE_SIZE));
GEM_BUG_ON(round_up(start, align) > round_down(end - len, align));
range = round_down(end - len, align) - round_up(start, align);
return round_up(start, align);
if (unlikely(round_up(start, alignment) > round_down(end - size, alignment)))
above = round_up(above, SHIFT);
size = round_up(size, I915_GTT_PAGE_SIZE_2M);
u32 size_aligned = round_up(plane_config->base + plane_config->size,
return round_up(GEN7_CXT_TOTAL_SIZE(cxt_size) * 64,
return round_up(GEN6_CXT_TOTAL_SIZE(cxt_size) * 64,
context_size = round_up(engine->context_size, I915_GTT_PAGE_SIZE);
nbx = round_up(nbx, 16 * 8);
nby = round_up(nby, track->npipes * 8);
nbx = round_up(nbx, 64 * 8);
nby = round_up(nby, 64 * 8);
nbx = round_up(nbx, 64 * 8);
nby = round_up(nby, 32 * 8);
nbx = round_up(nbx, 32 * 8);
nby = round_up(nby, 32 * 8);
nbx = round_up(nbx, 32 * 8);
nby = round_up(nby, 16 * 8);
nbx = round_up(nbx, block_align);
nby = round_up(nby, height_align);
offset = round_up(offset, base_align);
nbx = round_up(nbx, 16 * 8);
nby = round_up(nby, track->npipes * 8);
nbx = round_up(nbx, 64 * 8);
nby = round_up(nby, 64 * 8);
nbx = round_up(nbx, 64 * 8);
nby = round_up(nby, 32 * 8);
nbx = round_up(nbx, 32 * 8);
nby = round_up(nby, 32 * 8);
nbx = round_up(nbx, 32 * 8);
nby = round_up(nby, 16 * 8);