Home
last modified time | relevance | path

Searched refs:Ctx (Results 1 – 24 of 24) sorted by relevance

/reactos/drivers/ksfilter/ks/
H A Devent.c19 IN PKSEVENT_CTX Ctx) in KspSynchronizedEventRoutine() argument
106 KSEVENT_CTX Ctx; in KspEnableEvent() local
421 IN PKSEVENT_CTX Ctx) in KspDisableEvent() argument
428 if (!Ctx || !Ctx->List || !Ctx->FileObject || !Ctx->Irp) in KspDisableEvent()
476 KSEVENT_CTX Ctx; in KsDisableEvent() local
495 Ctx.List = EventsList; in KsDisableEvent()
497 Ctx.Irp = Irp; in KsDisableEvent()
498 Ctx.EventEntry = NULL; in KsDisableEvent()
543 IN PKSEVENT_CTX Ctx) in KspFreeEventList() argument
549 if (!Ctx || !Ctx->List) in KspFreeEventList()
[all …]
H A Ddevice.c251 …Status = Ctx->DeviceHeader->KsDevice.Descriptor->Dispatch->PostStart(&Ctx->DeviceHeader->KsDevice); in IKsDevice_PnpPostStart()
266 IoFreeWorkItem(Ctx->WorkItem); in IKsDevice_PnpPostStart()
269 FreeItem(Ctx); in IKsDevice_PnpPostStart()
283 PPNP_POSTSTART_CONTEXT Ctx = NULL; in IKsDevice_PnpStartDevice() local
353 if (!Ctx) in IKsDevice_PnpStartDevice()
363 if (!Ctx->WorkItem) in IKsDevice_PnpStartDevice()
366 FreeItem(Ctx); in IKsDevice_PnpStartDevice()
367 Ctx = NULL; in IKsDevice_PnpStartDevice()
373 Ctx->DeviceHeader = DeviceHeader; in IKsDevice_PnpStartDevice()
396 if (Ctx) in IKsDevice_PnpStartDevice()
[all …]
H A Dswenum.c1078 IN PVOID Ctx) in KspInstallBusEnumInterface() argument
1086 PBUS_INSTALL_ENUM_CONTEXT Context = (PBUS_INSTALL_ENUM_CONTEXT)Ctx; in KspInstallBusEnumInterface()
1291 PVOID Ctx) in KspRemoveBusInterface() argument
1293 PBUS_INSTALL_ENUM_CONTEXT Context =(PBUS_INSTALL_ENUM_CONTEXT)Ctx; in KspRemoveBusInterface()
2215 BUS_INSTALL_ENUM_CONTEXT Ctx; in KsRemoveBusEnumInterface() local
2245 KeInitializeEvent(&Ctx.Event, NotificationEvent, FALSE); in KsRemoveBusEnumInterface()
2246 Ctx.Irp = Irp; in KsRemoveBusEnumInterface()
2247 Ctx.BusDeviceExtension = BusDeviceExtension; in KsRemoveBusEnumInterface()
2248 ExInitializeWorkItem(&Ctx.WorkItem, KspRemoveBusInterface, (PVOID)&Ctx); in KsRemoveBusEnumInterface()
2251 ExQueueWorkItem(&Ctx.WorkItem, DelayedWorkQueue); in KsRemoveBusEnumInterface()
[all …]
H A Dallocators.c587 PVOID Ctx; in KsCreateDefaultAllocatorEx() local
631 Ctx = InitializeAllocator(InitializeContext, AllocatorFraming, &Allocator->u.CustomList); in KsCreateDefaultAllocatorEx()
633 if (!Ctx) in KsCreateDefaultAllocatorEx()
H A Dfilter.c1623 IN PVOID Ctx) in IKsFilter_FilterCentricWorker() argument
1625 IKsProcessingObject * Object = (IKsProcessingObject*)Ctx; in IKsFilter_FilterCentricWorker()
/reactos/drivers/wdm/audio/backpln/portcls/
H A Dpin_wavert.cpp370 This = (CPortPinWaveRT*)Ctx->Pin; in CloseStreamRoutine()
409 IoFreeWorkItem(Ctx->WorkItem); in CloseStreamRoutine()
412 FreeItem(Ctx, TAG_PORTCLASS); in CloseStreamRoutine()
429 PCLOSESTREAM_CONTEXT Ctx; in Close() local
434 if (!Ctx) in Close()
441 if (!Ctx->WorkItem) in Close()
447 Ctx->Irp = Irp; in Close()
448 Ctx->Pin = this; in Close()
455 IoQueueWorkItem(Ctx->WorkItem, CloseStreamRoutine, DelayedWorkQueue, (PVOID)Ctx); in Close()
468 if (Ctx) in Close()
[all …]
/reactos/drivers/usb/usbstor/
H A Dscsi.c132 PVOID Ctx) in USBSTOR_CSWCompletionRoutine() argument
140 … DPRINT("USBSTOR_CSWCompletionRoutine Irp %p Ctx %p Status %x\n", Irp, Ctx, Irp->IoStatus.Status); in USBSTOR_CSWCompletionRoutine()
144 FDODeviceExtension = (PFDO_DEVICE_EXTENSION)Ctx; in USBSTOR_CSWCompletionRoutine()
263 PVOID Ctx) in USBSTOR_DataCompletionRoutine() argument
271 … DPRINT("USBSTOR_DataCompletionRoutine Irp %p Ctx %p Status %x\n", Irp, Ctx, Irp->IoStatus.Status); in USBSTOR_DataCompletionRoutine()
273 FDODeviceExtension = (PFDO_DEVICE_EXTENSION)Ctx; in USBSTOR_DataCompletionRoutine()
332 PVOID Ctx) in USBSTOR_CBWCompletionRoutine() argument
343 … DPRINT("USBSTOR_CBWCompletionRoutine Irp %p Ctx %p Status %x\n", Irp, Ctx, Irp->IoStatus.Status); in USBSTOR_CBWCompletionRoutine()
345 FDODeviceExtension = (PFDO_DEVICE_EXTENSION)Ctx; in USBSTOR_CBWCompletionRoutine()
H A Derror.c77 IN PVOID Ctx) in USBSTOR_ResetPipeWorkItemRoutine() argument
80 PFDO_DEVICE_EXTENSION FDODeviceExtension = (PFDO_DEVICE_EXTENSION)Ctx; in USBSTOR_ResetPipeWorkItemRoutine()
H A Dpdo.c676 IN PVOID Ctx) in USBSTOR_SyncCompletionRoutine() argument
678 KeSetEvent((PKEVENT)Ctx, IO_NO_INCREMENT, FALSE); in USBSTOR_SyncCompletionRoutine()
/reactos/drivers/bus/acpi/acpica/events/
H A Devregion.c217 ACPI_PCC_INFO *Ctx = HandlerDesc->AddressSpace.Context; in AcpiEvAddressSpaceDispatch() local
219 Ctx->InternalBuffer = FieldObj->Field.InternalPccBuffer; in AcpiEvAddressSpaceDispatch()
220 Ctx->Length = (UINT16) RegionObj->Region.Length; in AcpiEvAddressSpaceDispatch()
221 Ctx->SubspaceId = (UINT8) RegionObj->Region.Address; in AcpiEvAddressSpaceDispatch()
226 ACPI_FFH_INFO *Ctx = HandlerDesc->AddressSpace.Context; in AcpiEvAddressSpaceDispatch() local
228 Ctx->Length = RegionObj->Region.Length; in AcpiEvAddressSpaceDispatch()
229 Ctx->Offset = RegionObj->Region.Address; in AcpiEvAddressSpaceDispatch()
/reactos/sdk/lib/drivers/ntoskrnl_vista/
H A Dio.c44 PVOID Ctx) in _Function_class_()
46 PEX_WORKITEM_CONTEXT context = Ctx; in _Function_class_()
/reactos/drivers/usb/usbstor_new/
H A Dscsi.c178 PVOID Ctx) in USBSTOR_CSWCompletionRoutine() argument
192 Context = (PIRP_CONTEXT)Ctx; in USBSTOR_CSWCompletionRoutine()
434 PVOID Ctx) in USBSTOR_DataCompletionRoutine() argument
440 … DPRINT("USBSTOR_DataCompletionRoutine Irp %p Ctx %p Status %x\n", Irp, Ctx, Irp->IoStatus.Status); in USBSTOR_DataCompletionRoutine()
445 Context = (PIRP_CONTEXT)Ctx; in USBSTOR_DataCompletionRoutine()
479 PVOID Ctx) in USBSTOR_CBWCompletionRoutine() argument
486 … DPRINT("USBSTOR_CBWCompletionRoutine Irp %p Ctx %p Status %x\n", Irp, Ctx, Irp->IoStatus.Status); in USBSTOR_CBWCompletionRoutine()
491 Context = (PIRP_CONTEXT)Ctx; in USBSTOR_CBWCompletionRoutine()
H A Dpdo.c976 IN PVOID Ctx) in USBSTOR_CompletionRoutine() argument
978 PKEVENT Event = (PKEVENT)Ctx; in USBSTOR_CompletionRoutine()
H A Dusbstor.h453 PVOID Ctx);
/reactos/modules/rostests/kmtests/ntos_mm/
H A DZwAllocateVirtualMemory.c401 KmtInitTestContext(PTEST_CONTEXT Ctx, SHORT ThreadId, ULONG RegionSize, ULONG AllocationType, ULONG… in KmtInitTestContext() argument
405 Ctx->AllocationType = AllocationType; in KmtInitTestContext()
406 Ctx->Protect = Protect; in KmtInitTestContext()
407 Ctx->RegionSize = RegionSize; in KmtInitTestContext()
408 Ctx->ThreadId = ThreadId; in KmtInitTestContext()
/reactos/base/shell/cmd/
H A Dcmd.c1579 PFOR_CONTEXT Ctx; in FindForVar() local
1584 for (Ctx = fc; Ctx != NULL; Ctx = Ctx->prev) in FindForVar()
1586 if ((UINT)(Var - Ctx->firstvar) < Ctx->varcount) in FindForVar()
1588 *VarPtr = Ctx->values[Var - Ctx->firstvar]; in FindForVar()
/reactos/drivers/wdm/audio/legacy/wdmaud/
H A Dcontrol.c386 PVOID Ctx) in IoCompletion() argument
390 PWDMAUD_COMPLETION_CONTEXT Context = (PWDMAUD_COMPLETION_CONTEXT)Ctx; in IoCompletion()
H A Dmmixer.c797 IN PVOID Ctx, in CreatePinCallback() argument
809 PPIN_CREATE_CONTEXT Context = (PPIN_CREATE_CONTEXT)Ctx; in CreatePinCallback()
/reactos/drivers/filesystems/udfs/Include/
H A DSys_spec_lib.cpp590 GENERATE_NAME_CONTEXT Ctx; in UDFDOSNameOsNative() local
600 RtlZeroMemory(&Ctx, sizeof(GENERATE_NAME_CONTEXT)); in UDFDOSNameOsNative()
601 RtlGenerate8dot3Name(UdfName, FALSE, &Ctx, DosName); in UDFDOSNameOsNative()
/reactos/drivers/hid/hidclass/
H A Dhidclass.c354 IN PVOID Ctx) in HidClass_ReadCompleteIrp() argument
367 IrpContext = Ctx; in HidClass_ReadCompleteIrp()
/reactos/drivers/hid/hidusb/
H A Dhidusb.c336 IN PVOID Ctx) in HidUsb_ResetWorkerRoutine() argument
348 ResetContext = Ctx; in HidUsb_ResetWorkerRoutine()
/reactos/base/applications/sndvol32/
H A Dsndvol32.c630 SetVolumeCallback(PSND_MIXER Mixer, DWORD LineID, LPMIXERLINE Line, PVOID Ctx) in SetVolumeCallback() argument
636 PSET_VOLUME_CONTEXT Context = (PSET_VOLUME_CONTEXT)Ctx; in SetVolumeCallback()
/reactos/ntoskrnl/io/pnpmgr/
H A Ddevaction.c368 PVOID Ctx, in PiAttachFilterDriversCallback() argument
371 PATTACH_FILTER_DRIVERS_CONTEXT context = Ctx; in PiAttachFilterDriversCallback()
/reactos/sdk/include/reactos/mc/
H A Dsacmsg.mc373 tid pri Ctx Swtch StrtAddr User Time Kernel Time State