Searched refs:MaxAllocSize (Results 1 – 1 of 1) sorted by relevance
349 WORD MaxAllocSize; in DosLoadExecutableInternal() local483 DosAllocateMemory(0xFFFF, &MaxAllocSize); in DosLoadExecutableInternal()489 if (MaxAllocSize < TotalSize + Header->e_minalloc) in DosLoadExecutableInternal()500 TotalSize = MaxAllocSize; in DosLoadExecutableInternal()506 TotalSize = min(TotalSize + Header->e_maxalloc, MaxAllocSize); in DosLoadExecutableInternal()508 TotalSize = MaxAllocSize; // Use all the available memory in DosLoadExecutableInternal()579 DosAllocateMemory(0xFFFF, &MaxAllocSize); in DosLoadExecutableInternal()582 if (((DWORD)MaxAllocSize << 4) < (ExeBufferSize + sizeof(DOS_PSP))) in DosLoadExecutableInternal()589 Segment = DosAllocateMemory(MaxAllocSize, NULL); in DosLoadExecutableInternal()604 DosCreatePsp(Segment, MaxAllocSize); in DosLoadExecutableInternal()