Rename RtlInterlockedDecrementLongPtr() to follow routines naming convention
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 27s
Builds / ExectOS (i686) (push) Successful in 27s

This commit is contained in:
Rafal Kupiec 2023-10-29 12:21:19 +01:00
parent cf7c467637
commit 3f2baa5b50
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
3 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ ExReleaseRundownProtection(IN PEX_RUNDOWN_REFERENCE Descriptor)
{
WaitBlock = (PEX_RUNDOWN_WAIT_BLOCK)(CurrentValue & ~0x1);
if(!RtlInterlockedDecrementLongPtr((PLONG_PTR)&WaitBlock->Count))
if(!RtlInterlockedDecrement64((PLONG_PTR)&WaitBlock->Count))
{
KeSetEvent(&WaitBlock->WakeEvent, 0, FALSE);
}

View File

@ -231,7 +231,7 @@ RtlInterlockedCompareExchangePointer(IN VOLATILE PVOID *Destination,
XTFASTCALL
LONG_PTR
RtlInterlockedDecrementLongPtr(IN VOLATILE PLONG_PTR Addend);
RtlInterlockedDecrement64(IN VOLATILE PLONG_PTR Addend);
XTFASTCALL
PVOID

View File

@ -46,7 +46,7 @@ RtlInterlockedCompareExchangePointer(IN VOLATILE PVOID *Destination,
*/
XTFASTCALL
LONG_PTR
RtlInterlockedDecrementLongPtr(IN VOLATILE PLONG_PTR Addend)
RtlInterlockedDecrement64(IN VOLATILE PLONG_PTR Addend)
{
return (LONG_PTR)__sync_sub_and_fetch(Addend, 1);
}