Searched refs:SafeMaximumSize (Results 1 – 2 of 2) sorted by relevance
382 LARGE_INTEGER SafeMinimumSize, SafeMaximumSize, AllocationSize; in NtCreatePagingFile() local411 SafeMaximumSize = ProbeForReadLargeInteger(MaximumSize); in NtCreatePagingFile()424 SafeMaximumSize = *MaximumSize; in NtCreatePagingFile()437 if (SafeMaximumSize.QuadPart < SafeMinimumSize.QuadPart || in NtCreatePagingFile()438 SafeMaximumSize.QuadPart > MAXIMUM_PAGEFILE_SIZE) in NtCreatePagingFile()629 if ((SafeMaximumSize.QuadPart >> PAGE_SHIFT) < PagingFile->MaximumSize) in NtCreatePagingFile()676 …if (MmTotalCommitLimitMaximum + (SafeMaximumSize.QuadPart >> PAGE_SHIFT) <= MmTotalCommitLimitMaxi… in NtCreatePagingFile()768 PagingFile->MaximumSize = (SafeMaximumSize.QuadPart >> PAGE_SHIFT); in NtCreatePagingFile()
3082 LARGE_INTEGER SafeMaximumSize; in NtCreateSection() local3135 SafeMaximumSize.QuadPart = 0; in NtCreateSection()3144 if (MaximumSize) SafeMaximumSize = ProbeForReadLargeInteger(MaximumSize); in NtCreateSection()3145 MaximumSize = &SafeMaximumSize; in NtCreateSection()3155 else if (!MaximumSize) MaximumSize = &SafeMaximumSize; in NtCreateSection()