Lines Matching defs:alignment
625 align(int value, int alignment)
627 return (value + alignment - 1) & ~(alignment - 1);
631 align64(uint64_t value, unsigned alignment)
633 return (value + alignment - 1) & ~((uint64_t)alignment - 1);
640 util_align_npot(size_t value, size_t alignment)
642 if (value % alignment)
643 return value + (alignment - (value % alignment));