ReactOS
0.4.14-dev-608-gd495a4f
|
#include <ntddk.h>
#include <winddk.h>
#include <string.h>
#include <intrin.h>
Go to the source code of this file.
Typedefs | |
typedef unsigned int | size_t |
Functions | |
NTKERNELAPI LONG FASTCALL | InterlockedExchange (LONG volatile *Target, LONG Value) |
NTKERNELAPI LONG FASTCALL | InterlockedExchangeAdd (LONG volatile *Target, LONG Value) |
NTKERNELAPI LONG WINAPI | InterlockedCompareExchange (LONG volatile *Destination, LONG Exchange, LONG Comparand) |
NTKERNELAPI LONG FASTCALL | InterlockedIncrement (IN OUT LONG volatile *Addend) |
NTKERNELAPI LONG FASTCALL | InterlockedDecrement (IN OUT LONG volatile *Addend) |
PSLIST_ENTRY WINAPI | InterlockedPopEntrySList (PSLIST_HEADER ListHead) |
NTKERNELAPI PSLIST_ENTRY FASTCALL | InterlockedPushEntrySList (IN PSLIST_HEADER ListHead, IN PSLIST_ENTRY ListEntry) |
NTKERNELAPI VOID FASTCALL | ExInterlockedAddLargeStatistic (IN PLARGE_INTEGER Addend, IN ULONG Increment) |
NTKERNELAPI LONGLONG FASTCALL | ExInterlockedCompareExchange64 (IN OUT PLONGLONG Destination, IN PLONGLONG Exchange, IN PLONGLONG Comparand, IN PKSPIN_LOCK Lock) |
Definition at line 1 of file interlocked.c.
NTKERNELAPI VOID FASTCALL ExInterlockedAddLargeStatistic | ( | IN PLARGE_INTEGER | Addend, |
IN ULONG | Increment | ||
) |
Definition at line 103 of file interlocked.c.
Referenced by IopUpdateOperationCount(), IopUpdateTransferCount(), RxCommonRead(), RxCommonWrite(), RxLowIoReadShell(), RxLowIoWriteShell(), and TestInterlockedFunctional().
NTKERNELAPI LONGLONG FASTCALL ExInterlockedCompareExchange64 | ( | IN OUT PLONGLONG | Destination, |
IN PLONGLONG | Exchange, | ||
IN PLONGLONG | Comparand, | ||
IN PKSPIN_LOCK | Lock | ||
) |
Definition at line 113 of file interlocked.c.
Referenced by KsGetDefaultClockTime(), KsSetDefaultClockTime(), and TestInterlockedFunctional().
NTKERNELAPI LONG WINAPI InterlockedCompareExchange | ( | LONG volatile * | Destination, |
LONG | Exchange, | ||
LONG | Comparand | ||
) |
Definition at line 28 of file interlocked.c.
Definition at line 47 of file interlocked.c.
Definition at line 10 of file interlocked.c.
Definition at line 19 of file interlocked.c.
Definition at line 39 of file interlocked.c.
PSLIST_ENTRY WINAPI InterlockedPopEntrySList | ( | PSLIST_HEADER | ListHead | ) |
Definition at line 55 of file interlocked.c.
Referenced by __drv_allocatesMem(), _IRQL_requires_max_(), DequeueFreeTransferPacket(), DeviceInstallThread(), ExAllocatePoolWithTag(), ExDeleteNPagedLookasideList(), ExDeletePagedLookasideList(), ExiAllocateFromPagedLookasideList(), IoAllocateIrp(), IoSetIoCompletion(), MiAllocatePoolPages(), MmCreateKernelStack(), ObpAllocateObjectCreateInfoBuffer(), and test_slist().
NTKERNELAPI PSLIST_ENTRY FASTCALL InterlockedPushEntrySList | ( | IN PSLIST_HEADER | ListHead, |
IN PSLIST_ENTRY | ListEntry | ||
) |
Definition at line 82 of file interlocked.c.
Referenced by __drv_freesMem(), EnqueueFreeTransferPacket(), ExFreePoolWithTag(), ExiFreeToPagedLookasideList(), IoFreeIrp(), IopFreeMiniPacket(), MiFreePoolPages(), MmDeleteKernelStack(), ObpFreeCapturedAttributes(), PnpEventThread(), and test_slist().