#include "exp.h"Go to the source code of this file.
Classes | |
| struct | _ETIMER |
Typedefs | |
| typedef _ETIMER | ETIMER |
| typedef _ETIMER * | PETIMER |
Functions | |
| VOID | ExpTimerApcRoutine (IN PKAPC Apc, IN PKNORMAL_ROUTINE *NormalRoutine, IN PVOID *NormalContext, IN PVOID *SystemArgument1, IN PVOID *SystemArgument2) |
| VOID | ExpTimerDpcRoutine (IN PKDPC Dpc, IN PVOID DeferredContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2) |
| VOID | ExpDeleteTimer (IN PVOID Object) |
| BOOLEAN | ExpTimerInitialization () |
| VOID | ExTimerRundown () |
| NTSTATUS | NtCreateTimer (OUT PHANDLE TimerHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN TIMER_TYPE TimerType) |
| NTSTATUS | NtOpenTimer (OUT PHANDLE TimerHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes) |
| NTSTATUS | NtCancelTimer (IN HANDLE TimerHandle, OUT PBOOLEAN CurrentState OPTIONAL) |
| NTSTATUS | NtQueryTimer (IN HANDLE TimerHandle, IN TIMER_INFORMATION_CLASS TimerInformationClass, OUT PVOID TimerInformation, IN ULONG TimerInformationLength, OUT PULONG ReturnLength OPTIONAL) |
| NTSTATUS | NtSetTimer (IN HANDLE TimerHandle, IN PLARGE_INTEGER DueTime, IN PTIMER_APC_ROUTINE TimerApcRoutine OPTIONAL, IN PVOID TimerContext OPTIONAL, IN BOOLEAN WakeTimer, IN LONG Period OPTIONAL, OUT PBOOLEAN PreviousState OPTIONAL) |
| VOID | ExGetNextWakeTime (OUT PULONGLONG DueTime, OUT PTIME_FIELDS TimeFields, OUT PVOID *TimerObject) |
Variables | |
| KSPIN_LOCK | ExpWakeTimerListLock |
| LIST_ENTRY | ExpWakeTimerList |
| POBJECT_TYPE | ExTimerObjectType |
| GENERIC_MAPPING | ExpTimerMapping |
|
|
|
|
|
Referenced by ExGetNextWakeTime(), ExpDeleteTimer(), ExpTimerApcRoutine(), ExpTimerDpcRoutine(), ExTimerRundown(), NtCancelTimer(), NtCreateTimer(), NtQueryTimer(), and NtSetTimer(). |
|
||||||||||||||||
|
Definition at line 1212 of file timer.c. References ExpWakeTimerList, ExpWakeTimerListLock, ExSystemTimeToLocalTime(), KeQueryInterruptTime(), KeQuerySystemTime(), KeQueryTimerDueTime(), _ETIMER::KeTimer, NULL, PETIMER, RtlTimeToTimeFields(), TimeFields, _ETIMER::WakeTimer, and _ETIMER::WakeTimerListEntry.
|
|
|
Definition at line 232 of file timer.c. References ExpWakeTimerListLock, KeCancelTimer(), _ETIMER::KeTimer, NULL, PETIMER, and _ETIMER::WakeTimerListEntry. Referenced by ExpTimerInitialization().
|
|
||||||||||||||||||||||||
|
Definition at line 81 of file timer.c. References _ETIMER::ActiveTimerListEntry, _ETHREAD::ActiveTimerListLock, _ETIMER::ApcAssociated, FALSE, _ETIMER::Lock, NULL, ObDereferenceObject, _ETIMER::Period, PETIMER, PKNORMAL_ROUTINE, PsGetCurrentThread, _ETHREAD::Tcb, _KAPC::Thread, _ETIMER::TimerApc, and TRUE. Referenced by NtSetTimer().
|
|
||||||||||||||||||||
|
Definition at line 166 of file timer.c. References _ETIMER::ApcAssociated, KeInsertQueueApc(), _ETIMER::KeTimer, _ETIMER::Lock, PETIMER, TIMER_APC_INCREMENT, and _ETIMER::TimerApc. Referenced by NtCreateTimer().
|
|
|
Definition at line 281 of file timer.c. References ExpDeleteTimer(), ExpTimerMapping, ExpWakeTimerList, ExpWakeTimerListLock, ExTimerObjectType, KeInitializeSpinLock(), L, NonPagedPool, NT_SUCCESS, NTSTATUS(), NULL, ObCreateObjectType(), RtlInitUnicodeString(), and Status.
|
|
|
Definition at line 346 of file timer.c. References _ETIMER::ActiveTimerListEntry, _ETHREAD::ActiveTimerListHead, _ETHREAD::ActiveTimerListLock, _ETIMER::ApcAssociated, FALSE, KeCancelTimer(), KeRemoveQueueApc(), KeRemoveQueueDpc(), _ETIMER::KeTimer, _ETIMER::Lock, ObDereferenceObject, ObReferenceObject, PETIMER, PsGetCurrentThread, _ETHREAD::Tcb, _KAPC::Thread, _ETIMER::TimerApc, _ETIMER::TimerDpc, and TRUE. Referenced by oops(), and PspExitThread().
|
|
||||||||||||
|
Definition at line 679 of file timer.c. References _ETHREAD::ActiveTimerListLock, ExpWakeTimerListLock, ExSystemExceptionFilter(), ExTimerObjectType, FALSE, KeCancelTimer(), KeReadStateTimer(), KeRemoveQueueApc(), KeRemoveQueueDpc(), KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PETIMER, ProbeForWriteBoolean, Status, TimerHandle, and TRUE. Referenced by RtlpResetTimer().
|
|
||||||||||||||||||||
|
Definition at line 444 of file timer.c. References ExpTimerDpcRoutine(), ExSystemExceptionFilter(), ExTimerObjectType, FALSE, Handle, KeInitializeDpc(), KeInitializeSpinLock(), KeInitializeTimerEx(), KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObCreateObject(), ObInsertObject(), ObjectAttributes, PETIMER, ProbeForWriteHandle, Status, and TimerHandle. Referenced by RtlpInitializeTimerThreadPool(), and RtlpWaitThread().
|
|
||||||||||||||||
|
Definition at line 581 of file timer.c. References ExSystemExceptionFilter(), ExTimerObjectType, Handle, KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, ObOpenObjectByName(), ProbeForWriteHandle, Status, and TimerHandle.
|
|
||||||||||||||||||||||||
|
Definition at line 822 of file timer.c. References _KTIMER::DueTime, ExSystemExceptionFilter(), ExTimerObjectType, KeReadStateTimer(), KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PETIMER, ProbeForWrite(), ProbeForWriteUlong, Status, and TimerHandle. Referenced by RtlpGetTimeRemaining().
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 960 of file timer.c. References _ETHREAD::ActiveTimerListHead, _ETHREAD::ActiveTimerListLock, CurrentApcEnvironment, ExpTimerApcRoutine(), ExpWakeTimerList, ExpWakeTimerListLock, ExSystemExceptionFilter(), ExTimerObjectType, FALSE, KeCancelTimer(), KeInitializeApc(), KeReadStateTimer(), KeRemoveQueueApc(), KeRemoveQueueDpc(), KernelMode, KeSetTimerEx(), KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PETIMER, PKNORMAL_ROUTINE, PKRUNDOWN_ROUTINE, PoWakeTimerSupported, ProbeForRead, ProbeForWriteBoolean, PsGetCurrentThread, Status, _ETHREAD::Tcb, TimerApcRoutine(), TimerHandle, and TRUE. Referenced by RtlpResetTimer().
|
|
|
Initial value:
Definition at line 62 of file timer.c. Referenced by ExpTimerInitialization(). |
|
|
Definition at line 49 of file timer.c. Referenced by ExGetNextWakeTime(), ExpTimerInitialization(), and NtSetTimer(). |
|
|
Definition at line 48 of file timer.c. Referenced by ExGetNextWakeTime(), ExpDeleteTimer(), ExpTimerInitialization(), NtCancelTimer(), and NtSetTimer(). |
|
|
Definition at line 55 of file timer.c. Referenced by ExpTimerInitialization(), NtCancelTimer(), NtCreateTimer(), NtOpenTimer(), NtQueryTimer(), and NtSetTimer(). |
1.3.7