PspExpandLimit
NTSTATUS __fastcall PspExpandLimit(PS_RESOURCE_TYPE ResourceType, UINT64 OldLimit, UINT64 Amount, UINT64 *NewLimit){
int *v7;
NTSTATUS result;
UINT8 OldIrql;
OldIrql = 0;
v7 = &PspQuotaExpansionDescriptors[14 * ResourceType];
PspLockQuotaExpansion(v7, &OldIrql);
LOBYTE(NewLimit) = (*((__int64(__fastcall **)(_QWORD, _QWORD, UINT64, UINT64 *))v7 + 3))(
(unsigned int)ResourceType,
0i64,
Amount,
NewLimit);
PspUnlockQuotaExpansion(v7, OldIrql);
LOBYTE(result) = (_BYTE)NewLimit;
return result;
}Referenced by:
PspInitializeQuotaBlock