[PARTMGR] Use FORCEINLINE

This commit is contained in:
Jérôme Gardou 2020-11-16 14:27:47 +01:00 committed by Jérôme Gardou
parent 02f4c755b8
commit 6488440a6a

View file

@ -139,7 +139,7 @@ IssueSyncIoControlRequest(
_In_ ULONG OutputBufferLength, _In_ ULONG OutputBufferLength,
_In_ BOOLEAN InternalDeviceIoControl); _In_ BOOLEAN InternalDeviceIoControl);
inline FORCEINLINE
BOOLEAN BOOLEAN
VerifyIrpOutBufferSize( VerifyIrpOutBufferSize(
_In_ PIRP Irp, _In_ PIRP Irp,
@ -154,7 +154,7 @@ VerifyIrpOutBufferSize(
return TRUE; return TRUE;
} }
inline FORCEINLINE
BOOLEAN BOOLEAN
VerifyIrpInBufferSize( VerifyIrpInBufferSize(
_In_ PIRP Irp, _In_ PIRP Irp,
@ -169,7 +169,7 @@ VerifyIrpInBufferSize(
return TRUE; return TRUE;
} }
inline FORCEINLINE
VOID VOID
PartMgrAcquireLayoutLock( PartMgrAcquireLayoutLock(
_In_ PFDO_EXTENSION FDOExtension) _In_ PFDO_EXTENSION FDOExtension)
@ -179,7 +179,7 @@ PartMgrAcquireLayoutLock(
KeWaitForSingleObject(&FDOExtension->SyncEvent, Executive, KernelMode, FALSE, NULL); KeWaitForSingleObject(&FDOExtension->SyncEvent, Executive, KernelMode, FALSE, NULL);
} }
inline FORCEINLINE
VOID VOID
PartMgrReleaseLayoutLock( PartMgrReleaseLayoutLock(
_In_ PFDO_EXTENSION FDOExtension) _In_ PFDO_EXTENSION FDOExtension)