ReactOS  0.4.13-dev-235-g7373cb3
exfuncs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ExInterlockedIncrementLong(Addend, Lock)   Exfi386InterlockedIncrementLong(Addend)
 
#define ExInterlockedDecrementLong(Addend, Lock)   Exfi386InterlockedDecrementLong(Addend)
 
#define ExInterlockedExchangeUlong(Target, Value, Lock)   Exfi386InterlockedExchangeUlong(Target, Value)
 
#define ExAcquireSpinLock(Lock, OldIrql)   KeAcquireSpinLock((Lock), (OldIrql))
 
#define ExReleaseSpinLock(Lock, OldIrql)   KeReleaseSpinLock((Lock), (OldIrql))
 
#define ExAcquireSpinLockAtDpcLevel(Lock)   KeAcquireSpinLockAtDpcLevel(Lock)
 
#define ExReleaseSpinLockFromDpcLevel(Lock)   KeReleaseSpinLockFromDpcLevel(Lock)
 
#define ExInitializeSListHead   InitializeSListHead
 
#define ExInterlockedPushEntrySList(SListHead, SListEntry, Lock)   ExpInterlockedPushEntrySList(SListHead, SListEntry)
 
#define ExInterlockedPopEntrySList(SListHead, Lock)   ExpInterlockedPopEntrySList(SListHead)
 
#define ExInterlockedFlushSList(SListHead)   ExpInterlockedFlushSList(SListHead)
 
#define ExGetCurrentResourceThread()   ((ULONG_PTR)PsGetCurrentThread())
 
#define ExReleaseResource(R)   (ExReleaseResourceLite(R))
 
#define ExInitializeWorkItem(Item, Routine, Context)
 
#define ExInterlockedAllocateFromZone(Zone, Lock)   ((PVOID) ExInterlockedPopEntryList(&Zone->FreeList, Lock))
 
#define ExInterlockedFreeToZone(Zone, Block, Lock)   ExInterlockedPushEntryList(&(Zone)->FreeList, (PSINGLE_LIST_ENTRY)(Block), Lock)
 
#define ExIsFullZone(Zone)   ((Zone)->FreeList.Next == (PSINGLE_LIST_ENTRY) NULL)
 
#define ExIsObjectInFirstZoneSegment(Zone, Object)
 
#define ExAcquireResourceExclusive   ExAcquireResourceExclusiveLite
 
#define ExAcquireResourceShared   ExAcquireResourceSharedLite
 
#define ExConvertExclusiveToShared   ExConvertExclusiveToSharedLite
 
#define ExDeleteResource   ExDeleteResourceLite
 
#define ExInitializeResource   ExInitializeResourceLite
 
#define ExIsResourceAcquiredExclusive   ExIsResourceAcquiredExclusiveLite
 
#define ExIsResourceAcquiredShared   ExIsResourceAcquiredSharedLite
 
#define ExIsResourceAcquired   ExIsResourceAcquiredSharedLite
 
#define ExReleaseResourceForThread   ExReleaseResourceForThreadLite
 
#define RESULT_ZERO   0
 
#define RESULT_NEGATIVE   1
 
#define RESULT_POSITIVE   2
 
#define ExDisableResourceBoost   ExDisableResourceBoostLite
 
#define ExAllocatePoolWithQuotaTag(a, b, c)   ExAllocatePoolWithQuota(a,b)
 
#define ExAllocatePoolWithTag(a, b, c)   ExAllocatePool(a,b)
 
#define ExInterlockedAddLargeStatistic(Addend, Increment)   (VOID)InterlockedAdd64(&(Addend)->QuadPart, Increment)
 
#define ExInterlockedCompareExchange64(Destination, Exchange, Comperand, Lock)   InterlockedCompareExchange64(Destination, *(Exchange), *(Comperand))
 
#define ExIsResourceAcquiredLite   ExIsResourceAcquiredSharedLite
 
#define FLAG_OWNER_POINTER_IS_THREAD   0x1
 

Typedefs

typedef enum _INTERLOCKED_RESULT INTERLOCKED_RESULT
 

Enumerations

enum  _INTERLOCKED_RESULT { ResultNegative = RESULT_NEGATIVE, ResultZero = RESULT_ZERO, ResultPositive = RESULT_POSITIVE }
 

Functions

 $if (_WDMDDK_) _IRQL_raises_(APC_LEVEL) _IRQL_saves_global_(OldIrql
 
FastMutex NTKERNELAPI VOID FASTCALL ExAcquireFastMutex (_Inout_ _Requires_lock_not_held_(*_Curr_) _Acquires_lock_(*_Curr_) PFAST_MUTEX FastMutex)
 
 _IRQL_requires_ (APC_LEVEL) _IRQL_restores_global_(OldIrql
 
FastMutex NTKERNELAPI VOID FASTCALL ExReleaseFastMutex (_Inout_ _Requires_lock_held_(*_Curr_) _Releases_lock_(*_Curr_) PFAST_MUTEX FastMutex)
 
_Must_inspect_result_ _Success_ (return!=FALSE) _IRQL_raises_(APC_LEVEL) _IRQL_saves_global_(OldIrql
 
_Must_inspect_result_ FastMutex NTKERNELAPI BOOLEAN FASTCALL ExTryToAcquireFastMutex (_Inout_ _Requires_lock_not_held_(*_Curr_) _Acquires_lock_(*_Curr_) PFAST_MUTEX FastMutex)
 
NTKERNELAPI PSLIST_ENTRY ExpInterlockedPushEntrySList (_Inout_ PSLIST_HEADER SListHead, _Inout_ __drv_aliasesMem PSLIST_ENTRY SListEntry)
 
NTKERNELAPI PSLIST_ENTRY ExpInterlockedPopEntrySList (_Inout_ PSLIST_HEADER SListHead)
 
NTKERNELAPI PSLIST_ENTRY ExpInterlockedFlushSList (_Inout_ PSLIST_HEADER SListHead)
 
FORCEINLINE USHORT ExQueryDepthSList (_In_ PSLIST_HEADER SListHead)
 
 _IRQL_requires_max_ (APC_LEVEL) static __inline PVOID ExAllocateFromPagedLookasideList(_Inout_ PPAGED_LOOKASIDE_LIST Lookaside)
 
 if (ExQueryDepthSList(&Lookaside->L.ListHead) >=Lookaside->L.Depth)
 
FORCEINLINE VOID ExInitializeFastMutex (_Out_ PFAST_MUTEX FastMutex)
 
 $endif (_WDMDDK_) $if(_NTDDK_) static __inline PVOID ExAllocateFromZone(IN PZONE_HEADER Zone)
 
static __inline PVOID ExFreeToZone (IN PZONE_HEADER Zone, IN PVOID Block)
 
 $endif (_NTDDK_) $if(_NTIFS_) VOID NTAPI ExInitializePushLock(_Out_ PEX_PUSH_LOCK PushLock)
 
 $endif (_NTIFS_) $if(_WDMDDK_) _IRQL_requires_max_(APC_LEVEL) _Requires_lock_held_(_Global_critical_region_) NTKERNELAPI VOID FASTCALL ExAcquireFastMutexUnsafe(_Inout_ _Requires_lock_not_held_(*_Curr_) _Acquires_lock_(*_Curr_) PFAST_MUTEX FastMutex)
 
 _Requires_lock_held_ (_Global_critical_region_) _Requires_lock_not_held_(*Resource) _When_(Wait!=0
 
_Acquires_exclusive_lock_ Resource _Post_satisfies_ (return==1)) _When_(Wait
 
 __drv_preferredFunction ("ExAllocatePoolWithTag", "No tag interferes with debugging.") __drv_allocatesMem(Mem) _When_((PoolType &PagedPool) !=0
 
 _IRQL_requires_max_ (APC_LEVEL)) _When_((PoolType &PagedPool) == 0
 
 _IRQL_requires_max_ (DISPATCH_LEVEL)) _When_((PoolType &NonPagedPoolMustSucceed) !=0
 
 __drv_reportError ("Must succeed pool allocations are forbidden. " "Allocation failures cause a system crash")) _When_((PoolType &(NonPagedPoolMustSucceed|POOL_RAISE_IF_ALLOCATION_FAILURE)) == 0
 
_Post_maybenull_ _Must_inspect_result_ _When_ ((PoolType &(NonPagedPoolMustSucceed|POOL_RAISE_IF_ALLOCATION_FAILURE)) !=0, _Post_notnull_) _Post_writable_byte_size_(NumberOfBytes) NTKERNELAPI PVOID NTAPI ExAllocatePool(__drv_strictTypeMatch(__drv_typeExpr) _In_ POOL_TYPE PoolType
 
 __drv_preferredFunction ("ExAllocatePoolWithQuotaTag", "No tag interferes with debugging.") __drv_allocatesMem(Mem) _When_((PoolType &PagedPool) !=0
 
_Post_maybenull_ _Must_inspect_result_ _When_ ((PoolType &POOL_QUOTA_FAIL_INSTEAD_OF_RAISE)==0, _Post_notnull_) _Post_writable_byte_size_(NumberOfBytes) NTKERNELAPI PVOID NTAPI ExAllocatePoolWithQuota(__drv_strictTypeMatch(__drv_typeExpr) _In_ POOL_TYPE PoolType
 
 __drv_allocatesMem (Mem) _When_((PoolType &PagedPool) !=0
 
_Post_maybenull_ _Must_inspect_result_ _In_ SIZE_T _In_ ULONG _In_ __drv_strictTypeMatch (__drv_typeExpr) EX_POOL_PRIORITY Priority)
 
 _IRQL_requires_max_ (DISPATCH_LEVEL) NTKERNELAPI VOID NTAPI ExConvertExclusiveToSharedLite(_Inout_ _Requires_lock_held_(*_Curr_) PERESOURCE Resource)
 
NTKERNELAPI VOID NTAPI ExDeleteNPagedLookasideList (_Inout_ PNPAGED_LOOKASIDE_LIST Lookaside)
 
NTKERNELAPI LARGE_INTEGER NTAPI ExInterlockedAddLargeInteger (_Inout_ PLARGE_INTEGER Addend, _In_ LARGE_INTEGER Increment, _Inout_ _Requires_lock_not_held_(*_Curr_) PKSPIN_LOCK Lock)
 
NTKERNELAPI ULONG FASTCALL ExInterlockedAddUlong (_Inout_ PULONG Addend, _In_ ULONG Increment, _Inout_ _Requires_lock_not_held_(*_Curr_) PKSPIN_LOCK Lock)
 
NTKERNELAPI PLIST_ENTRY FASTCALL ExInterlockedInsertHeadList (_Inout_ PLIST_ENTRY ListHead, _Inout_ __drv_aliasesMem PLIST_ENTRY ListEntry, _Inout_ _Requires_lock_not_held_(*_Curr_) PKSPIN_LOCK Lock)
 
NTKERNELAPI PLIST_ENTRY FASTCALL ExInterlockedInsertTailList (_Inout_ PLIST_ENTRY ListHead, _Inout_ __drv_aliasesMem PLIST_ENTRY ListEntry, _Inout_ _Requires_lock_not_held_(*_Curr_) PKSPIN_LOCK Lock)
 
NTKERNELAPI PSINGLE_LIST_ENTRY FASTCALL ExInterlockedPopEntryList (_Inout_ PSINGLE_LIST_ENTRY ListHead, _Inout_ _Requires_lock_not_held_(*_Curr_) PKSPIN_LOCK Lock)
 
NTKERNELAPI PSINGLE_LIST_ENTRY FASTCALL ExInterlockedPushEntryList (_Inout_ PSINGLE_LIST_ENTRY ListHead, _Inout_ __drv_aliasesMem PSINGLE_LIST_ENTRY ListEntry, _Inout_ _Requires_lock_not_held_(*_Curr_) PKSPIN_LOCK Lock)
 
NTKERNELAPI PLIST_ENTRY FASTCALL ExInterlockedRemoveHeadList (_Inout_ PLIST_ENTRY ListHead, _Inout_ _Requires_lock_not_held_(*_Curr_) PKSPIN_LOCK Lock)
 
 _IRQL_requires_max_ (PASSIVE_LEVEL) NTKERNELAPI BOOLEAN NTAPI ExIsProcessorFeaturePresent(_In_ ULONG ProcessorFeature)
 
NTKERNELAPI VOID NTAPI ExLocalTimeToSystemTime (_In_ PLARGE_INTEGER LocalTime, _Out_ PLARGE_INTEGER SystemTime)
 
NTKERNELAPI VOID NTAPI ExSystemTimeToLocalTime (_In_ PLARGE_INTEGER SystemTime, _Out_ PLARGE_INTEGER LocalTime)
 
NTKERNELAPI NTSTATUS NTAPI ExInitializeZone (_Out_ PZONE_HEADER Zone, _In_ ULONG BlockSize, _Inout_ PVOID InitialSegment, _In_ ULONG InitialSegmentSize)
 
NTKERNELAPI VOID FASTCALL ExInitializeRundownProtection (_Out_ PEX_RUNDOWN_REF RunRef)
 
NTKERNELAPI VOID FASTCALL ExReInitializeRundownProtection (_Inout_ PEX_RUNDOWN_REF RunRef)
 
NTKERNELAPI VOID FASTCALL ExReleaseRundownProtection (_Inout_ PEX_RUNDOWN_REF RunRef)
 
NTKERNELAPI VOID FASTCALL ExRundownCompleted (_Out_ PEX_RUNDOWN_REF RunRef)
 
NTKERNELAPI BOOLEAN NTAPI ExVerifySuite (__drv_strictTypeMatch(__drv_typeExpr) _In_ SUITE_TYPE SuiteType)
 
NTKERNELAPI VOID FASTCALL ExWaitForRundownProtectionRelease (_Inout_ PEX_RUNDOWN_REF RunRef)
 
NTKERNELAPI VOID FASTCALL ExReleaseRundownProtectionEx (_Inout_ PEX_RUNDOWN_REF RunRef, _In_ ULONG Count)
 
NTKERNELAPI VOID FASTCALL ExReleaseRundownProtectionCacheAware (_Inout_ PEX_RUNDOWN_REF_CACHE_AWARE RunRefCacheAware)
 
NTKERNELAPI VOID FASTCALL ExReleaseRundownProtectionCacheAwareEx (_Inout_ PEX_RUNDOWN_REF_CACHE_AWARE RunRef, _In_ ULONG Count)
 
NTKERNELAPI VOID FASTCALL ExWaitForRundownProtectionReleaseCacheAware (IN OUT PEX_RUNDOWN_REF_CACHE_AWARE RunRef)
 
NTKERNELAPI VOID FASTCALL ExReInitializeRundownProtectionCacheAware (_Inout_ PEX_RUNDOWN_REF_CACHE_AWARE RunRefCacheAware)
 
NTKERNELAPI VOID FASTCALL ExRundownCompletedCacheAware (_Inout_ PEX_RUNDOWN_REF_CACHE_AWARE RunRefCacheAware)
 
 __drv_allocatesMem (Mem) _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) FORCEINLINE PVOID ExAllocateFromLookasideListEx(_Inout_ PLOOKASIDE_LIST_EX Lookaside)
 
_In_ __drv_freesMem (Entry) PVOID Entry)
 
_In_ __drv_freesMem (Mem) PVOID Entry)
 

Variables

_In_ PVOID Entry
 
 else
 
_Acquires_exclusive_lock_ Resource _In_ _Literal_ BOOLEAN Wait
 
_Acquires_shared_lock_ _Curr_ PERESOURCE Resource
 
_Post_maybenull_ _Must_inspect_result_ _In_ SIZE_T NumberOfBytes
 
_Post_maybenull_ _Must_inspect_result_ _In_ SIZE_T _In_ ULONG Tag
 
_In_ POBJECT_ATTRIBUTES ObjectAttributes
 
_In_ POBJECT_ATTRIBUTES _In_ BOOLEAN Create
 
_In_ POBJECT_ATTRIBUTES _In_ BOOLEAN _In_ BOOLEAN AllowMultipleCallbacks
 
_In_opt_ PALLOCATE_FUNCTION Allocate
 
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free
 
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG Flags
 
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T Size
 
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T _In_ ULONG _In_ USHORT Depth
 
_In_opt_ PVOID Argument1
 
_In_opt_ PVOID _In_opt_ PVOID Argument2
 
_In_ PCALLBACK_FUNCTION CallbackFunction
 
_In_ PCALLBACK_FUNCTION _In_opt_ PVOID CallbackContext
 
_In_ ERESOURCE_THREAD ResourceThreadId
 
_In_ PVOID OwnerPointer
 
_In_ BOOLEAN SetResolution
 
_Inout_ PVOID Segment
 
_Inout_ PVOID _In_ ULONG SegmentSize
 
_Inout_ PVOID _In_ ULONG _Inout_ _Requires_lock_not_held_ _Curr_ PKSPIN_LOCK Lock
 
_Out_ PBOOLEAN QuotaCharged
 
_Inout_ __drv_aliasesMem PSLIST_ENTRY List
 
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY ListEnd
 
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
 
_Must_inspect_result_ _In_ ULONG PoolTag
 
_In_ SIZE_T RunRefSize
 
_In_opt_ PALLOCATE_FUNCTION_EX _In_opt_ PFREE_FUNCTION_EX _In_ POOL_TYPE PoolType
 

Macro Definition Documentation

◆ ExAcquireResourceExclusive

#define ExAcquireResourceExclusive   ExAcquireResourceExclusiveLite

Definition at line 342 of file exfuncs.h.

◆ ExAcquireResourceShared

#define ExAcquireResourceShared   ExAcquireResourceSharedLite

Definition at line 343 of file exfuncs.h.

◆ ExAcquireSpinLock

#define ExAcquireSpinLock (   Lock,
  OldIrql 
)    KeAcquireSpinLock((Lock), (OldIrql))

◆ ExAcquireSpinLockAtDpcLevel

#define ExAcquireSpinLockAtDpcLevel (   Lock)    KeAcquireSpinLockAtDpcLevel(Lock)

◆ ExAllocatePoolWithQuotaTag

#define ExAllocatePoolWithQuotaTag (   a,
  b,
  c 
)    ExAllocatePoolWithQuota(a,b)

Definition at line 530 of file exfuncs.h.

◆ ExAllocatePoolWithTag

#define ExAllocatePoolWithTag (   a,
  b,
  c 
)    ExAllocatePool(a,b)

Definition at line 554 of file exfuncs.h.

◆ ExConvertExclusiveToShared

#define ExConvertExclusiveToShared   ExConvertExclusiveToSharedLite

Definition at line 344 of file exfuncs.h.

◆ ExDeleteResource

#define ExDeleteResource   ExDeleteResourceLite

Definition at line 345 of file exfuncs.h.

◆ ExDisableResourceBoost

#define ExDisableResourceBoost   ExDisableResourceBoostLite

◆ ExGetCurrentResourceThread

#define ExGetCurrentResourceThread ( )    ((ULONG_PTR)PsGetCurrentThread())

Definition at line 255 of file exfuncs.h.

◆ ExInitializeResource

#define ExInitializeResource   ExInitializeResourceLite

Definition at line 346 of file exfuncs.h.

◆ ExInitializeSListHead

#define ExInitializeSListHead   InitializeSListHead

◆ ExInitializeWorkItem

#define ExInitializeWorkItem (   Item,
  Routine,
  Context 
)
Value:
{ \
(Item)->WorkerRoutine = Routine; \
(Item)->Parameter = Context; \
(Item)->List.Flink = NULL; \
}
_Must_inspect_result_ _In_ PFLT_CALLBACK_DATA _In_ PFLT_DEFERRED_IO_WORKITEM_ROUTINE WorkerRoutine
Definition: fltkernel.h:1977
_In_ PVOID Parameter
Definition: ldrtypes.h:240
smooth NULL
Definition: ftsmooth.c:416
_Inout_ __drv_aliasesMem PSLIST_ENTRY List
Definition: exfuncs.h:1015

Definition at line 265 of file exfuncs.h.

◆ ExInterlockedAddLargeStatistic

#define ExInterlockedAddLargeStatistic (   Addend,
  Increment 
)    (VOID)InterlockedAdd64(&(Addend)->QuadPart, Increment)

Definition at line 692 of file exfuncs.h.

◆ ExInterlockedAllocateFromZone

#define ExInterlockedAllocateFromZone (   Zone,
  Lock 
)    ((PVOID) ExInterlockedPopEntryList(&Zone->FreeList, Lock))

Definition at line 312 of file exfuncs.h.

◆ ExInterlockedCompareExchange64

#define ExInterlockedCompareExchange64 (   Destination,
  Exchange,
  Comperand,
  Lock 
)    InterlockedCompareExchange64(Destination, *(Exchange), *(Comperand))

Definition at line 722 of file exfuncs.h.

◆ ExInterlockedDecrementLong

#define ExInterlockedDecrementLong (   Addend,
  Lock 
)    Exfi386InterlockedDecrementLong(Addend)

◆ ExInterlockedExchangeUlong

#define ExInterlockedExchangeUlong (   Target,
  Value,
  Lock 
)    Exfi386InterlockedExchangeUlong(Target, Value)

◆ ExInterlockedFlushSList

#define ExInterlockedFlushSList (   SListHead)    ExpInterlockedFlushSList(SListHead)

Definition at line 169 of file exfuncs.h.

◆ ExInterlockedFreeToZone

#define ExInterlockedFreeToZone (   Zone,
  Block,
  Lock 
)    ExInterlockedPushEntryList(&(Zone)->FreeList, (PSINGLE_LIST_ENTRY)(Block), Lock)

Definition at line 321 of file exfuncs.h.

◆ ExInterlockedIncrementLong

#define ExInterlockedIncrementLong (   Addend,
  Lock 
)    Exfi386InterlockedIncrementLong(Addend)

◆ ExInterlockedPopEntrySList

#define ExInterlockedPopEntrySList (   SListHead,
  Lock 
)    ExpInterlockedPopEntrySList(SListHead)

Definition at line 166 of file exfuncs.h.

◆ ExInterlockedPushEntrySList

#define ExInterlockedPushEntrySList (   SListHead,
  SListEntry,
  Lock 
)    ExpInterlockedPushEntrySList(SListHead, SListEntry)

Definition at line 163 of file exfuncs.h.

◆ ExIsFullZone

#define ExIsFullZone (   Zone)    ((Zone)->FreeList.Next == (PSINGLE_LIST_ENTRY) NULL)

Definition at line 329 of file exfuncs.h.

◆ ExIsObjectInFirstZoneSegment

#define ExIsObjectInFirstZoneSegment (   Zone,
  Object 
)
Value:
((BOOLEAN)( ((PUCHAR)(Object) >= (PUCHAR)(Zone)->SegmentList.Next) && \
((PUCHAR)(Object) < (PUCHAR)(Zone)->SegmentList.Next + \
(Zone)->TotalSegmentSize)) )
unsigned char * PUCHAR
Definition: retypes.h:3
static IUnknown Object
Definition: main.c:512
#define BOOLEAN
Definition: pedump.c:73

Definition at line 337 of file exfuncs.h.

◆ ExIsResourceAcquired

#define ExIsResourceAcquired   ExIsResourceAcquiredSharedLite

Definition at line 349 of file exfuncs.h.

◆ ExIsResourceAcquiredExclusive

#define ExIsResourceAcquiredExclusive   ExIsResourceAcquiredExclusiveLite

Definition at line 347 of file exfuncs.h.

◆ ExIsResourceAcquiredLite

#define ExIsResourceAcquiredLite   ExIsResourceAcquiredSharedLite

Definition at line 786 of file exfuncs.h.

◆ ExIsResourceAcquiredShared

#define ExIsResourceAcquiredShared   ExIsResourceAcquiredSharedLite

Definition at line 348 of file exfuncs.h.

◆ ExReleaseResource

#define ExReleaseResource (   R)    (ExReleaseResourceLite(R))

Definition at line 257 of file exfuncs.h.

◆ ExReleaseResourceForThread

#define ExReleaseResourceForThread   ExReleaseResourceForThreadLite

Definition at line 350 of file exfuncs.h.

◆ ExReleaseSpinLock

#define ExReleaseSpinLock (   Lock,
  OldIrql 
)    KeReleaseSpinLock((Lock), (OldIrql))

◆ ExReleaseSpinLockFromDpcLevel

#define ExReleaseSpinLockFromDpcLevel (   Lock)    KeReleaseSpinLockFromDpcLevel(Lock)

◆ FLAG_OWNER_POINTER_IS_THREAD

#define FLAG_OWNER_POINTER_IS_THREAD   0x1

Definition at line 1264 of file exfuncs.h.

◆ RESULT_NEGATIVE

#define RESULT_NEGATIVE   1

Definition at line 354 of file exfuncs.h.

◆ RESULT_POSITIVE

#define RESULT_POSITIVE   2

Definition at line 355 of file exfuncs.h.

◆ RESULT_ZERO

#define RESULT_ZERO   0

Definition at line 353 of file exfuncs.h.

Typedef Documentation

◆ INTERLOCKED_RESULT

Enumeration Type Documentation

◆ _INTERLOCKED_RESULT

Enumerator
ResultNegative 
ResultZero 
ResultPositive 

Definition at line 358 of file exfuncs.h.

358  {
enum _INTERLOCKED_RESULT INTERLOCKED_RESULT
#define RESULT_NEGATIVE
Definition: exfuncs.h:354
#define RESULT_ZERO
Definition: exfuncs.h:353
#define RESULT_POSITIVE
Definition: exfuncs.h:355

Function Documentation

◆ $endif() [1/3]

$endif ( _WDMDDK_  )

Definition at line 284 of file exfuncs.h.

289 {
290  PVOID Result = (PVOID)Zone->FreeList.Next;
291  if (Zone->FreeList.Next)
292  Zone->FreeList.Next = Zone->FreeList.Next->Next;
293  return Result;
294 }
if(ExQueryDepthSList(&Lookaside->L.ListHead) >=Lookaside->L.Depth)
Definition: exfuncs.h:239
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
void * PVOID
Definition: retypes.h:9

◆ $endif() [2/3]

$endif ( _NTDDK_  )
Initial value:
== 1 || return == 0)
_When_(return!=0, _Acquires_lock_(*_Curr_))
_Requires_lock_not_held_(Vcb->fcb_lock) _Acquires_shared_lock_(Vcb -> fcb_lock) static __inline void acquire_fcb_lock_shared(device_extension *Vcb)
Definition: btrfs_drv.h:919
KSPIN_LOCK * PKSPIN_LOCK
Definition: env_spec_w32.h:73
#define FASTCALL
Definition: nt_native.h:50
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
#define _Acquires_lock_(lock)
Definition: no_sal2.h:677
unsigned char BOOLEAN
#define NTKERNELAPI
_Post_maybenull_ _Must_inspect_result_ _When_((PoolType &(NonPagedPoolMustSucceed|POOL_RAISE_IF_ALLOCATION_FAILURE)) !=0, _Post_notnull_) _Post_writable_byte_size_(NumberOfBytes) NTKERNELAPI PVOID NTAPI ExAllocatePool(__drv_strictTypeMatch(__drv_typeExpr) _In_ POOL_TYPE PoolType
#define _Inout_
Definition: no_sal2.h:244
BOOLEAN FASTCALL KeTryToAcquireSpinLockAtDpcLevel(IN OUT PKSPIN_LOCK SpinLock)
Definition: spinlock.c:303

Definition at line 2487 of file iofuncs.h.

2495 {
2496  PriorityInfo->Size = sizeof(IO_PRIORITY_INFO);
2497  PriorityInfo->ThreadPriority = 0xffff;
2498  PriorityInfo->IoPriority = IoPriorityNormal;
2499  PriorityInfo->PagePriority = 0;
2500 }
struct _IO_PRIORITY_INFO IO_PRIORITY_INFO
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD _Inout_ PIO_PRIORITY_INFO PriorityInfo
Definition: fltkernel.h:2653

◆ $endif() [3/3]

$endif ( _NTIFS_  )
Initial value:
== 0 || return == 1)
#define ExAcquireRundownProtection
Definition: ex.h:130
#define FASTCALL
Definition: nt_native.h:50
unsigned char BOOLEAN
#define NTKERNELAPI
#define _Inout_
Definition: no_sal2.h:244

Definition at line 2594 of file iofuncs.h.

2620 {
2621  ASSERT(Irp->CurrentLocation <= Irp->StackCount);
2622  Irp->CurrentLocation++;
2623 #ifdef NONAMELESSUNION
2624  Irp->Tail.Overlay.s.u.CurrentStackLocation++;
2625 #else
2626  Irp->Tail.Overlay.CurrentStackLocation++;
2627 #endif
2628 }
_In_ PIRP Irp
Definition: csq.h:116
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)

◆ $if()

$if ( _WDMDDK_  )

Kernel definitions for AMD64

Kernel definitions for ARM

Definition at line 1 of file ke.h.

31 {
32  ULONG Dummy;
struct _KFLOATING_SAVE KFLOATING_SAVE
struct _KFLOATING_SAVE * PKFLOATING_SAVE
unsigned int ULONG
Definition: retypes.h:1

◆ __drv_allocatesMem() [1/2]

__drv_allocatesMem ( Mem  ) &
pure virtual

◆ __drv_allocatesMem() [2/2]

__drv_allocatesMem ( Mem  )

Definition at line 1197 of file exfuncs.h.

1204 {
1205  PVOID Entry;
1206 
1207  Lookaside->L.TotalAllocates += 1;
1208 #ifdef NONAMELESSUNION
1209  Entry = InterlockedPopEntrySList(&Lookaside->L.u.ListHead);
1210  if (Entry == NULL) {
1211  Lookaside->L.u2.AllocateMisses += 1;
1212  Entry = (Lookaside->L.u4.AllocateEx)(Lookaside->L.Type,
1213  Lookaside->L.Size,
1214  Lookaside->L.Tag,
1215  Lookaside);
1216  }
1217 #else /* NONAMELESSUNION */
1218  Entry = InterlockedPopEntrySList(&Lookaside->L.ListHead);
1219  if (Entry == NULL) {
1220  Lookaside->L.AllocateMisses += 1;
1221  Entry = (Lookaside->L.AllocateEx)(Lookaside->L.Type,
1222  Lookaside->L.Size,
1223  Lookaside->L.Tag,
1224  Lookaside);
1225  }
1226 #endif /* NONAMELESSUNION */
1227  return Entry;
1228 }
_In_ PVOID Entry
Definition: exfuncs.h:229
PSLIST_ENTRY WINAPI InterlockedPopEntrySList(PSLIST_HEADER ListHead)
Definition: interlocked.c:55
smooth NULL
Definition: ftsmooth.c:416
_Inout_ PVOID Lookaside
Definition: fltkernel.h:2532
base of all file and directory entries
Definition: entries.h:82

◆ __drv_freesMem() [1/2]

_In_ __drv_freesMem ( Entry  )

Definition at line 1239 of file exfuncs.h.

1240 {
1241  Lookaside->L.TotalFrees += 1;
1242  if (ExQueryDepthSList(&Lookaside->L.ListHead) >= Lookaside->L.Depth) {
1243  Lookaside->L.FreeMisses += 1;
1244  (Lookaside->L.FreeEx)(Entry, Lookaside);
1245  } else {
1247  }
1248  return;
1249 }
_Inout_ PVOID Lookaside
Definition: fltkernel.h:2532
#define PSLIST_ENTRY
Definition: rtltypes.h:130
FORCEINLINE USHORT ExQueryDepthSList(_In_ PSLIST_HEADER SListHead)
Definition: exfuncs.h:153
NTKERNELAPI PSLIST_ENTRY FASTCALL InterlockedPushEntrySList(IN PSLIST_HEADER ListHead, IN PSLIST_ENTRY ListEntry)
Definition: interlocked.c:82
base of all file and directory entries
Definition: entries.h:82

◆ __drv_freesMem() [2/2]

_In_ __drv_freesMem ( Mem  )

Definition at line 1315 of file exfuncs.h.

1316 {
1317  Lookaside->L.TotalFrees++;
1318 #ifdef NONAMELESSUNION
1319  if (ExQueryDepthSList(&Lookaside->L.u.ListHead) >= Lookaside->L.Depth) {
1320  Lookaside->L.u3.FreeMisses++;
1321  (Lookaside->L.u5.Free)(Entry);
1322  } else {
1323 #if defined(_WIN2K_COMPAT_SLIST_USAGE) && defined(_X86_)
1324  ExInterlockedPushEntrySList(&Lookaside->L.u.ListHead,
1326  &Lookaside->Lock__ObsoleteButDoNotDelete);
1327 #else
1329 #endif
1330  }
1331 #else /* NONAMELESSUNION */
1332  if (ExQueryDepthSList(&Lookaside->L.ListHead) >= Lookaside->L.Depth) {
1333  Lookaside->L.FreeMisses++;
1334  (Lookaside->L.Free)(Entry);
1335  } else {
1336 #if defined(_WIN2K_COMPAT_SLIST_USAGE) && defined(_X86_)
1339  &Lookaside->Lock__ObsoleteButDoNotDelete);
1340 #else
1342 #endif
1343  }
1344 #endif /* NONAMELESSUNION */
1345 }
#define ExInterlockedPushEntrySList(SListHead, SListEntry, Lock)
Definition: exfuncs.h:163
_Inout_ PVOID Lookaside
Definition: fltkernel.h:2532
#define PSLIST_ENTRY
Definition: rtltypes.h:130
FORCEINLINE USHORT ExQueryDepthSList(_In_ PSLIST_HEADER SListHead)
Definition: exfuncs.h:153
NTKERNELAPI PSLIST_ENTRY FASTCALL InterlockedPushEntrySList(IN PSLIST_HEADER ListHead, IN PSLIST_ENTRY ListEntry)
Definition: interlocked.c:82
base of all file and directory entries
Definition: entries.h:82

◆ __drv_preferredFunction() [1/2]

__drv_preferredFunction ( "ExAllocatePoolWithTag"  ,
"No tag interferes with debugging."   
) &
pure virtual

◆ __drv_preferredFunction() [2/2]

__drv_preferredFunction ( "ExAllocatePoolWithQuotaTag"  ,
"No tag interferes with debugging."   
) &
pure virtual

◆ __drv_reportError()

__drv_reportError ( "Must succeed pool allocations are forbidden. " "Allocation failures cause a system crash"  ) & == 0

◆ __drv_strictTypeMatch()

__drv_strictTypeMatch ( __drv_typeExpr  )

◆ _IRQL_requires_()

_IRQL_requires_ ( APC_LEVEL  )

◆ _IRQL_requires_max_() [1/5]

_IRQL_requires_max_ ( APC_LEVEL  )

Definition at line 194 of file exfuncs.h.

199 {
200  PVOID Entry;
201 
202  Lookaside->L.TotalAllocates++;
203 #ifdef NONAMELESSUNION
204  Entry = InterlockedPopEntrySList(&Lookaside->L.u.ListHead);
205  if (Entry == NULL) {
206  Lookaside->L.u2.AllocateMisses++;
207  Entry = (Lookaside->L.u4.Allocate)(Lookaside->L.Type,
208  Lookaside->L.Size,
209  Lookaside->L.Tag);
210  }
211 #else /* NONAMELESSUNION */
212  Entry = InterlockedPopEntrySList(&Lookaside->L.ListHead);
213  if (Entry == NULL) {
214  Lookaside->L.AllocateMisses++;
215  Entry = (Lookaside->L.Allocate)(Lookaside->L.Type,
216  Lookaside->L.Size,
217  Lookaside->L.Tag);
218  }
219 #endif /* NONAMELESSUNION */
220  return Entry;
221 }
_In_ PVOID Entry
Definition: exfuncs.h:229
PSLIST_ENTRY WINAPI InterlockedPopEntrySList(PSLIST_HEADER ListHead)
Definition: interlocked.c:55
smooth NULL
Definition: ftsmooth.c:416
_Inout_ PVOID Lookaside
Definition: fltkernel.h:2532
base of all file and directory entries
Definition: entries.h:82

◆ _IRQL_requires_max_() [2/5]

_IRQL_requires_max_ ( APC_LEVEL  ) & == 0

◆ _IRQL_requires_max_() [3/5]

_IRQL_requires_max_ ( DISPATCH_LEVEL  ) &
pure virtual

◆ _IRQL_requires_max_() [4/5]

_IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 30 of file rmap.c.

36 {
38 }
#define TAG_RMAP
Definition: tag.h:133
#define P(row, col)
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1099

◆ _IRQL_requires_max_() [5/5]

_IRQL_requires_max_ ( PASSIVE_LEVEL  )

Definition at line 64 of file Messaging.c.

75 {
76  PFLT_SERVER_PORT_OBJECT PortObject;
78 
79  /* The caller must allow at least one connection */
80  if (MaxConnections == 0)
81  {
83  }
84 
85  /* The request must be for a kernel handle */
86  if (!(ObjectAttributes->Attributes & OBJ_KERNEL_HANDLE))
87  {
89  }
90 
91  /*
92  * Get rundown protection on the target to stop the owner
93  * from unloading whilst this port object is open. It gets
94  * removed in the FltpServerPortClose callback
95  */
97  if (!NT_SUCCESS(Status))
98  {
99  return Status;
100  }
101 
102  /* Create the server port object for this filter */
106  KernelMode,
107  NULL,
108  sizeof(FLT_SERVER_PORT_OBJECT),
109  0,
110  0,
111  (PVOID *)&PortObject);
112  if (NT_SUCCESS(Status))
113  {
114  /* Zero out the struct */
115  RtlZeroMemory(PortObject, sizeof(FLT_SERVER_PORT_OBJECT));
116 
117  /* Increment the ref count on the target filter */
119 
120  /* Setup the filter port object */
121  PortObject->Filter = Filter;
122  PortObject->ConnectNotify = ConnectNotifyCallback;
124  PortObject->MessageNotify = MessageNotifyCallback;
125  PortObject->Cookie = ServerPortCookie;
126  PortObject->MaxConnections = MaxConnections;
127 
128  /* Insert the object */
129  Status = ObInsertObject(PortObject,
130  NULL,
132  0,
133  NULL,
135  if (NT_SUCCESS(Status))
136  {
137  /* Lock the connection list */
139 
140  /* Add the new port object to the connection list and increment the count */
143 
144  /* Unlock the connection list*/
146  }
147  }
148 
149  if (!NT_SUCCESS(Status))
150  {
151  /* Allow the filter to be cleaned up */
153  }
154 
155  return Status;
156 }
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:35
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
_Must_inspect_result_ _Outptr_ PFLT_PORT * ServerPort
Definition: fltkernel.h:1873
PFLT_CONNECT_NOTIFY ConnectNotify
Definition: fltmgrint.h:191
VOID FLTAPI FltObjectDereference(_Inout_ PVOID Object)
Definition: Object.c:53
LONG NTSTATUS
Definition: precomp.h:26
#define InsertTailList(ListHead, Entry)
VOID FASTCALL ExReleaseFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:31
ULONG FltpObjectPointerReference(_In_ PFLT_OBJECT Object)
Definition: Object.c:322
LIST_ENTRY mList
Definition: fltmgrint.h:56
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
Definition: fltkernel.h:1802
#define FILE_READ_DATA
Definition: nt_native.h:628
smooth NULL
Definition: ftsmooth.c:416
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: oblife.c:952
POBJECT_TYPE ServerPortObjectType
Definition: Messaging.c:24
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY DisconnectNotifyCallback
Definition: fltkernel.h:1873
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY ConnectNotifyCallback
Definition: fltkernel.h:1873
Status
Definition: gdiplustypes.h:24
NTSTATUS NTAPI ObInsertObject(IN PVOID Object, IN PACCESS_STATE AccessState OPTIONAL, IN ACCESS_MASK DesiredAccess, IN ULONG ObjectPointerBias, OUT PVOID *NewObject OPTIONAL, OUT PHANDLE Handle)
Definition: obhandle.c:2932
#define STANDARD_RIGHTS_ALL
Definition: nt_native.h:69
VOID FASTCALL ExAcquireFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:23
NTSTATUS FLTAPI FltObjectReference(_Inout_ PVOID Object)
Definition: Object.c:41
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID ServerPortCookie
Definition: fltkernel.h:1873
FAST_MUTEX mLock
Definition: fltmgrint.h:55
PFLT_MESSAGE_NOTIFY MessageNotify
Definition: fltmgrint.h:193
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:261
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY _In_ LONG MaxConnections
Definition: fltkernel.h:1873
PFLT_DISCONNECT_NOTIFY DisconnectNotify
Definition: fltmgrint.h:192
#define OBJ_KERNEL_HANDLE
Definition: winternl.h:231
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY MessageNotifyCallback
Definition: fltkernel.h:1873
FLT_MUTEX_LIST_HEAD ConnectionList
Definition: fltmgrint.h:121

◆ _Post_satisfies_()

_Acquires_exclusive_lock_ Resource _Post_satisfies_ ( return  = = 1)

◆ _Requires_lock_held_()

_Requires_lock_held_ ( _Global_critical_region_  )
pure virtual

◆ _Success_()

_Must_inspect_result_ _Success_ ( return!  = FALSE)

◆ _When_() [1/2]

◆ _When_() [2/2]

◆ ExAcquireFastMutex()

FastMutex NTKERNELAPI VOID FASTCALL ExAcquireFastMutex ( _Inout_ _Requires_lock_not_held_ *_Curr_ _Acquires_lock_ *_Curr_ PFAST_MUTEX  FastMutex)

◆ ExDeleteNPagedLookasideList()

NTKERNELAPI VOID NTAPI ExDeleteNPagedLookasideList ( _Inout_ PNPAGED_LOOKASIDE_LIST  Lookaside)

◆ ExFreeToZone()

static __inline PVOID ExFreeToZone ( IN PZONE_HEADER  Zone,
IN PVOID  Block 
)
static

Definition at line 297 of file exfuncs.h.

300 {
301  ((PSINGLE_LIST_ENTRY) Block)->Next = Zone->FreeList.Next;
302  Zone->FreeList.Next = ((PSINGLE_LIST_ENTRY) Block);
303  return ((PSINGLE_LIST_ENTRY) Block)->Next;
304 }
Definition: ntbasedef.h:635
struct _SINGLE_LIST_ENTRY * PSINGLE_LIST_ENTRY

Referenced by UDFReleaseCCB(), UDFReleaseIrpContext(), and UDFReleaseObjectName().

◆ ExInitializeFastMutex()

FORCEINLINE VOID ExInitializeFastMutex ( _Out_ PFAST_MUTEX  FastMutex)

Definition at line 274 of file exfuncs.h.

276 {
277  FastMutex->Count = FM_LOCK_BIT;
278  FastMutex->Owner = NULL;
279  FastMutex->Contention = 0;
280  KeInitializeEvent(&FastMutex->Event, SynchronizationEvent, FALSE);
281  return;
282 }
smooth NULL
Definition: ftsmooth.c:416
#define FM_LOCK_BIT
Definition: iotypes.h:1382
#define KeInitializeEvent(pEvt, foo, foo2)
Definition: env_spec_w32.h:477

Referenced by _Requires_lock_held_(), acpi_init(), AcpiOsCreateMutex(), BatteryClassInitializeDevice(), Bus_AddDevice(), CcInitializeCacheManager(), CcPfInitializePrefetcher(), CdCreateFcb(), CdCreateFcbNonpaged(), CdInitializeGlobalData(), CdInitializeVcb(), CmBattCreateFdo(), CmpInitCallback(), CompBattAddDevice(), create_fcb(), CreateClientPort(), CreatePortCCB(), DbgkInitialize(), DriverEntry(), ExeFmtpCreateImageSection(), ExpInitializeWorkerThreads(), ExpInitSystemPhase0(), ExpUuidInitialization(), Ext2AllocateFcb(), Ext2InitializeVcb(), FatCreateDcb(), FatCreateFcb(), FltRegisterFilter(), FsRtlAllocateOplock(), FsRtlInitializeTunnelCache(), FsRtlInsertPerFileObjectContext(), FsRtlNotifyInitializeSync(), GdiProcessCreate(), HalpAcpiTableCacheInit(), InitFontSupport(), InitializeMessageWaiterQueue(), InitTimerImpl(), IopInitializePlugPlayServices(), KdpGdbStubInit(), KiInitializeKernel(), KiInitSystem(), load_tree(), MmCreateCacheSection(), MmCreateDataFileSection(), MmCreatePageFileSection(), MmInitializeRmapList(), MmInitSystem(), mount_vol(), nfs41_CreateVNetRoot(), nfs41_UpcallCreate(), NtCreateDebugObject(), PerformTest(), PspInitializeJobStructures(), RamdiskAddDevice(), RamdiskCreateDiskDevice(), RtlpInitAtomTableLock(), RxAllocateFcbObject(), RxDriverEntry(), RxInitializeBufferingManager(), RxInitializeRegistrationStructures(), split_tree_at(), START_TEST(), TestIrpHandler(), UserProcessCreate(), and vfatNewFCB().

◆ ExInitializeRundownProtection()

◆ ExInitializeZone()

NTKERNELAPI NTSTATUS NTAPI ExInitializeZone ( _Out_ PZONE_HEADER  Zone,
_In_ ULONG  BlockSize,
_Inout_ PVOID  InitialSegment,
_In_ ULONG  InitialSegmentSize 
)

◆ ExInterlockedAddLargeInteger()

NTKERNELAPI LARGE_INTEGER NTAPI ExInterlockedAddLargeInteger ( _Inout_ PLARGE_INTEGER  Addend,
_In_ LARGE_INTEGER  Increment,
_Inout_ _Requires_lock_not_held_ *_Curr_ PKSPIN_LOCK  Lock 
)

◆ ExInterlockedAddUlong()

NTKERNELAPI ULONG FASTCALL ExInterlockedAddUlong ( _Inout_ PULONG  Addend,
_In_ ULONG  Increment,
_Inout_ _Requires_lock_not_held_ *_Curr_ PKSPIN_LOCK  Lock 
)

◆ ExInterlockedInsertHeadList()

NTKERNELAPI PLIST_ENTRY FASTCALL ExInterlockedInsertHeadList ( _Inout_ PLIST_ENTRY  ListHead,
_Inout_ __drv_aliasesMem PLIST_ENTRY  ListEntry,
_Inout_ _Requires_lock_not_held_ *_Curr_ PKSPIN_LOCK  Lock 
)

◆ ExInterlockedInsertTailList()

NTKERNELAPI PLIST_ENTRY FASTCALL ExInterlockedInsertTailList ( _Inout_ PLIST_ENTRY  ListHead,
_Inout_ __drv_aliasesMem PLIST_ENTRY  ListEntry,
_Inout_ _Requires_lock_not_held_ *_Curr_ PKSPIN_LOCK  Lock 
)

◆ ExInterlockedPopEntryList()

◆ ExInterlockedPushEntryList()

◆ ExInterlockedRemoveHeadList()

NTKERNELAPI PLIST_ENTRY FASTCALL ExInterlockedRemoveHeadList ( _Inout_ PLIST_ENTRY  ListHead,
_Inout_ _Requires_lock_not_held_ *_Curr_ PKSPIN_LOCK  Lock 
)

◆ ExLocalTimeToSystemTime()

NTKERNELAPI VOID NTAPI ExLocalTimeToSystemTime ( _In_ PLARGE_INTEGER  LocalTime,
_Out_ PLARGE_INTEGER  SystemTime 
)

◆ ExpInterlockedFlushSList()

NTKERNELAPI PSLIST_ENTRY ExpInterlockedFlushSList ( _Inout_ PSLIST_HEADER  SListHead)

◆ ExpInterlockedPopEntrySList()

NTKERNELAPI PSLIST_ENTRY ExpInterlockedPopEntrySList ( _Inout_ PSLIST_HEADER  SListHead)

◆ ExpInterlockedPushEntrySList()

NTKERNELAPI PSLIST_ENTRY ExpInterlockedPushEntrySList ( _Inout_ PSLIST_HEADER  SListHead,
_Inout_ __drv_aliasesMem PSLIST_ENTRY  SListEntry 
)

◆ ExQueryDepthSList()

FORCEINLINE USHORT ExQueryDepthSList ( _In_ PSLIST_HEADER  SListHead)

Definition at line 153 of file exfuncs.h.

154 {
155 #ifdef _WIN64
156  return (USHORT)(SListHead->Alignment & 0xffff);
157 #else /* !_WIN64 */
158  return (USHORT)SListHead->Depth;
159 #endif /* _WIN64 */
160 }
unsigned short USHORT
Definition: pedump.c:61

Referenced by __drv_freesMem(), CdRomPrepareUpdateCapabilitiesIrp(), CdRomStartIo(), ExFreePoolWithTag(), ExiFreeToPagedLookasideList(), IoFreeIrp(), IopFreeMiniPacket(), MiAllocatePoolPages(), MiFreePoolPages(), MmCreateKernelStack(), MmDeleteKernelStack(), and ObpFreeCapturedAttributes().

◆ ExReInitializeRundownProtection()

NTKERNELAPI VOID FASTCALL ExReInitializeRundownProtection ( _Inout_ PEX_RUNDOWN_REF  RunRef)

◆ ExReInitializeRundownProtectionCacheAware()

NTKERNELAPI VOID FASTCALL ExReInitializeRundownProtectionCacheAware ( _Inout_ PEX_RUNDOWN_REF_CACHE_AWARE  RunRefCacheAware)

◆ ExReleaseFastMutex()

FastMutex NTKERNELAPI VOID FASTCALL ExReleaseFastMutex ( _Inout_ _Requires_lock_held_ *_Curr_ _Releases_lock_ *_Curr_ PFAST_MUTEX  FastMutex)

◆ ExReleaseRundownProtection()

◆ ExReleaseRundownProtectionCacheAware()

NTKERNELAPI VOID FASTCALL ExReleaseRundownProtectionCacheAware ( _Inout_ PEX_RUNDOWN_REF_CACHE_AWARE  RunRefCacheAware)

◆ ExReleaseRundownProtectionCacheAwareEx()

NTKERNELAPI VOID FASTCALL ExReleaseRundownProtectionCacheAwareEx ( _Inout_ PEX_RUNDOWN_REF_CACHE_AWARE  RunRef,
_In_ ULONG  Count 
)

◆ ExReleaseRundownProtectionEx()

NTKERNELAPI VOID FASTCALL ExReleaseRundownProtectionEx ( _Inout_ PEX_RUNDOWN_REF  RunRef,
_In_ ULONG  Count 
)

◆ ExRundownCompleted()

NTKERNELAPI VOID FASTCALL ExRundownCompleted ( _Out_ PEX_RUNDOWN_REF  RunRef)

Referenced by ObKillProcess().

◆ ExRundownCompletedCacheAware()

NTKERNELAPI VOID FASTCALL ExRundownCompletedCacheAware ( _Inout_ PEX_RUNDOWN_REF_CACHE_AWARE  RunRefCacheAware)

◆ ExSystemTimeToLocalTime()

NTKERNELAPI VOID NTAPI ExSystemTimeToLocalTime ( _In_ PLARGE_INTEGER  SystemTime,
_Out_ PLARGE_INTEGER  LocalTime 
)

◆ ExTryToAcquireFastMutex()

_Must_inspect_result_ FastMutex NTKERNELAPI BOOLEAN FASTCALL ExTryToAcquireFastMutex ( _Inout_ _Requires_lock_not_held_ *_Curr_ _Acquires_lock_ *_Curr_ PFAST_MUTEX  FastMutex)

◆ ExVerifySuite()

NTKERNELAPI BOOLEAN NTAPI ExVerifySuite ( __drv_strictTypeMatch(__drv_typeExpr) _In_ SUITE_TYPE  SuiteType)

◆ ExWaitForRundownProtectionRelease()

NTKERNELAPI VOID FASTCALL ExWaitForRundownProtectionRelease ( _Inout_ PEX_RUNDOWN_REF  RunRef)

◆ ExWaitForRundownProtectionReleaseCacheAware()

NTKERNELAPI VOID FASTCALL ExWaitForRundownProtectionReleaseCacheAware ( IN OUT PEX_RUNDOWN_REF_CACHE_AWARE  RunRef)

◆ if()

if ( ExQueryDepthSList &->.ListHead >=Lookaside->L.  Depth)

Definition at line 239 of file exfuncs.h.

239  {
240  Lookaside->L.FreeMisses++;
241  (Lookaside->L.Free)(Entry);
242  } else {
_Inout_ PVOID Lookaside
Definition: fltkernel.h:2532
base of all file and directory entries
Definition: entries.h:82

Referenced by $endif().

Variable Documentation

◆ Allocate

◆ AllowMultipleCallbacks

_In_ POBJECT_ATTRIBUTES _In_ BOOLEAN _In_ BOOLEAN AllowMultipleCallbacks

Definition at line 590 of file exfuncs.h.

Referenced by ExCreateCallback().

◆ Argument1

_In_opt_ PVOID Argument1

Definition at line 801 of file exfuncs.h.

◆ Argument2

Definition at line 801 of file exfuncs.h.

◆ CallbackContext

Definition at line 826 of file exfuncs.h.

◆ CallbackFunction

◆ Count

Definition at line 1015 of file exfuncs.h.

Referenced by $if(), __inbytestring(), __indwordstring(), __inwordstring(), __movsb(), __movsd(), __movsw(), __outbytestring(), __outdwordstring(), __outwordstring(), __RtlImageRvaToSection(), __stosb(), __stosd(), __stosw(), ATL::CRegKey::_DoDeleteKeyTree(), _Success_(), _tmain(), A_SHAFinal(), ACPIEnumerateDevices(), AcpiExConvertToInteger(), AcpiExIntegerToString(), AcpiNsCheckPackage(), AcpiNsCheckPackageList(), AcpiNsConvertToBuffer(), AcpiNsCustomPackage(), AcpiNsRemoveElement(), AcpiNsRemoveNullElements(), AcpiNsSortList(), AcpiRsConvertAmlToResource(), AcpiRsConvertResourceToAml(), AcpiRsDumpDescriptor(), AcpiRsDumpIrqList(), AcpiRsDumpResourceList(), AcpiRsEncodeBitmask(), AcpiUtBoundStringLength(), AcpiUtCheckAndRepairAscii(), AcpiUtCreatePackageObject(), AcpiUtDebugDumpBuffer(), AcpiUtDumpBuffer(), AcpiUtExecute_CID(), AcpiUtExecute_CLS(), AcpiUtShortShiftLeft(), AcpiUtShortShiftRight(), AcquireReadLock(), AddDlg_OnInitDialog(), AddNewKbLayoutsByLcid(), AdjustBrightness(), AdjustContrast(), AfdEventReceiveDatagramHandler(), AllocateInterfaceDescriptorsArray(), ArcOpen(), ArcRead(), ARRAY_EnsureSize(), AtapiStringCmp(), AtapiSuckPortBuffer2(), AtapiZeroMemory(), AVrfpCountThunks(), BackupBootSector(), BiConvertBcdElements(), BiosMiscService(), BITMAP_GetObject(), BlGetBootOptionGuidList(), BlpGetBootOptionIntegerList(), BlpTimeMeasureTscFrequency(), BlTblFindEntry(), BlTblMap(), BlTblSetEntry(), BmGetBootSequence(), BmLaunchRecoverySequence(), BmpGetDefaultBootEntry(), BmpGetSelectedBootEntry(), Bus_PDO_EvalMethod(), CaptureGateOnWorkItem(), CcCopyWrite(), CcpCountCacheSections(), CcRosFreeUnusedVacb(), CcWriteBehind(), CdCleanupFileContext(), CdIs8dot3Name(), ChanMgrIsFull(), CheckBuffer(), CheckPattern(), ChecksumCompute(), CheckVolume(), CmBattOpenClose(), CmpAddValueToList(), CmpCompareInIndex(), CmpDoFindSubKeyByNumber(), CmpRemoveSubKey(), CmpRemoveValueFromList(), CmSetValueKey(), ConvertCoffs(), ConvertLargeMCBToDataRuns(), ConvertStabs(), CopyPacketToBufferChain(), CountBTreeKeys(), CountHandlers(), CountInterfaces(), CredEnumerateA(), CredEnumerateW(), CsrCaptureMessageMultiUnicodeStringsInPlace(), ddraw_surface7_BltBatch(), DECLARE_INTERFACE_(), DGReceiveComplete(), DIB_16BPP_HLine(), DIB_24BPP_ColorFill(), DIB_24BPP_HLine(), disk_read(), DiskRead(), DispDataRequestComplete(), DisplayBlackAndWhite(), DisplayBlur(), DisplayInvertedColors(), DisplayPendingOps(), DisplaySharpness(), DnsAddrArray_Create(), DoExport(), DoHelpCommand(), DoLAYOUT(), DosFindDeviceDescriptor(), DosFindFreeDescriptor(), DosFindWin32Descriptor(), DosReadFile(), DosWriteFile(), DumpAllRuns(), CUSBRequest::DumpEndpointDescriptor(), EditDlg_OnInitDialog(), EmulatorReadIo(), EmulatorWriteIo(), EngQueryPerformanceCounter(), EnumDeviceDrivers(), EnumProcesses(), EnumProcessModules(), EnumPropsA(), EnumPropsExA(), EnumPropsExW(), EnumPropsW(), ExAllocateCacheAwareRundownProtection(), ExCompareExchangeCallBack(), ExfAcquireRundownProtectionCacheAwareEx(), ExfAcquireRundownProtectionEx(), ExfReleaseRundownProtectionCacheAwareEx(), ExfReleaseRundownProtectionEx(), ExfWaitForRundownProtectionRelease(), ExInitializeRundownProtectionCacheAware(), ExIsResourceAcquiredSharedLite(), ExpInitializeExecutive(), ExpLoadBootSymbols(), ExReferenceCallBackBlock(), ExReleaseResourceForThreadLite(), Ext2ExpandExtent(), Ext2FreeBlock(), Ext2GetBlock(), Ext2Mount(), Ext2NewBlock(), Ext2Read(), FAST486_OPCODE_HANDLER(), Fast486RotateOperation(), FatFlushFatEntries(), FatMount(), FatRead(), FatReadVolumeSectors(), FFSGetFullFileName(), FFSReadWriteBlocks(), FFSZeroHoles(), FillPolygon(), FindCheckItem(), FindDeviceDriver(), FindMatchingCreateItem(), FindModule(), FltpDetachFromFileSystemDevice(), FltRegisterFilter(), CMainWindow::FreeInstalledAppList(), FsRtlLookupBaseMcbEntry(), FsRtlNumberOfRunsInBaseMcb(), FstubAdjustPartitionCount(), ftGdiGetKerningPairs(), GetFileSystemByName(), GetFontFamilyInfoForList(), GetLayoutCount(), GetLogicalPartitionCount(), GetPackageSize(), GetPrimaryPartitionCount(), GetSysAudioDeviceCount(), GetTextboxText(), gl_render_vb(), GreExtTextOutW(), GreGetKerningPairs(), GreGetTextExtentExW(), GspGetPacket(), GspHex2Mem(), GspMem2Hex(), GspPutPacket(), GspPutPacketNoWait(), GspWriteMem(), HalCalibratePerformanceCounter(), HaliReadMPConfigTable(), HalpQueryAcpiResourceRequirements(), HalpReportResourceUsage(), HalReadDmaCounter(), HDA_SendVerbs(), HDA_TransferCodecVerbs(), HidParser_GetCollectionCount(), HTMLTxtRange_move(), HTMLTxtRange_moveEnd(), HTMLTxtRange_moveStart(), IKsFilter_fnRemoveProcessPin(), ILGetConnection(), implicit_handle(), InbvDriverInitialize(), InfOpenFile(), InfoTdiQueryListEntities(), IniFileInitialize(), CEnumIDList::Initialize(), CLanStatus::InitializeNetTaskbarNotifications(), InitOperatingSystemList(), InitPaletteWithTable(), IntCreateCompatibleBitmap(), IntExtTextOutW(), IntFillPolygon(), IntGdiGetFontResourceInfo(), IntGdiPolyBezier(), IntGdiPolyBezierTo(), IntGdiPolygon(), IntGdiPolyline(), IntGdiPolylineTo(), IntGdiPolyPolygon(), IntGdiPolyPolyline(), IntGetFontLocalizedName(), IntMultiByteToWideCharCP(), IntMultiByteToWideCharSYMBOL(), IntMultiByteToWideCharUTF8(), IntPolygon(), IntWideCharToMultiByteSYMBOL(), IoConnectInterrupt(), IopSetServiceEnumData(), IOReadStrB(), IOReadStrD(), IOReadStrW(), IOWriteStrB(), IOWriteStrD(), IOWriteStrW(), IsoBufferDirectory(), IsoLookupFile(), IsoMount(), IsoRead(), IterateStabs(), KdbpCmdDisassembleX(), KdbpCmdStep(), KdbpSymFindModule(), KdbpSymSearchModuleList(), KdRosDumpStackFrames(), KeAddSystemServiceTable(), KeInitializeQueue(), KeInitializeSemaphore(), KeIpiGenericCall(), KePrintInterruptStatistic(), KeWaitForMultipleObjects(), KiScanReadyQueues(), KiSystemCallHandler(), KmtFilterRegisterCallbacks(), KsAllocateExtraData(), KsFilterAddTopologyConnections(), KsFilterCreatePinFactory(), KspCopyEventSets(), KspCopyMethodSets(), KspCopyPropertySets(), KspCountEventSets(), KspCountMethodSets(), KspCountPropertySets(), KspPinPropertyHandler(), KspQueryBusRelations(), KspValidateConnectRequest(), LdrEnumResources(), LdrProcessRelocationBlock(), LdrProcessRelocationBlockLongLong(), LdrpRunInitializeRoutines(), LdrRelocateImageWithBias(), LoadSetupData(), LockBuffers(), LsaLookupNames(), LsaLookupNames2(), LsaLookupSids(), LsapLookupAccountNames(), LsapLookupBuiltinNames(), LsapLookupFullyQualifiedWellKnownNames(), LsapLookupIsolatedAccountNames(), LsapLookupIsolatedBuiltinNames(), LsapLookupIsolatedNames(), LsapLookupNames(), LsapSplitNames(), LsarLookupNames(), LsarLookupNames2(), LsarLookupNames3(), LsarLookupNames4(), LV_AddItems(), main(), MainWnd_OnUpdateRegistry(), MainWndDropFiles(), MakePattern(), memcmp(), memcpy(), MemFastMoveMemory(), memmove(), memset(), MiBuildPfnDatabaseFromPages(), MiProcessValidPteList(), MiRemoveFromSystemSpace(), MmCommitSessionMappedView(), MmCreateProcessAddressSpace(), MMixerAddMixerControlsToMixerLineByNodeIndexArray(), MMixerAddPinConnection(), MMixerAddPinToPinConnection(), MMixerApplyOutputFilterHack(), MMixerCountMixerControls(), MMixerGetNodeType(), MMixerHandleNodeToNodeConnection(), MMixerInitialize(), MmMdCopyList(), MmMdCountList(), MpsTimerHandler(), NdisCopyFromPacketToPacket(), NdisCopyFromPacketToPacketSafe(), NdisQueryPacket(), NetUserGetLocalGroups(), NICReadDataAlign(), NICWriteDataAlign(), NLS_RecordsCountForDBCSTable(), NLS_RecordsCountForGlyphTable(), NLS_RecordsCountForMBTable(), NLS_RecordsCountForUnicodeTable(), NpCompareAliasNames(), NtCreatePagingFile(), NtfsDiskRead(), NtfsMount(), NtfsRead(), NtGdiExtCreateRegion(), NtGdiExtTextOutW(), NtGdiGetCharABCWidthsW(), NtGdiGetCharWidthW(), NtGdiGetKerningPairs(), NtGdiGetTextExtentExW(), NtGdiGetTextFaceW(), NtGdiPolyPolyDraw(), NtGdiTransformPoints(), NtQueryDirectoryObject(), NtUserBuildPropList(), ObDeassignSecurity(), ObDereferenceObjectEx(), ObDereferenceSecurityDescriptor(), ObFastReferenceObject(), ObFastReplaceObject(), ObpReferenceSecurityDescriptor(), ObReferenceObjectEx(), ObReferenceSecurityDescriptor(), ObSetSecurityDescriptorInfo(), CEditCompatModes::OnButton(), OnSelChange(), OnSet(), otv_u_C_x_Ox(), otv_u_x_y_Ox_sy(), otv_x_Ox(), otv_x_sxy(), otv_x_ux(), otv_x_ux_y_uy_z_uz_p_sp(), PciAllocateCmResourceList(), PciAllocateIoRequirementsList(), PciDebugPrintCmResList(), PciDebugPrintIoResReqList(), PciQueryResources(), PiInitCacheGroupInformation(), PipGetDriverTagPriority(), PitClock(), PitDecrementCount(), PnpRegMultiSzToUnicodeStrings(), Polygon(), POLYGONFILL_MakeEdgeList(), PortInsB(), PortInsW(), PortOutsB(), PortOutsW(), PreserveRow(), PrintAllVCNs(), PrintHelpMessage(), ProcessHasDescendants(), PxeRead(), CRecycleBinItemContextMenu::QueryContextMenu(), QueryHKCRValue(), QueryPerformanceFrequency(), RamDiskLoadVirtualFile(), RamdiskQueryDeviceRelations(), RamDiskRead(), Read8254Timer(), READ_PORT_BUFFER_UCHAR(), READ_PORT_BUFFER_ULONG(), READ_PORT_BUFFER_USHORT(), REGION_CreateETandAET(), ReleaseReadLock(), RfsdGetFullFileName(), RfsdReadWriteBlocks(), RfsdZeroHoles(), RtlCopyLuidAndAttributesArray(), RtlCopySidAndAttributesArray(), RtlFillMemoryUlong(), RtlImageRvaToSection(), RtlInterlockedPushListSList(), RtlLengthSidAndAttributes(), RtlpRemoveHeapFromProcessList(), RtlWalkFrameChain(), SaBlob_Create(), SaBlob_CreateFromIp4(), SamLookupIdsInDomain(), SamLookupNamesInDomain(), SampGetMembersInAlias(), SampGetNumberOfAccounts(), SamrLookupIdsInDomain(), SamrLookupNamesInDomain(), SaveFontSubstitutionSettings(), ScServiceDispatcher(), ScsiPortInitialize(), ScsiPortReadPortBufferUchar(), ScsiPortReadPortBufferUlong(), ScsiPortReadPortBufferUshort(), ScsiPortReadRegisterBufferUchar(), ScsiPortReadRegisterBufferUlong(), ScsiPortReadRegisterBufferUshort(), ScsiPortWritePortBufferUchar(), ScsiPortWritePortBufferUlong(), ScsiPortWritePortBufferUshort(), ScsiPortWriteRegisterBufferUchar(), ScsiPortWriteRegisterBufferUlong(), ScsiPortWriteRegisterBufferUshort(), SearchForLegacyDrivers(), SerenumDetectLegacyDevice(), SermouseDetectLegacyDevice(), SetParameters(), shade_vertices(), CNetConnectionPropertyUi::ShowNetworkComponentProperties(), CHString::SpanExcluding(), CHString::SpanIncluding(), SpiParseDeviceInfo(), StartApplication(), StorPortReadPortBufferUchar(), StorPortReadPortBufferUlong(), StorPortReadPortBufferUshort(), StorPortReadRegisterBufferUchar(), StorPortReadRegisterBufferUlong(), StorPortReadRegisterBufferUshort(), StorPortWritePortBufferUchar(), StorPortWritePortBufferUlong(), StorPortWritePortBufferUshort(), StorPortWriteRegisterBufferUchar(), StorPortWriteRegisterBufferUlong(), StorPortWriteRegisterBufferUshort(), strncat(), strncmp(), strncpy(), test_ExpectFolders_imp(), test_pack_RPC_BINDING_VECTOR(), test_pack_UUID_VECTOR(), TestResourceExclusiveAccess(), TestResourceSharedAccess(), TestResourceUndocumentedShortcuts(), TextIntGetTextExtentPoint(), TuiProcessMenuKeyboardEvent(), UDFIndexDirectory(), CUSBQueue::UnlinkQueueHeadChain(), UnlockBuffers(), USBCCGP_CountAssociationDescriptors(), USBCCGP_GetAssociationDescriptorAtIndex(), USBCCGP_InitInterfaceListOfFunctionDescriptor(), USBPORT_RH_SetFeatureUSB2PortPower(), VfatWriteFileData(), VfdReinitialize(), VgaInterpretCmdStream(), VideoPortDDCMonitorHelper(), WahInsertHandleContext(), WahReferenceContextByHandle(), wmain(), write_path_data(), WRITE_PORT_BUFFER_UCHAR(), WRITE_PORT_BUFFER_ULONG(), WRITE_PORT_BUFFER_USHORT(), WriteLineSettings(), XboxDiskReadLogicalSectors(), xHalpGetRDiskCount(), and COpenWithMenu::~COpenWithMenu().

◆ Create

Definition at line 590 of file exfuncs.h.

◆ Depth

◆ else

else
Initial value:
{
_Inout_ PVOID Lookaside
Definition: fltkernel.h:2532
#define PSLIST_ENTRY
Definition: rtltypes.h:130
NTKERNELAPI PSLIST_ENTRY FASTCALL InterlockedPushEntrySList(IN PSLIST_HEADER ListHead, IN PSLIST_ENTRY ListEntry)
Definition: interlocked.c:82
base of all file and directory entries
Definition: entries.h:82

Definition at line 242 of file exfuncs.h.

◆ Entry

Initial value:
{
Lookaside->L.TotalFrees++
_Inout_ PVOID Lookaside
Definition: fltkernel.h:2532

Definition at line 229 of file exfuncs.h.

Referenced by __drv_allocatesMem(), and _IRQL_requires_max_().

◆ Flags

Definition at line 656 of file exfuncs.h.

◆ Free

_In_opt_ PALLOCATE_FUNCTION_EX _In_opt_ PFREE_FUNCTION_EX Free

Definition at line 656 of file exfuncs.h.

Referenced by CHeapPtr< T, CComAllocator >::Attach(), COMBOEX_Destroy(), COMBOEX_FreeText(), COMBOEX_GetText(), COMBOEX_InsertItemA(), COMBOEX_InsertItemW(), COMBOEX_NotifyItem(), COMBOEX_ResetContent(), COMBOEX_SetItemA(), COMBOEX_WM_DeleteItem(), COMCTL32_SubclassProc(), create_taskdialog_template(), DATETIME_Destroy(), DATETIME_SetFormatA(), DestroyPropertySheetPage(), DragList_SubclassWindowProc(), DrawStatusTextA(), DSA_DeleteAllItems(), DSA_Destroy(), ElfCreateFile(), ExInitializeNPagedLookasideList(), ExInitializePagedLookasideList(), ExpFreeHandleTableEntry(), Ext2StartReaper(), CHeapPtr< T, CComAllocator >::Free(), GROUP_AddGroup(), GROUP_DeleteGroup(), HvFreeCell(), HvInitialize(), InitFunctionPtrs(), KsAddItemToObjectBag(), KsRemoveItemFromObjectBag(), LISTVIEW_DeleteAllItems(), LISTVIEW_DeleteColumn(), LISTVIEW_DeleteItem(), LISTVIEW_EndEditLabelT(), LISTVIEW_InsertColumnT(), LISTVIEW_InsertItemT(), LISTVIEW_NCCreate(), LISTVIEW_NCDestroy(), NATIVEFONT_Destroy(), notify_dispinfoT(), notify_forward_header(), PROGRAM_AddProgram(), PROGRAM_DeleteProgram(), PROPSHEET_CleanUp(), PROPSHEET_CreateDialog(), PROPSHEET_CreatePage(), PROPSHEET_InsertPage(), PROPSHEET_RemovePage(), PROPSHEET_SetHeaderSubTitleA(), PROPSHEET_SetHeaderSubTitleW(), PROPSHEET_SetHeaderTitleA(), PROPSHEET_SetHeaderTitleW(), PROPSHEET_SetTitleW(), ranges_add(), ranges_clear(), ranges_clone(), ranges_create(), ranges_del(), ranges_destroy(), REBAR_DeleteBand(), REBAR_Destroy(), REBAR_InsertBandT(), REBAR_SetBandInfoT(), RemoveWindowSubclass(), set_string_index(), set_sub_item(), SetWindowSubclass(), STATUSBAR_SetParts(), STATUSBAR_SetTextT(), STATUSBAR_WMDestroy(), STATUSBAR_WMSetText(), Str_SetPtrA(), Str_SetPtrW(), SYSLINK_FreeDocItem(), SYSLINK_Render(), SYSLINK_SetItem(), SysLinkWindowProc(), TAB_DeleteItem(), TAB_Destroy(), TAB_InsertItemT(), TAB_SetItemT(), taskdialog_add_buttons(), taskdialog_clear_controls(), TaskDialogIndirect(), Test_GetAvailableVidMem(), textfreeT(), textsetptrT(), TOOLBAR_Cust_RemoveButton(), TOOLBAR_CustomizeDialogProc(), TOOLBAR_DeleteAllButtons(), TOOLBAR_DeleteButton(), TOOLBAR_DeleteImageList(), TOOLBAR_Destroy(), TOOLBAR_InsertImageList(), TOOLBAR_Restore(), TOOLBAR_Save(), TOOLBAR_SaveRestoreA(), TOOLBAR_TTGetDispInfo(), TOOLTIPS_AddToolT(), TOOLTIPS_DelToolT(), TOOLTIPS_Destroy(), TOOLTIPS_SetTitleT(), TOOLTIPS_SetToolInfoT(), TOOLTIPS_UpdateTipTextT(), TRACKBAR_ClearTics(), TRACKBAR_Destroy(), TRACKBAR_RecalculateTics(), and ValidateEditContents().

◆ List

Definition at line 1015 of file exfuncs.h.

◆ ListEnd

◆ Lock

Definition at line 913 of file exfuncs.h.

◆ NumberOfBytes

Definition at line 490 of file exfuncs.h.

◆ ObjectAttributes

_In_ POBJECT_ATTRIBUTES ObjectAttributes

Definition at line 590 of file exfuncs.h.

◆ OwnerPointer

_In_ PVOID OwnerPointer

Definition at line 862 of file exfuncs.h.

Referenced by CcSetBcbOwnerPointer(), and ExSetResourceOwnerPointer().

◆ PoolTag

Definition at line 1053 of file exfuncs.h.

◆ PoolType

_In_opt_ PALLOCATE_FUNCTION_EX _In_opt_ PFREE_FUNCTION_EX _In_ POOL_TYPE PoolType

Definition at line 1170 of file exfuncs.h.

◆ QuotaCharged

_Out_ PBOOLEAN QuotaCharged

Definition at line 945 of file exfuncs.h.

◆ Resource

_Acquires_lock_ _Curr_ PERESOURCE Resource

Definition at line 440 of file exfuncs.h.

◆ ResourceThreadId

_In_ ERESOURCE_THREAD ResourceThreadId

Definition at line 844 of file exfuncs.h.

Referenced by __RxReleaseFcbForThread(), CcUnpinDataForThread(), and main().

◆ RunRefSize

◆ Segment

_Inout_ PVOID Segment

Definition at line 893 of file exfuncs.h.

Referenced by _MiFlushMappedSection(), _MiMapViewOfSegment(), _MmGetPageEntrySectionSegment(), _MmLockSectionSegment(), _MmSetPageEntrySectionSegment(), _MmUnlockSectionSegment(), Call16(), COMMAND_PROTOTYPE(), CpuExecute(), DbgDumpPage(), DosAllocateMemory(), DosChangeMemoryOwner(), DosCreateDeviceEx(), DosCreatePsp(), DosGetPreviousUmb(), DosInitPsp(), DosInt21h(), DosLinkUmb(), DosLoadDriver(), DosLoadExecutableInternal(), DosResizeHandleTable(), DosResizeMemory(), DosSetProcessContext(), DosUnlinkUmb(), EmsDrvInitialize(), ExExtendZone(), ExInterlockedExtendZone(), FAST486_OPCODE_HANDLER(), Fast486ExecuteAt(), Fast486FpuLoadEnvironment(), Fast486FpuSaveEnvironment(), Fast486SetSegment(), Fast486SetStack(), FindHookableMemory(), GetLinearAddress(), InitializeContext(), InitializeContextEx(), MI_MAKE_SUBSECTION_PTE(), MiCacheEvictPages(), MiCowCacheSectionPage(), MiCreateDataFileMap(), MiCreatePagingFileMap(), MiFreeSegmentPage(), MiInitializeSectionPageTable(), MiMapViewOfDataSection(), MiRosTrimCache(), MiRosUnmapViewOfSection(), MiSegmentDelete(), MmAccessFaultSectionView(), MmAlterViewAttributes(), MmCanFileBeTruncated(), MmCommitSessionMappedView(), MmCreateArm3Section(), MmCreateCacheSection(), MmCreateDataFileSection(), MmCreatePageFileSection(), MmExtendCacheSection(), MmFinalizeSectionPageOut(), MmFinalizeSegment(), MmFlushImageSection(), MmFreeCacheSectionPage(), MmFreePageTablesSectionSegment(), MmFreeSectionPage(), MmFreeSectionSegments(), MmGetSectionAssociation(), MmMapCacheViewInSystemSpaceAtOffset(), MmMapViewOfSegment(), MmNotPresentFaultCachePage(), MmNotPresentFaultSectionView(), MmPageOutCacheSection(), MmpDeleteSection(), MmpFreePageFileSegment(), MmpPageOutPhysicalAddress(), MmQuerySectionView(), MmSetSectionAssociation(), MmSharePageEntrySectionSegment(), MmspPageAlignSegments(), MmUnmapViewOfCacheSegment(), MmUnmapViewOfSegment(), MmUnsharePageEntrySectionSegment(), MmWithdrawSectionPage(), MmWritePageSectionView(), NtCreateProfile(), RtlDestroyHeap(), RtlpCreateUnCommittedRange(), RtlpDeCommitFreeBlock(), RtlpDestroyHeapSegment(), RtlpDestroyUnCommittedRange(), RtlpExtendHeap(), RtlpFindAndCommitPages(), RtlpInitializeHeapSegment(), RtlpInsertFreeBlock(), RtlpInsertUnCommittedPages(), RtlpValidateHeap(), RtlpValidateHeapEntry(), RtlpValidateHeapSegment(), UmaDescReallocate(), UmaDescRelease(), UmaDescReserve(), VdmMapFlat(), x86BiosAllocateBuffer(), x86BiosFreeBuffer(), x86BiosReadMemory(), x86BiosWriteMemory(), and XmsBopProcedure().

◆ SegmentSize

_Inout_ PVOID _In_ ULONG SegmentSize

Definition at line 893 of file exfuncs.h.

Referenced by ExExtendZone(), ExInterlockedExtendZone(), and RtlDosSearchPath_Ustr().

◆ SetResolution

_In_ BOOLEAN SetResolution

Definition at line 870 of file exfuncs.h.

Referenced by DECLARE_INTERFACE_(), ExSetTimerResolution(), and NtSetTimerResolution().

◆ Size

_In_opt_ PALLOCATE_FUNCTION_EX _In_opt_ PFREE_FUNCTION_EX _In_ POOL_TYPE _In_ ULONG _In_ SIZE_T Size

Definition at line 656 of file exfuncs.h.

◆ Tag

_In_opt_ PALLOCATE_FUNCTION_EX _In_opt_ PFREE_FUNCTION_EX _In_ POOL_TYPE _In_ ULONG _In_ SIZE_T _In_ ULONG Tag

Definition at line 526 of file exfuncs.h.

◆ Wait

Definition at line 429 of file exfuncs.h.