ReactOS 0.4.16-dev-88-ga65b6ae
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Definition at line 1510 of file oblife.c.
Referenced by CSR_API().
Definition at line 1473 of file oblife.c.
Referenced by CSR_API(), IopReassignSystemRoot(), and SmpInitializeDosDevices().
NTSTATUS NTAPI NtQueryObject | ( | IN HANDLE | ObjectHandle, |
IN OBJECT_INFORMATION_CLASS | ObjectInformationClass, | ||
OUT PVOID | ObjectInformation, | ||
IN ULONG | Length, | ||
OUT PULONG ResultLength | OPTIONAL | ||
) |
Definition at line 1566 of file oblife.c.
NTSTATUS NTAPI NtSetInformationObject | ( | IN HANDLE | ObjectHandle, |
IN OBJECT_INFORMATION_CLASS | ObjectInformationClass, | ||
IN PVOID | ObjectInformation, | ||
IN ULONG | Length | ||
) |
Definition at line 1824 of file oblife.c.
Referenced by BaseInitializeStaticServerData(), ProtectHandle(), SetHandleInformation(), SockCreateOrReferenceAsyncThread(), SockGetAsyncSelectHelperAfdHandle(), and UnProtectHandle().
NTSTATUS NTAPI ObCreateObject | ( | IN KPROCESSOR_MODE ProbeMode | OPTIONAL, |
IN POBJECT_TYPE | Type, | ||
IN POBJECT_ATTRIBUTES ObjectAttributes | OPTIONAL, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN OUT PVOID ParseContext | OPTIONAL, | ||
IN ULONG | ObjectSize, | ||
IN ULONG PagedPoolCharge | OPTIONAL, | ||
IN ULONG NonPagedPoolCharge | OPTIONAL, | ||
OUT PVOID * | Object | ||
) |
Definition at line 1039 of file oblife.c.
Referenced by _IRQL_requires_max_(), CmpCreateRegistryRoot(), CmpDoCreateChild(), CmpDoOpen(), CreateClientPort(), ExCreateCallback(), HalpDmaAllocateChildAdapter(), IntCreateWindowStation(), IntDesktopObjectParse(), IoCreateController(), IoCreateDevice(), IoCreateDriver(), IoCreateStreamFileObjectEx(), IoCreateStreamFileObjectLite(), IopInitializeDriverModule(), IopParseDevice(), LpcpCreatePort(), MmCreateArm3Section(), MmCreateDataFileSection(), MmCreateImageSection(), MmCreatePhysicalMemorySection(), NtCreateDebugObject(), NtCreateDirectoryObject(), NtCreateEvent(), NtCreateEventPair(), NtCreateIoCompletion(), NtCreateJobObject(), NtCreateMutant(), NtCreateProfile(), NtCreateSemaphore(), NtCreateSymbolicLinkObject(), NtCreateTimer(), NtSecureConnectPort(), ObtCreateObjects(), PspCreateProcess(), PspCreateThread(), SepCreateToken(), SepDuplicateToken(), SepPerformTokenFiltering(), and WmipCreateGuidObject().
NTSTATUS NTAPI ObCreateObjectType | ( | IN PUNICODE_STRING | TypeName, |
IN POBJECT_TYPE_INITIALIZER | ObjectTypeInitializer, | ||
IN PVOID | Reserved, | ||
OUT POBJECT_TYPE * | ObjectType | ||
) |
Definition at line 1136 of file oblife.c.
Referenced by _IRQL_requires_max_(), CmpCreateObjectTypes(), DbgkInitialize(), ExpInitializeCallbacks(), ExpInitializeEventImplementation(), ExpInitializeEventPairImplementation(), ExpInitializeMutantImplementation(), ExpInitializeProfileImplementation(), ExpInitializeSemaphoreImplementation(), ExpInitializeTimerImplementation(), ExpWin32kInit(), FltpSetupCommunicationObjects(), IopCreateObjectTypes(), LpcInitSystem(), MmInitSectionImplementation(), ObInitSystem(), ObtCreateObjectTypes(), PspInitPhase0(), SepInitializeTokenImplementation(), and WmipInitializeGuidObjectType().
Definition at line 1399 of file oblife.c.
VOID NTAPI ObFreeObjectCreateInfoBuffer | ( | IN POBJECT_CREATE_INFORMATION | ObjectCreateInfo | ) |
Definition at line 603 of file oblife.c.
Referenced by IoCreateStreamFileObjectLite().
Definition at line 1449 of file oblife.c.
Referenced by FltpSetupCommunicationObjects(), IoCreateDriver(), IoDeleteDevice(), IopInitializeDriverModule(), IopUnloadDevice(), IopUnloadDriver(), KdpDriverReinit(), and ObfDereferenceDeviceMap().
NTSTATUS NTAPI ObpAllocateObject | ( | IN POBJECT_CREATE_INFORMATION | ObjectCreateInfo, |
IN PUNICODE_STRING | ObjectName, | ||
IN POBJECT_TYPE | ObjectType, | ||
IN ULONG | ObjectSize, | ||
IN KPROCESSOR_MODE | PreviousMode, | ||
IN POBJECT_HEADER * | ObjectHeader | ||
) |
Definition at line 611 of file oblife.c.
Referenced by ObCreateObject(), and ObCreateObjectType().
PWCHAR NTAPI ObpAllocateObjectNameBuffer | ( | IN ULONG | Length, |
IN BOOLEAN | UseLookaside, | ||
IN OUT PUNICODE_STRING | ObjectName | ||
) |
Definition at line 301 of file oblife.c.
Referenced by ObpCaptureObjectName().
NTSTATUS NTAPI ObpCaptureObjectCreateInformation | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes, |
IN KPROCESSOR_MODE | AccessMode, | ||
IN KPROCESSOR_MODE | CreatorMode, | ||
IN BOOLEAN | AllocateFromLookaside, | ||
IN POBJECT_CREATE_INFORMATION | ObjectCreateInfo, | ||
OUT PUNICODE_STRING | ObjectName | ||
) |
Definition at line 455 of file oblife.c.
Referenced by ObCreateObject(), and ObOpenObjectByName().
NTSTATUS NTAPI ObpCaptureObjectName | ( | IN OUT PUNICODE_STRING | CapturedName, |
IN PUNICODE_STRING | ObjectName, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN BOOLEAN | UseLookaside | ||
) |
Definition at line 376 of file oblife.c.
Referenced by ObpCaptureObjectCreateInformation().
Definition at line 39 of file oblife.c.
Referenced by ObCreateObject(), and ObpDeleteObject().
Definition at line 147 of file oblife.c.
Referenced by ObfDereferenceObject(), and ObpReapObject().
Definition at line 1417 of file oblife.c.
Referenced by ObInitSystem().
VOID NTAPI ObpFreeObjectNameBuffer | ( | IN PUNICODE_STRING | Name | ) |
Definition at line 346 of file oblife.c.
Referenced by ObCreateObject(), ObOpenObjectByName(), ObpCaptureObjectName(), and ObReferenceObjectByName().
|
static |
Queries the name info size of a given resource object. The function loops through all the parent directories of the object and computes the name size.
[in] | ObjectHeader | A pointer to an object header, of which name and directory info are to be retrieved. |
Definition at line 890 of file oblife.c.
Referenced by NtQueryObject().
Definition at line 220 of file oblife.c.
Referenced by ObInitSystem().
Definition at line 266 of file oblife.c.
Referenced by NtMakePermanentObject(), NtMakeTemporaryObject(), and ObMakeTemporaryObject().
NTSTATUS NTAPI ObQueryTypeInfo | ( | _In_ POBJECT_TYPE | ObjectType, |
_Out_writes_bytes_to_(Length, *ReturnLength) POBJECT_TYPE_INFORMATION | ObjectTypeInfo, | ||
_In_ ULONG | Length, | ||
_Out_ PULONG | ReturnLength | ||
) |
Definition at line 947 of file oblife.c.
Referenced by NtQueryObject().
|
extern |
Definition at line 54 of file init.c.
Referenced by ObCreateObjectType().
GENERAL_LOOKASIDE ObpCreateInfoLookasideList |
KEVENT ObpDefaultObject |
Definition at line 23 of file oblife.c.
Referenced by ObCreateObjectType().
KGUARDED_MUTEX ObpDeviceMapLock |
Definition at line 24 of file oblife.c.
Referenced by ObDereferenceDeviceMap(), ObfDereferenceDeviceMap(), ObInheritDeviceMap(), ObInitSystem(), ObpGetShadowDirectory(), ObpProcessDosDeviceSymbolicLink(), ObpReferenceDeviceMap(), ObpSetCurrentProcessDeviceMap(), ObQueryDeviceMapInformation(), ObSetDeviceMap(), and ObSetDirectoryDeviceMap().
GENERAL_LOOKASIDE ObpNameBufferLookasideList |
Definition at line 26 of file oblife.c.
Referenced by ObInit2(), and ObInitSystem().
ULONG ObpObjectsCreated |
Definition at line 31 of file oblife.c.
Referenced by ObpAllocateObject().
ULONG ObpObjectsWithCreatorInfo |
Definition at line 32 of file oblife.c.
Referenced by ObpAllocateObject().
ULONG ObpObjectsWithHandleDB |
Definition at line 32 of file oblife.c.
Referenced by ObpAllocateObject().
ULONG ObpObjectsWithName |
Definition at line 31 of file oblife.c.
Referenced by ObpAllocateObject().
ULONG ObpObjectsWithPoolQuota |
Definition at line 31 of file oblife.c.
Referenced by ObpAllocateObject().
POBJECT_TYPE ObpObjectTypes[32] |
Definition at line 33 of file oblife.c.
Referenced by ObCreateObjectType().
Definition at line 29 of file oblife.c.
Referenced by ObpDeferObjectDeletion(), and ObpReapObject().
WORK_QUEUE_ITEM ObpReaperWorkItem |
Definition at line 28 of file oblife.c.
Referenced by ObInitSystem(), and ObpDeferObjectDeletion().
POBJECT_TYPE ObpTypeObjectType = NULL |
Definition at line 22 of file oblife.c.
Referenced by ObCreateObjectType().