Lines Matching refs:aligned_start
755 u64 aligned_start; in arm_add_memory() local
761 aligned_start = PAGE_ALIGN(start); in arm_add_memory()
762 if (aligned_start > start + size) in arm_add_memory()
765 size -= aligned_start - start; in arm_add_memory()
768 if (aligned_start > ULONG_MAX) { in arm_add_memory()
774 if (aligned_start + size > ULONG_MAX) { in arm_add_memory()
782 size = ULONG_MAX - aligned_start; in arm_add_memory()
786 if (aligned_start < PHYS_OFFSET) { in arm_add_memory()
787 if (aligned_start + size <= PHYS_OFFSET) { in arm_add_memory()
789 aligned_start, aligned_start + size); in arm_add_memory()
794 aligned_start, (u64)PHYS_OFFSET); in arm_add_memory()
796 size -= PHYS_OFFSET - aligned_start; in arm_add_memory()
797 aligned_start = PHYS_OFFSET; in arm_add_memory()
800 start = aligned_start; in arm_add_memory()