#include "msfs.h"
#include <debug.h>
Go to the source code of this file.
|
VOID NTAPI | MsfsInsertIrp (PIO_CSQ Csq, PIRP Irp) |
|
VOID NTAPI | MsfsRemoveIrp (PIO_CSQ Csq, PIRP Irp) |
|
PIRP NTAPI | MsfsPeekNextIrp (PIO_CSQ Csq, PIRP Irp, PVOID PeekContext) |
|
VOID NTAPI | MsfsAcquireLock (PIO_CSQ Csq, PKIRQL Irql) |
|
VOID NTAPI | MsfsReleaseLock (PIO_CSQ Csq, KIRQL Irql) |
|
VOID NTAPI | MsfsCompleteCanceledIrp (PIO_CSQ Csq, PIRP Irp) |
|
VOID NTAPI | MsfsTimeout (PKDPC Dpc, PVOID DeferredContext, PVOID SystemArgument1, PVOID SystemArgument2) |
|
◆ NDEBUG
◆ MsfsAcquireLock()
Definition at line 80 of file msfssup.c.
81{
83
86}
#define KeAcquireSpinLock(sl, irql)
#define CONTAINING_RECORD(address, type, field)
◆ MsfsCompleteCanceledIrp()
Definition at line 99 of file msfssup.c.
100{
101
103
105 Irp->IoStatus.Information = 0;
107}
#define UNREFERENCED_PARAMETER(P)
#define IoCompleteRequest
◆ MsfsInsertIrp()
Definition at line 18 of file msfssup.c.
19{
21
24}
#define InsertTailList(ListHead, Entry)
◆ MsfsPeekNextIrp()
Definition at line 35 of file msfssup.c.
36{
41
43
44 ListHead = &
Fcb->PendingIrpQueue;
45
47 {
48 NextEntry = ListHead->
Flink;
49 }
50 else
51 {
52 NextEntry =
Irp->Tail.Overlay.ListEntry.
Flink;
53 }
54
55 for (; NextEntry != ListHead; NextEntry = NextEntry->
Flink)
56 {
58
60
62 {
64 {
65 break;
66 }
67 }
68 else
69 {
70 break;
71 }
72
74 }
75
76 return NextIrp;
77}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
_In_opt_ PIRP _In_opt_ PVOID PeekContext
struct _LIST_ENTRY * Flink
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
◆ MsfsReleaseLock()
Definition at line 90 of file msfssup.c.
91{
93
96}
#define KeReleaseSpinLock(sl, irql)
◆ MsfsRemoveIrp()
Definition at line 27 of file msfssup.c.
28{
30
32}
#define RemoveEntryList(Entry)
◆ MsfsTimeout()
Definition at line 110 of file msfssup.c.
114{
117
119
120
123 {
124
128 }
129 else
130 {
131
133 }
134}
NTKERNELAPI PIRP NTAPI IoCsqRemoveIrp(_Inout_ PIO_CSQ Csq, _Inout_ PIO_CSQ_IRP_CONTEXT Context)
Remove anb IRP from the queue.
#define KeSetEvent(pEvt, foo, foo2)
#define ExFreePoolWithTag(_P, _T)
struct _MSFS_DPC_CTX * PMSFS_DPC_CTX
#define STATUS_IO_TIMEOUT
_In_opt_ PVOID DeferredContext