Edit

Share via


KeSrcuFree function (wdm.h)

The KeSrcuFree routine performs cleanup of a Sleepable Read-Copy-Update (SRCU) partition and deallocates its storage.

Syntax

VOID KeSrcuFree(
  [in] PKE_SRCU Rcu
);

Parameters

[in] Rcu

A pointer to the SRCU instance that was previously allocated by KeSrcuAllocate.

Return value

None

Remarks

KeSrcuFree performs cleanup and deallocates an SRCU partition that was previously created with KeSrcuAllocate. This function ensures that all pending operations are completed before freeing the resources.

Don't access the SRCU instance after calling this function.

Requirements

Requirement Value
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <DISPATCH_LEVEL

See also

KeSrcuAllocate

KeSrcuReadLock

KeSrcuReadUnlock

KeSrcuSynchronize