ReactOS  0.4.15-dev-492-ga1108f6
rxworkq.h
Go to the documentation of this file.
1 #ifndef _RXWORKQ_H_
2 #define _RXWORKQ_H_
3 
4 typedef
5 VOID
8 
9 typedef struct _RX_WORK_QUEUE_ITEM_
10 {
14 
16 {
21 
23 {
28 
30 {
35 
36 typedef struct _RX_WORK_QUEUE_
37 {
59 
61 {
64 
66 {
70 
71 typedef struct _RX_DISPATCHER_
72 {
82 
84 NTAPI
86  _In_ PRDBSS_DEVICE_OBJECT pMRxDeviceObject,
87  _In_ WORK_QUEUE_TYPE WorkQueueType,
88  _In_ PRX_WORK_QUEUE_ITEM pWorkQueueItem,
90  _In_ PVOID pContext);
91 
93 NTAPI
95  _In_ PRDBSS_DEVICE_OBJECT pMRxDeviceObject,
96  _In_ WORK_QUEUE_TYPE WorkQueueType,
98  _In_ PVOID pContext);
99 
100 NTSTATUS
101 NTAPI
103  VOID);
104 
105 NTSTATUS
107  _Inout_ PRDBSS_DEVICE_OBJECT pMRxDeviceObject);
108 
109 #endif
LONG CumulativeQueueLength
Definition: rxworkq.h:45
KEVENT SpinUpRequestsTearDownEvent
Definition: rxworkq.h:80
struct _RX_WORK_QUEUE_ RX_WORK_QUEUE
NTSTATUS RxInitializeMRxDispatcher(_Inout_ PRDBSS_DEVICE_OBJECT pMRxDeviceObject)
struct _RX_WORK_QUEUE_ * PRX_WORK_QUEUE
#define RxMaximumWorkQueue
Definition: rxtypes.h:6
enum _RX_DISPATCHER_STATE_ * PRX_DISPATCHER_STATE
volatile LONG NumberOfWorkItemsDispatched
Definition: rxworkq.h:43
LONG NumberOfProcessors
Definition: rxworkq.h:73
LONG MinimumNumberOfWorkerThreads
Definition: rxworkq.h:48
enum _RX_DISPATCHER_STATE_ RX_DISPATCHER_STATE
LONG NTSTATUS
Definition: precomp.h:26
_RX_WORK_QUEUE_STATE_
Definition: rxworkq.h:22
enum _RX_WORK_QUEUE_STATE_ * PRX_WORK_QUEUE_STATE
RX_WORK_QUEUE_ITEM WorkQueueItemForSpinUpWorkerThread
Definition: rxworkq.h:54
PRDBSS_DEVICE_OBJECT pDeviceObject
Definition: rxworkq.h:12
KSPIN_LOCK SpinLock
Definition: rxworkq.h:41
VOID(NTAPI * PRX_WORKERTHREAD_ROUTINE)(_In_ PVOID Context)
Definition: rxworkq.h:6
struct _RX_WORK_QUEUE_ITEM_ RX_WORK_QUEUE_ITEM
struct _RX_WORK_QUEUE_ITEM_ * PRX_WORK_QUEUE_ITEM
struct _RX_WORK_QUEUE_DISPATCHER_ * PRX_WORK_QUEUE_DISPATCHER
struct _RX_WORK_QUEUE_RUNDOWN_CONTEXT_ RX_WORK_QUEUE_RUNDOWN_CONTEXT
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
NTSTATUS NTAPI RxInitializeDispatcher(VOID)
Definition: rxce.c:4688
LONG NumberOfFailedSpinUpRequests
Definition: rxworkq.h:51
long LONG
Definition: pedump.c:60
KQUEUE Queue
Definition: rxworkq.h:56
unsigned char BOOLEAN
PVOID DispatchRoutineParameter
Definition: rxworkq.h:19
RX_WORK_QUEUE_ITEM WorkQueueItemForSpinDownWorkerThread
Definition: rxworkq.h:55
struct _RX_WORK_DISPATCH_ITEM_ RX_WORK_DISPATCH_ITEM
PRX_WORK_QUEUE_RUNDOWN_CONTEXT pRundownContext
Definition: rxworkq.h:42
USHORT State
Definition: rxworkq.h:38
volatile LONG NumberOfWorkItemsToBeDispatched
Definition: rxworkq.h:44
PETHREAD * ThreadPointers
Definition: rxworkq.h:57
struct _RX_DISPATCHER_ RX_DISPATCHER
NTSTATUS NTAPI RxDispatchToWorkerThread(_In_ PRDBSS_DEVICE_OBJECT pMRxDeviceObject, _In_ WORK_QUEUE_TYPE WorkQueueType, _In_ PRX_WORKERTHREAD_ROUTINE Routine, _In_ PVOID pContext)
LONG MaximumNumberOfWorkerThreads
Definition: rxworkq.h:47
LIST_ENTRY SpinUpRequests
Definition: rxworkq.h:77
PRX_WORK_QUEUE_DISPATCHER pWorkQueueDispatcher
Definition: rxworkq.h:75
#define _Inout_
Definition: no_sal2.h:244
enum _WORK_QUEUE_TYPE WORK_QUEUE_TYPE
unsigned char UCHAR
Definition: xmlstorage.h:181
struct _RX_WORK_DISPATCH_ITEM_ * PRX_WORK_DISPATCH_ITEM
#define VOID
Definition: acefi.h:82
volatile LONG WorkQueueItemForSpinUpWorkerThreadInUse
Definition: rxworkq.h:52
Definition: typedefs.h:118
#define _In_
Definition: no_sal2.h:204
KEVENT SpinUpRequestsEvent
Definition: rxworkq.h:79
RX_WORK_QUEUE_ITEM WorkQueueItem
Definition: rxworkq.h:17
UCHAR Type
Definition: rxworkq.h:40
unsigned short USHORT
Definition: pedump.c:61
PRX_WORKERTHREAD_ROUTINE DispatchRoutine
Definition: rxworkq.h:18
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
RX_WORK_QUEUE_ITEM WorkQueueItemForTearDownWorkQueue
Definition: rxworkq.h:53
_RX_DISPATCHER_STATE_
Definition: rxworkq.h:65
struct _RX_DISPATCHER_ * PRX_DISPATCHER
LONG NumberOfSpinUpRequests
Definition: rxworkq.h:46
struct tagContext Context
Definition: acpixf.h:1034
NTSTATUS NTAPI RxPostToWorkerThread(_In_ PRDBSS_DEVICE_OBJECT pMRxDeviceObject, _In_ WORK_QUEUE_TYPE WorkQueueType, _In_ PRX_WORK_QUEUE_ITEM pWorkQueueItem, _In_ PRX_WORKERTHREAD_ROUTINE Routine, _In_ PVOID pContext)
Definition: rxce.c:6400
BOOLEAN SpinUpRequestPending
Definition: rxworkq.h:39
enum _RX_WORK_QUEUE_STATE_ RX_WORK_QUEUE_STATE
volatile LONG NumberOfIdleWorkerThreads
Definition: rxworkq.h:50
struct _RX_WORK_QUEUE_RUNDOWN_CONTEXT_ * PRX_WORK_QUEUE_RUNDOWN_CONTEXT
volatile LONG NumberOfActiveWorkerThreads
Definition: rxworkq.h:49
PEPROCESS OwnerProcess
Definition: rxworkq.h:74
KSPIN_LOCK SpinUpRequestsLock
Definition: rxworkq.h:78
struct _RX_WORK_QUEUE_DISPATCHER_ RX_WORK_QUEUE_DISPATCHER
RX_WORK_QUEUE WorkQueue[RxMaximumWorkQueue]
Definition: rxworkq.h:62
RX_DISPATCHER_STATE State
Definition: rxworkq.h:76