Lines Matching refs:NoPages
28 UINT64 NoPages, in EfiAddMemoryDescriptor() argument
36 if (NoPages == 0) { in EfiAddMemoryDescriptor()
49 Temp = DivU64x32 ((BaseAddress - Desc[Index].PhysicalStart), EFI_PAGE_SIZE) + NoPages; in EfiAddMemoryDescriptor()
54 Desc[*NoDesc].PhysicalStart = BaseAddress + MultU64x32 (NoPages, EFI_PAGE_SIZE); in EfiAddMemoryDescriptor()
60 Desc[Index].NumberOfPages = Temp - NoPages; in EfiAddMemoryDescriptor()
63 if ((Desc[Index].PhysicalStart == BaseAddress) && (Desc[Index].NumberOfPages == NoPages)) { in EfiAddMemoryDescriptor()
69 if ((Desc[Index].PhysicalStart == BaseAddress) && (Desc[Index].NumberOfPages > NoPages)) { in EfiAddMemoryDescriptor()
70 Desc[Index].NumberOfPages -= NoPages; in EfiAddMemoryDescriptor()
71 Desc[Index].PhysicalStart += MultU64x32 (NoPages, EFI_PAGE_SIZE); in EfiAddMemoryDescriptor()
82 Desc[*NoDesc].NumberOfPages = NoPages; in EfiAddMemoryDescriptor()
92 UINTN NoPages, in FindSpace() argument
112 (EfiMemoryDescriptor[Index].NumberOfPages >= NoPages)) { in FindSpace()
135 if (MaxNoPages != NoPages) { in FindSpace()
136 CurrentMemoryDescriptor->NumberOfPages = MaxNoPages - NoPages; in FindSpace()
138 …moryMapEntries].PhysicalStart = MaxPhysicalStart + LShiftU64(MaxNoPages - NoPages, EFI_PAGE_SHIFT); in FindSpace()
139 EfiMemoryDescriptor[*NumberOfMemoryMapEntries].NumberOfPages = NoPages; in FindSpace()
148 return (UINTN)(MaxPhysicalStart + LShiftU64(MaxNoPages - NoPages, EFI_PAGE_SHIFT)); in FindSpace()