Home
last modified time | relevance | path

Searched refs:IoStackLocation (Results 1 – 25 of 42) sorted by relevance

12

/reactos/drivers/filesystems/ext2/src/
H A Ddebug.c217 PIO_STACK_LOCATION IoStackLocation; in Ext2DbgPrintCall() local
224 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in Ext2DbgPrintCall()
226 FileObject = IoStackLocation->FileObject; in Ext2DbgPrintCall()
249 switch (IoStackLocation->MajorFunction) { in Ext2DbgPrintCall()
297 if (IoStackLocation->MinorFunction & IRP_MN_COMPLETE) { in Ext2DbgPrintCall()
510 IoStackLocation->MinorFunction in Ext2DbgPrintCall()
570 IoStackLocation->MinorFunction in Ext2DbgPrintCall()
589 if (IoStackLocation->MinorFunction & IRP_MN_LOCK) { in Ext2DbgPrintCall()
667 IoStackLocation->MinorFunction in Ext2DbgPrintCall()
717 PIO_STACK_LOCATION IoStackLocation; in Ext2DbgPrintComplete() local
[all …]
H A Dvolinfo.c32 PIO_STACK_LOCATION IoStackLocation = NULL; in Ext2QueryVolumeInformation() local
76 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in Ext2QueryVolumeInformation()
78 IoStackLocation->Parameters.QueryVolume.FsInformationClass; in Ext2QueryVolumeInformation()
80 Length = IoStackLocation->Parameters.QueryVolume.Length; in Ext2QueryVolumeInformation()
298 PIO_STACK_LOCATION IoStackLocation; in Ext2SetVolumeInformation() local
340 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in Ext2SetVolumeInformation()
345 IoStackLocation->Parameters./*SetVolume*/QueryVolume.FsInformationClass; in Ext2SetVolumeInformation()
H A Ddirctl.c535 PIO_STACK_LOCATION IoStackLocation = NULL; in Ext2QueryDirectory() local
633 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in Ext2QueryDirectory()
637 fi = IoStackLocation->Parameters.QueryDirectory.FileInformationClass; in Ext2QueryDirectory()
639 Length = IoStackLocation->Parameters.QueryDirectory.Length; in Ext2QueryDirectory()
643 FileIndex = IoStackLocation->Parameters.QueryDirectory.FileIndex; in Ext2QueryDirectory()
648 IoStackLocation)->Parameters.QueryDirectory.FileInformationClass; in Ext2QueryDirectory()
651 IoStackLocation)->Parameters.QueryDirectory.Length; in Ext2QueryDirectory()
654 IoStackLocation)->Parameters.QueryDirectory.FileName; in Ext2QueryDirectory()
657 IoStackLocation)->Parameters.QueryDirectory.FileIndex; in Ext2QueryDirectory()
662 IoStackLocation)->Flags, SL_RESTART_SCAN); in Ext2QueryDirectory()
[all …]
/reactos/drivers/bus/pcix/
H A Dpdo.c84 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoWaitWake()
98 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoSetPowerState()
112 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoIrpQueryPower()
225 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoIrpQueryRemoveDevice()
239 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoIrpRemoveDevice()
253 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoIrpCancelRemoveDevice()
267 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoIrpStopDevice()
281 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoIrpQueryStopDevice()
295 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoIrpCancelStopDevice()
309 UNREFERENCED_PARAMETER(IoStackLocation); in PciPdoIrpQueryInterface()
[all …]
H A Dfdo.c77 IN PIO_STACK_LOCATION IoStackLocation, in PciFdoIrpStartDevice() argument
129 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoIrpQueryRemoveDevice()
143 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoIrpRemoveDevice()
157 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoIrpCancelRemoveDevice()
167 IN PIO_STACK_LOCATION IoStackLocation, in PciFdoIrpStopDevice() argument
171 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoIrpStopDevice()
185 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoIrpQueryStopDevice()
199 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoIrpCancelStopDevice()
342 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoIrpDeviceUsageNotification()
356 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoIrpSurpriseRemoval()
[all …]
H A Ddispatch.c73 PIO_STACK_LOCATION IoStackLocation; in PciPassIrpFromFdoToPdo() local
78 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in PciPassIrpFromFdoToPdo()
79 if (IoStackLocation->MajorFunction == IRP_MJ_POWER) in PciPassIrpFromFdoToPdo()
103 PIO_STACK_LOCATION IoStackLocation; in PciDispatchIrp() local
115 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in PciDispatchIrp()
132 switch (IoStackLocation->MajorFunction) in PciDispatchIrp()
169 if (IoStackLocation->MinorFunction > MaxMinor) in PciDispatchIrp()
186 if (PciDebugIrpDispatchDisplay(IoStackLocation, in PciDispatchIrp()
262 IN PIO_STACK_LOCATION IoStackLocation, in PciIrpNotSupported() argument
266 UNREFERENCED_PARAMETER(IoStackLocation); in PciIrpNotSupported()
[all …]
H A Dpci.h327 IN PIO_STACK_LOCATION IoStackLocation,
554 IN PIO_STACK_LOCATION IoStackLocation,
576 IN PIO_STACK_LOCATION IoStackLocation,
587 IN PIO_STACK_LOCATION IoStackLocation,
595 IN PIO_STACK_LOCATION IoStackLocation,
603 IN PIO_STACK_LOCATION IoStackLocation,
632 IN PIO_STACK_LOCATION IoStackLocation,
640 IN PIO_STACK_LOCATION IoStackLocation,
648 IN PIO_STACK_LOCATION IoStackLocation,
656 IN PIO_STACK_LOCATION IoStackLocation,
[all …]
H A Ddebug.c124 PciDebugIrpDispatchDisplay(IN PIO_STACK_LOCATION IoStackLocation, in PciDebugIrpDispatchDisplay() argument
134 switch (IoStackLocation->MajorFunction) in PciDebugIrpDispatchDisplay()
141 IrpString = PciDebugPoIrpTypeToText(IoStackLocation->MinorFunction); in PciDebugIrpDispatchDisplay()
149 IrpString = PciDebugPnpIrpTypeToText(IoStackLocation->MinorFunction); in PciDebugIrpDispatchDisplay()
164 if (IoStackLocation->MajorFunction == IRP_MJ_POWER) in PciDebugIrpDispatchDisplay()
168 else if (IoStackLocation->MajorFunction == IRP_MJ_PNP) in PciDebugIrpDispatchDisplay()
184 if (IoStackLocation->MajorFunction == IRP_MJ_POWER) in PciDebugIrpDispatchDisplay()
188 else if (IoStackLocation->MajorFunction == IRP_MJ_PNP) in PciDebugIrpDispatchDisplay()
198 if (IoStackLocation->MinorFunction > MaxMinor) in PciDebugIrpDispatchDisplay()
199 DPRINT1("Unknown IRP, minor = 0x%x\n", IoStackLocation->MinorFunction); in PciDebugIrpDispatchDisplay()
[all …]
H A Dpower.c207 IN PIO_STACK_LOCATION IoStackLocation, in PciFdoWaitWake() argument
211 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoWaitWake()
222 IN PIO_STACK_LOCATION IoStackLocation, in PciFdoSetPowerState() argument
226 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoSetPowerState()
237 IN PIO_STACK_LOCATION IoStackLocation, in PciFdoIrpQueryPower() argument
241 UNREFERENCED_PARAMETER(IoStackLocation); in PciFdoIrpQueryPower()
/reactos/ntoskrnl/io/iomgr/
H A Drawfs.c173 ((IoStackLocation->FileObject)) && in RawCompletionRoutine()
191 IN PIO_STACK_LOCATION IoStackLocation) in RawClose() argument
231 IN PIO_STACK_LOCATION IoStackLocation) in RawCreate() argument
250 if ((!(IoStackLocation->FileObject) || in RawCreate()
352 !(IoStackLocation->Parameters.Read.Length)) in RawReadWriteDeviceControl()
389 DPRINT("RawMountVolume(%p)\n", IoStackLocation); in RawMountVolume()
587 switch (IoStackLocation->MinorFunction) in RawFileSystemControl()
1003 Irp->IoStatus.Information = IoStackLocation-> in RawQueryVolumeInformation()
1014 IN PIO_STACK_LOCATION IoStackLocation) in RawCleanup() argument
1052 PIO_STACK_LOCATION IoStackLocation; in RawDispatch() local
[all …]
/reactos/modules/rostests/kmtests/kernel32/
H A Dkernel32_drv.c124 IN PIO_STACK_LOCATION IoStackLocation) in TestDirectoryControl() argument
130 DPRINT("IRP %x/%x\n", IoStackLocation->MajorFunction, IoStackLocation->MinorFunction); in TestDirectoryControl()
131 ASSERT(IoStackLocation->MajorFunction == IRP_MJ_DIRECTORY_CONTROL); in TestDirectoryControl()
133 …ok(IoStackLocation->MinorFunction == IRP_MN_QUERY_DIRECTORY, "Minor function: %u\n", IoStackLocati… in TestDirectoryControl()
134 if (IoStackLocation->MinorFunction == IRP_MN_QUERY_DIRECTORY) in TestDirectoryControl()
160 IN PIO_STACK_LOCATION IoStackLocation) in TestQueryInformation() argument
167 DPRINT("IRP %x/%x\n", IoStackLocation->MajorFunction, IoStackLocation->MinorFunction); in TestQueryInformation()
168 ASSERT(IoStackLocation->MajorFunction == IRP_MJ_QUERY_INFORMATION); in TestQueryInformation()
200 IN PIO_STACK_LOCATION IoStackLocation) in TestSetInformation() argument
207 DPRINT("IRP %x/%x\n", IoStackLocation->MajorFunction, IoStackLocation->MinorFunction); in TestSetInformation()
[all …]
/reactos/modules/rostests/kmtests/kmtest_drv/
H A Dkmtest_drv.c184 PIO_STACK_LOCATION IoStackLocation; in DriverCreate() local
188 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in DriverCreate()
192 IoStackLocation->FileObject->FsContext, IoStackLocation->FileObject->FsContext2); in DriverCreate()
222 PIO_STACK_LOCATION IoStackLocation; in DriverCleanup() local
227 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in DriverCleanup()
231 IoStackLocation->FileObject->FsContext, IoStackLocation->FileObject->FsContext2); in DriverCleanup()
233 ASSERT(IoStackLocation->FileObject->FsContext2 == NULL); in DriverCleanup()
309 PIO_STACK_LOCATION IoStackLocation; in DriverIoControl() local
314 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in DriverIoControl()
318 DeviceObject, IoStackLocation->FileObject, in DriverIoControl()
[all …]
H A Dkmtest_standalone.c310 PIO_STACK_LOCATION IoStackLocation; in DriverDispatch() local
313 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in DriverDispatch()
316 KmtMajorFunctionNames[IoStackLocation->MajorFunction], in DriverDispatch()
321 if (IrpHandlers[i].MajorFunction == IoStackLocation->MajorFunction && in DriverDispatch()
328 if (IoStackLocation->MajorFunction == IRP_MJ_DEVICE_CONTROL || in DriverDispatch()
329 IoStackLocation->MajorFunction == IRP_MJ_INTERNAL_DEVICE_CONTROL) in DriverDispatch()
330 return DeviceControlHandler(DeviceObject, Irp, IoStackLocation); in DriverDispatch()
333 if (IoStackLocation->MajorFunction == IRP_MJ_CREATE || in DriverDispatch()
334 IoStackLocation->MajorFunction == IRP_MJ_CLOSE || in DriverDispatch()
335 IoStackLocation->MajorFunction == IRP_MJ_CLEANUP) in DriverDispatch()
[all …]
/reactos/modules/rostests/kmtests/ntos_po/
H A DPoIrp_drv.c125 PIO_STACK_LOCATION IoStackLocation; in RequestedPowerCompletion() local
140 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in RequestedPowerCompletion()
141 ok_eq_uint(IoStackLocation->MajorFunction, 0); in RequestedPowerCompletion()
142 ok_eq_uint(IoStackLocation->MinorFunction, 0); in RequestedPowerCompletion()
143 ok_eq_pointer(IoStackLocation->CompletionRoutine, NULL); in RequestedPowerCompletion()
144 ok_eq_pointer(IoStackLocation->Context, NULL); in RequestedPowerCompletion()
148 ok_eq_pointer(IoStackLocation->Parameters.Others.Argument4, Context); in RequestedPowerCompletion()
156 _In_ PIO_STACK_LOCATION IoStackLocation) in RequestedPowerIrpHandler() argument
167 ok_eq_uint(IoStackLocation->MajorFunction, IRP_MJ_POWER); in RequestedPowerIrpHandler()
168 ok_eq_uint(IoStackLocation->MinorFunction, IRP_MN_SET_POWER); in RequestedPowerIrpHandler()
[all …]
/reactos/drivers/crypto/ksecdd/
H A Ddispatch.c188 PIO_STACK_LOCATION IoStackLocation; in KsecDdDispatch() local
197 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in KsecDdDispatch()
199 switch (IoStackLocation->MajorFunction) in KsecDdDispatch()
220 Information = IoStackLocation->Parameters.Write.Length; in KsecDdDispatch()
227 OutputLength = IoStackLocation->Parameters.QueryFile.Length; in KsecDdDispatch()
228 FileInfoClass = IoStackLocation->Parameters.QueryFile.FileInformationClass; in KsecDdDispatch()
241 OutputLength = IoStackLocation->Parameters.QueryVolume.Length; in KsecDdDispatch()
242 FsInfoClass = IoStackLocation->Parameters.QueryVolume.FsInformationClass; in KsecDdDispatch()
254 InputLength = IoStackLocation->Parameters.DeviceIoControl.InputBufferLength; in KsecDdDispatch()
256 IoControlCode = IoStackLocation->Parameters.DeviceIoControl.IoControlCode; in KsecDdDispatch()
[all …]
/reactos/drivers/bus/acpi/cmbatt/
H A Dcmbpnp.c72 PIO_STACK_LOCATION IoStackLocation; in CmBattGetAcpiInterfaces() local
89 IoStackLocation = IoGetNextIrpStackLocation(Irp); in CmBattGetAcpiInterfaces()
90 IoStackLocation->MajorFunction = IRP_MJ_PNP; in CmBattGetAcpiInterfaces()
91 IoStackLocation->MinorFunction = IRP_MN_QUERY_INTERFACE; in CmBattGetAcpiInterfaces()
94 IoStackLocation->Parameters.QueryInterface.Version = 1; in CmBattGetAcpiInterfaces()
202 PIO_STACK_LOCATION IoStackLocation; in CmBattPowerDispatch() local
208 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in CmBattPowerDispatch()
210 switch (IoStackLocation->MinorFunction) in CmBattPowerDispatch()
265 PIO_STACK_LOCATION IoStackLocation; in CmBattPnpDispatch() local
272 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in CmBattPnpDispatch()
[all …]
/reactos/drivers/bus/pcix/pci/
H A Dconfig.c142 PIO_STACK_LOCATION IoStackLocation; in PciQueryForPciBusInterface() local
172 IoStackLocation = IoGetNextIrpStackLocation(Irp); in PciQueryForPciBusInterface()
173 ASSERT(IoStackLocation->MajorFunction == IRP_MJ_PNP); in PciQueryForPciBusInterface()
174 IoStackLocation->MinorFunction = IRP_MN_QUERY_INTERFACE; in PciQueryForPciBusInterface()
175 IoStackLocation->Parameters.QueryInterface.InterfaceType = &GUID_PCI_BUS_INTERFACE_STANDARD; in PciQueryForPciBusInterface()
176 IoStackLocation->Parameters.QueryInterface.Size = sizeof(PCI_BUS_INTERFACE_STANDARD); in PciQueryForPciBusInterface()
177 IoStackLocation->Parameters.QueryInterface.Version = PCI_BUS_INTERFACE_STANDARD_VERSION; in PciQueryForPciBusInterface()
178 IoStackLocation->Parameters.QueryInterface.Interface = (PINTERFACE)PciInterface; in PciQueryForPciBusInterface()
179 IoStackLocation->Parameters.QueryInterface.InterfaceSpecificData = NULL; in PciQueryForPciBusInterface()
/reactos/hal/halx86/acpi/
H A Dhalpnpdd.c635 PIO_STACK_LOCATION IoStackLocation; in HalpDispatchPnp() local
643 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in HalpDispatchPnp()
644 Minor = IoStackLocation->MinorFunction; in HalpDispatchPnp()
667 IoStackLocation->Parameters.QueryInterface.Size, in HalpDispatchPnp()
669 IoStackLocation->Parameters.QueryInterface.Version, in HalpDispatchPnp()
670 IoStackLocation->Parameters.QueryInterface.Interface, in HalpDispatchPnp()
680 IoStackLocation->Parameters.QueryId.IdType, in HalpDispatchPnp()
766 IoStackLocation->Parameters.QueryInterface.Size, in HalpDispatchPnp()
768 IoStackLocation->Parameters.QueryInterface.Version, in HalpDispatchPnp()
769 IoStackLocation->Parameters.QueryInterface.Interface, in HalpDispatchPnp()
[all …]
/reactos/hal/halx86/legacy/
H A Dhalpnpdd.c618 PIO_STACK_LOCATION IoStackLocation; in HalpDispatchPnp() local
626 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in HalpDispatchPnp()
627 Minor = IoStackLocation->MinorFunction; in HalpDispatchPnp()
650 IoStackLocation->Parameters.QueryInterface.Size, in HalpDispatchPnp()
652 IoStackLocation->Parameters.QueryInterface.Version, in HalpDispatchPnp()
653 IoStackLocation->Parameters.QueryInterface.Interface, in HalpDispatchPnp()
662 IoStackLocation->Parameters.QueryId.IdType, in HalpDispatchPnp()
749 IoStackLocation->Parameters.QueryInterface.Size, in HalpDispatchPnp()
751 IoStackLocation->Parameters.QueryInterface.Version, in HalpDispatchPnp()
752 IoStackLocation->Parameters.QueryInterface.Interface, in HalpDispatchPnp()
[all …]
/reactos/drivers/storage/class/ramdisk/
H A Dramdisk.c719 PIO_STACK_LOCATION IoStackLocation; in RamdiskGetPartitionInfo() local
818 PIO_STACK_LOCATION IoStackLocation; in RamdiskWorkerThread() local
944 PIO_STACK_LOCATION IoStackLocation; in RamdiskReadWriteReal() local
1053 PIO_STACK_LOCATION IoStackLocation; in RamdiskReadWrite() local
1629 PIO_STACK_LOCATION IoStackLocation; in RamdiskQueryId() local
1755 PIO_STACK_LOCATION IoStackLocation; in RamdiskQueryCapabilities() local
1792 PIO_STACK_LOCATION IoStackLocation; in RamdiskQueryDeviceText() local
1884 PIO_STACK_LOCATION IoStackLocation; in RamdiskPnp() local
1893 Minor = IoStackLocation->MinorFunction; in RamdiskPnp()
2143 PIO_STACK_LOCATION IoStackLocation; in RamdiskPower() local
[all …]
/reactos/ntoskrnl/fsrtl/
H A Dfilelock.c1156 PIO_STACK_LOCATION IoStackLocation; in FsRtlProcessFileLock() local
1161 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in FsRtlProcessFileLock()
1162 ASSERT(IoStackLocation->MajorFunction == IRP_MJ_LOCK_CONTROL); in FsRtlProcessFileLock()
1168 &IoStackLocation->FileObject->FileName, in FsRtlProcessFileLock()
1169 IoStackLocation->MinorFunction); in FsRtlProcessFileLock()
1171 switch(IoStackLocation->MinorFunction) in FsRtlProcessFileLock()
1178 IoStackLocation->FileObject, in FsRtlProcessFileLock()
1200 IoStackLocation->FileObject, in FsRtlProcessFileLock()
1217 IoStackLocation-> in FsRtlProcessFileLock()
1229 IoStackLocation->FileObject, in FsRtlProcessFileLock()
[all …]
/reactos/ntoskrnl/io/pnpmgr/
H A Dpnpirp.c16 _In_ PIO_STACK_LOCATION IoStackLocation, in IopSynchronousCall() argument
43 if ((IoStackLocation->MajorFunction == IRP_MJ_PNP) && in IopSynchronousCall()
44 (IoStackLocation->MinorFunction == IRP_MN_FILTER_RESOURCE_REQUIREMENTS)) in IopSynchronousCall()
48 …IoStatusBlock.Information = (ULONG_PTR)IoStackLocation->Parameters.FilterResourceRequirements.IoRe… in IopSynchronousCall()
64 *IrpStack = *IoStackLocation; in IopSynchronousCall()
/reactos/drivers/bus/acpi/compbatt/
H A Dcomppnp.c119 PIO_STACK_LOCATION IoStackLocation; in CompBattAddNewBattery() local
161 IoStackLocation = IoGetNextIrpStackLocation(Irp); in CompBattAddNewBattery()
162 IoStackLocation->Parameters.Others.Argument1 = DeviceExtension; in CompBattAddNewBattery()
163 IoStackLocation->Parameters.Others.Argument2 = BatteryData; in CompBattAddNewBattery()
406 PIO_STACK_LOCATION IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in CompBattPnpDispatch() local
415 switch (IoStackLocation->MinorFunction) in CompBattPnpDispatch()
/reactos/drivers/filesystems/npfs/
H A Dfsctrl.c58 PIO_STACK_LOCATION IoStackLocation; in NpQueryClientProcess() local
66 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in NpQueryClientProcess()
69 NodeTypeCode = NpDecodeFileObject(IoStackLocation->FileObject, 0, &Ccb, 0); in NpQueryClientProcess()
76 Length = IoStackLocation->Parameters.QueryFile.Length; in NpQueryClientProcess()
143 PIO_STACK_LOCATION IoStackLocation; in NpSetClientProcess() local
151 IoStackLocation = IoGetCurrentIrpStackLocation(Irp); in NpSetClientProcess()
154 if (IoStackLocation->MinorFunction != IRP_MN_KERNEL_CALL) in NpSetClientProcess()
160 NodeTypeCode = NpDecodeFileObject(IoStackLocation->FileObject, 0, &Ccb, 0); in NpSetClientProcess()
167 Length = IoStackLocation->Parameters.QueryFile.Length; in NpSetClientProcess()
/reactos/modules/rostests/kmtests/example/
H A DExample_drv.c223 IN PIO_STACK_LOCATION IoStackLocation) in TestIrpHandler() argument
232 if (IoStackLocation->MajorFunction == IRP_MJ_CREATE) in TestIrpHandler()
234 else if (IoStackLocation->MajorFunction == IRP_MJ_CLOSE) in TestIrpHandler()

12