#include "exp.h"
Go to the source code of this file.
Functions | |
BOOLEAN | ExpSemaphoreInitialization () |
NTSTATUS | NtCreateSemaphore (IN PHANDLE SemaphoreHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN LONG InitialCount, IN LONG MaximumCount) |
NTSTATUS | NtOpenSemaphore (OUT PHANDLE SemaphoreHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes) |
NTSTATUS | NtQuerySemaphore (IN HANDLE SemaphoreHandle, IN SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass, OUT PVOID SemaphoreInformation, IN ULONG SemaphoreInformationLength, OUT PULONG ReturnLength OPTIONAL) |
NTSTATUS | NtReleaseSemaphore (IN HANDLE SemaphoreHandle, IN LONG ReleaseCount, OUT PLONG PreviousCount OPTIONAL) |
Variables | |
ULONG | ExpSemaphoreBoost = SEMAPHORE_INCREMENT |
POBJECT_TYPE | ExSemaphoreObjectType |
GENERIC_MAPPING | ExpSemaphoreMapping |
|
Definition at line 64 of file semphore.c. References ExpSemaphoreMapping, ExSemaphoreObjectType, L, NonPagedPool, NT_SUCCESS, NTSTATUS(), NULL, ObCreateObjectType(), RtlInitUnicodeString(), and Status.
|
|
Definition at line 123 of file semphore.c. References ExSemaphoreObjectType, ExSystemExceptionFilter(), Handle, KeInitializeSemaphore(), KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObCreateObject(), ObInsertObject(), ObjectAttributes, ProbeForWriteHandle, and Status. Referenced by RtlInitializeResource().
|
|
Definition at line 260 of file semphore.c. References ExSemaphoreObjectType, ExSystemExceptionFilter(), Handle, KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, ObOpenObjectByName(), ProbeForWriteHandle, and Status.
|
|
Definition at line 360 of file semphore.c. References Count, ExSemaphoreObjectType, ExSystemExceptionFilter(), KeReadStateSemaphore(), KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), ProbeForWrite(), ProbeForWriteUlong, and Status.
|
|
Definition at line 494 of file semphore.c. References Count, ExpSemaphoreBoost, ExSemaphoreObjectType, ExSystemExceptionFilter(), FALSE, KeReleaseSemaphore(), KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), ProbeForWriteLong, and Status. Referenced by RtlConvertExclusiveToShared(), and RtlReleaseResource().
|
|
Definition at line 32 of file semphore.c. Referenced by NtReleaseSemaphore(). |
|
Initial value:
Definition at line 45 of file semphore.c. Referenced by ExpSemaphoreInitialization(). |
|
Definition at line 38 of file semphore.c. Referenced by ExpSemaphoreInitialization(), NtCreateSemaphore(), NtOpenSemaphore(), NtQuerySemaphore(), NtReleaseSemaphore(), and NtSignalAndWaitForSingleObject(). |