/reactos/drivers/ksfilter/ks/ |
H A D | property.c | 26 IN ULONG OutputBufferLength, in FindPropertyHandler() argument 54 if (sizeof(ULONG) > OutputBufferLength) in FindPropertyHandler() 81 if (OutputBufferLength >= sizeof(KSPROPERTY_DESCRIPTION)) in FindPropertyHandler() 106 if (PropertySet[Index].PropertyItem[ItemIndex].MinData > OutputBufferLength) in FindPropertyHandler() 151 ULONG Index, InputBufferLength, OutputBufferLength, TotalSize; in KspPropertyHandler() local 159 OutputBufferLength = (IoStack->Parameters.DeviceIoControl.OutputBufferLength + 7) & ~7; in KspPropertyHandler() 163 if (OutputBufferLength < IoStack->Parameters.DeviceIoControl.OutputBufferLength) in KspPropertyHandler() 170 …if (InputBufferLength + OutputBufferLength < IoStack->Parameters.DeviceIoControl.OutputBufferLengt… in KspPropertyHandler() 184 TotalSize = InputBufferLength + OutputBufferLength; in KspPropertyHandler() 225 Property = (PKSPROPERTY)((ULONG_PTR)Irp->AssociatedIrp.SystemBuffer + OutputBufferLength); in KspPropertyHandler() [all …]
|
H A D | connectivity.c | 386 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < Size) in KspPinPropertyHandler() 420 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength == 0) in KspPinPropertyHandler() 430 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength == sizeof(ULONG)) in KspPinPropertyHandler() 511 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < Size) in KspPinPropertyHandler() 534 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < Size) in KspPinPropertyHandler() 601 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < Size) in KspPinPropertyHandler() 793 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength == 0) in KsHandleSizedListQuery() 801 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength == sizeof(ULONG)) in KsHandleSizedListQuery() 811 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(KSMULTIPLE_ITEM)) in KsHandleSizedListQuery() 820 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength == sizeof(KSMULTIPLE_ITEM)) in KsHandleSizedListQuery() [all …]
|
H A D | methods.c | 21 IN ULONG OutputBufferLength, in FindMethodHandler() argument 45 if (MethodSet[Index].MethodItem[ItemIndex].MinData > OutputBufferLength) in FindMethodHandler() 56 if (sizeof(ULONG) > OutputBufferLength) in FindMethodHandler() 70 if (OutputBufferLength >= sizeof(KSPROPERTY_DESCRIPTION)) in FindMethodHandler() 136 …ceIoControl.InputBufferLength, IoStack->Parameters.DeviceIoControl.OutputBufferLength, Irp->UserBu… in KspMethodHandlerWithAllocator() 168 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(GUID) * MethodSetsCount) in KspMethodHandlerWithAllocator()
|
/reactos/sdk/lib/drivers/wdf/shared/targets/usb/um/ |
H A D | usbstubum.cpp | 114 _In_ ULONG OutputBufferLength, 115 _When_(OutputBufferLength == 0, _Pre_null_) 116 _When_(OutputBufferLength != 0 && ResultLength == NULL, _Out_writes_bytes_(OutputBufferLength)) 117 …_When_(OutputBufferLength != 0 && ResultLength != NULL, _Out_writes_bytes_to_opt_(OutputBufferLeng… 120 _When_(ResultLength != NULL, _Deref_out_range_(<=,OutputBufferLength)) 126 UNREFERENCED_PARAMETER(OutputBufferLength);
|
/reactos/drivers/storage/class/cdrom/ |
H A D | ioctl.c | 299 if (RequestParameters.Parameters.DeviceIoControl.OutputBufferLength == 0) in RequestHandleGetInquiryData() 1011 if (RequestParameters.Parameters.DeviceIoControl.OutputBufferLength < in RequestValidateReadToc() 1056 if (RequestParameters.Parameters.DeviceIoControl.OutputBufferLength < in RequestValidateGetLastSession() 1393 if (RequestParameters.Parameters.DeviceIoControl.OutputBufferLength < in RequestValidateGetConfiguration() 4124 if (RequestParameters.Parameters.DeviceIoControl.OutputBufferLength < in RequestHandleMountQuerySuggestedLinkName() 7092 nextStack->Parameters.DeviceIoControl.OutputBufferLength = 0; in _IRQL_requires_max_() 7539 _In_ size_t OutputBufferLength, in _IRQL_requires_max_() 8151 _In_ size_t OutputBufferLength, in _IRQL_requires_max_() 8196 dataLength = (USHORT)OutputBufferLength; in _IRQL_requires_max_() 8477 _In_ size_t OutputBufferLength, in _IRQL_requires_max_() [all …]
|
H A D | aacs.c | 99 … RequestParameters.Parameters.DeviceIoControl.OutputBufferLength, in _IRQL_requires_max_() 263 … originalBufferSize = RequestParameters.Parameters.DeviceIoControl.OutputBufferLength; in _IRQL_requires_max_() 372 … RequestParameters.Parameters.DeviceIoControl.OutputBufferLength, in _IRQL_requires_max_() 628 … RequestParameters.Parameters.DeviceIoControl.OutputBufferLength, in _IRQL_requires_max_() 745 … RequestParameters.Parameters.DeviceIoControl.OutputBufferLength, in _IRQL_requires_max_() 946 … RequestParameters.Parameters.DeviceIoControl.OutputBufferLength, in _IRQL_requires_max_() 1062 … RequestParameters.Parameters.DeviceIoControl.OutputBufferLength, in _IRQL_requires_max_() 1178 … RequestParameters.Parameters.DeviceIoControl.OutputBufferLength, in _IRQL_requires_max_() 1294 … RequestParameters.Parameters.DeviceIoControl.OutputBufferLength, in _IRQL_requires_max_() 1416 … RequestParameters.Parameters.DeviceIoControl.OutputBufferLength, in _IRQL_requires_max_()
|
/reactos/sdk/include/ndk/ |
H A D | pofuncs.h | 48 _Out_bytecap_(OutputBufferLength) PVOID OutputBuffer, 49 _In_ ULONG OutputBufferLength 132 _Out_writes_bytes_opt_(OutputBufferLength) PVOID OutputBuffer, 133 _In_ ULONG OutputBufferLength
|
H A D | kdfuncs.h | 40 _In_ ULONG OutputBufferLength, 81 ULONG OutputBufferLength, 110 ULONG OutputBufferLength,
|
/reactos/modules/rostests/kmtests/fltmgr/fltmgr_load/ |
H A D | fltmgr_load.c | 37 _Out_writes_bytes_to_opt_(OutputBufferLength, *ReturnOutputBufferLength) PVOID OutputBuffer, 38 _In_ ULONG OutputBufferLength, 229 _Out_writes_bytes_to_opt_(OutputBufferLength, *ReturnOutputBufferLength) PVOID OutputBuffer, in TestMessageHandler() argument 230 _In_ ULONG OutputBufferLength, in TestMessageHandler() argument
|
/reactos/modules/rostests/kmtests/kmtest_drv/ |
H A D | kmtest_drv.c | 327 size_t Remaining = IoStackLocation->Parameters.DeviceIoControl.OutputBufferLength; in DriverIoControl() 330 IoStackLocation->Parameters.DeviceIoControl.OutputBufferLength); in DriverIoControl() 346 Length = IoStackLocation->Parameters.DeviceIoControl.OutputBufferLength - Remaining; in DriverIoControl() 356 IoStackLocation->Parameters.DeviceIoControl.OutputBufferLength); in DriverIoControl() 390 IoStackLocation->Parameters.DeviceIoControl.OutputBufferLength); in DriverIoControl() 440 IoStackLocation->Parameters.DeviceIoControl.OutputBufferLength); in DriverIoControl() 447 …if (IoStackLocation->Parameters.DeviceIoControl.OutputBufferLength < sizeof(KMT_CALLBACK_REQUEST_P… in DriverIoControl() 471 ULONG ResponseSize = IoStackLocation->Parameters.DeviceIoControl.OutputBufferLength; in DriverIoControl() 475 IoStackLocation->Parameters.DeviceIoControl.OutputBufferLength); in DriverIoControl()
|
/reactos/win32ss/drivers/miniport/pc98vid/ |
H A D | ioctl.c | 227 if (RequestPacket->OutputBufferLength < sizeof(VIDEO_NUM_MODES)) in Pc98VidStartIO() 241 if (RequestPacket->OutputBufferLength < sizeof(VIDEO_MODE_INFORMATION) * in Pc98VidStartIO() 269 if (RequestPacket->OutputBufferLength < sizeof(VIDEO_MODE_INFORMATION)) in Pc98VidStartIO() 284 RequestPacket->OutputBufferLength < sizeof(VIDEO_MEMORY_INFORMATION)) in Pc98VidStartIO() 331 RequestPacket->OutputBufferLength < sizeof(ULONG)) in Pc98VidStartIO()
|
/reactos/drivers/usb/usbstor/ |
H A D | disk.c | 271 …eDeviceProperty OutputBufferLength %lu\n", IoStack->Parameters.DeviceIoControl.OutputBufferLength); in USBSTOR_HandleQueryProperty() 302 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < TotalLength) in USBSTOR_HandleQueryProperty() 306 …ASSERT(IoStack->Parameters.DeviceIoControl.OutputBufferLength >= sizeof(STORAGE_DESCRIPTOR_HEADER)… in USBSTOR_HandleQueryProperty() 371 …AdapterProperty OutputBufferLength %lu\n", IoStack->Parameters.DeviceIoControl.OutputBufferLength); in USBSTOR_HandleQueryProperty() 373 …if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(STORAGE_ADAPTER_DESCRIPTOR_WIN… in USBSTOR_HandleQueryProperty() 377 …ASSERT(IoStack->Parameters.DeviceIoControl.OutputBufferLength >= sizeof(STORAGE_DESCRIPTOR_HEADER)… in USBSTOR_HandleQueryProperty() 448 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength == sizeof(PVOID)) in USBSTOR_HandleDeviceControl()
|
/reactos/drivers/usb/usbstor_new/ |
H A D | disk.c | 313 …eDeviceProperty OutputBufferLength %lu\n", IoStack->Parameters.DeviceIoControl.OutputBufferLength); in USBSTOR_HandleQueryProperty() 369 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < TotalLength) in USBSTOR_HandleQueryProperty() 375 …ASSERT(IoStack->Parameters.DeviceIoControl.OutputBufferLength >= sizeof(STORAGE_DESCRIPTOR_HEADER)… in USBSTOR_HandleQueryProperty() 475 …AdapterProperty OutputBufferLength %lu\n", IoStack->Parameters.DeviceIoControl.OutputBufferLength); in USBSTOR_HandleQueryProperty() 477 … if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(STORAGE_ADAPTER_DESCRIPTOR)) in USBSTOR_HandleQueryProperty() 483 …ASSERT(IoStack->Parameters.DeviceIoControl.OutputBufferLength >= sizeof(STORAGE_DESCRIPTOR_HEADER)… in USBSTOR_HandleQueryProperty() 582 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength == sizeof(PVOID)) in USBSTOR_HandleDeviceControl()
|
/reactos/drivers/network/tcpip/tcpip/ |
H A D | icmp.c | 106 Irp->IoStatus.Information = CurrentStack->Parameters.DeviceIoControl.OutputBufferLength; in EndRequestHandler() 278 UINT32 OutputBufferLength = IrpSp->Parameters.DeviceIoControl.OutputBufferLength; in DispEchoRequest() local 291 …out to send datagram, OutputBufferLength: %u, SystemBuffer: %p\n", OutputBufferLength, Irp->Associ… in DispEchoRequest() 294 … if (OutputBufferLength < sizeof(ICMP_ECHO_REPLY) || InputBufferLength < sizeof(ICMP_ECHO_REQUEST)) in DispEchoRequest() 350 SendContext->RemainingSize = OutputBufferLength; in DispEchoRequest() 385 RtlZeroMemory(Irp->AssociatedIrp.SystemBuffer, OutputBufferLength); in DispEchoRequest()
|
/reactos/sdk/lib/drivers/wdf/shared/inc/private/common/ |
H A D | fxioqueuecallbacks.hpp | 217 __in ULONG OutputBufferLength, in Invoke() argument 229 OutputBufferLength, in Invoke() 258 __in ULONG OutputBufferLength, in Invoke() argument 270 OutputBufferLength, in Invoke()
|
/reactos/drivers/usb/usbport/ |
H A D | ioctl.c | 217 ULONG OutputBufferLength; in USBPORT_GetUnicodeName() local 230 OutputBufferLength = IoStack->Parameters.DeviceIoControl.OutputBufferLength; in USBPORT_GetUnicodeName() 233 if (OutputBufferLength < sizeof(USB_UNICODE_NAME)) in USBPORT_GetUnicodeName() 287 if (OutputBufferLength < ActualLength) in USBPORT_GetUnicodeName()
|
/reactos/drivers/filesystems/ntfs/ |
H A D | fsctl.c | 606 if (Stack->Parameters.FileSystemControl.OutputBufferLength < sizeof(NTFS_VOLUME_DATA_BUFFER) || in GetNfsVolumeData() 609 …DPRINT1("Invalid output! %d %p\n", Stack->Parameters.FileSystemControl.OutputBufferLength, Irp->Us… in GetNfsVolumeData() 644 …if (Stack->Parameters.FileSystemControl.OutputBufferLength >= sizeof(NTFS_EXTENDED_VOLUME_DATA) + … in GetNfsVolumeData() 679 …if (Stack->Parameters.FileSystemControl.OutputBufferLength < (FIELD_OFFSET(NTFS_FILE_RECORD_OUTPUT… in GetNtfsFileRecord() 682 …DPRINT1("Invalid output! %d %p\n", Stack->Parameters.FileSystemControl.OutputBufferLength, Irp->As… in GetNtfsFileRecord() 750 if (Stack->Parameters.FileSystemControl.OutputBufferLength < sizeof(VOLUME_BITMAP_BUFFER)) in GetVolumeBitmap() 752 DPRINT1("Invalid output! %d\n", Stack->Parameters.FileSystemControl.OutputBufferLength); in GetVolumeBitmap() 764 ProbeForWrite(BitmapBuffer, Stack->Parameters.FileSystemControl.OutputBufferLength, in GetVolumeBitmap() 799 …ELD_OFFSET(VOLUME_BITMAP_BUFFER, Buffer)) > Stack->Parameters.FileSystemControl.OutputBufferLength) in GetVolumeBitmap() 801 … too small: %x, needed: %x\n", Stack->Parameters.FileSystemControl.OutputBufferLength, (ToCopy + F… in GetVolumeBitmap() [all …]
|
/reactos/drivers/setup/blue/ |
H A D | blue.c | 1006 if (stk->Parameters.DeviceIoControl.OutputBufferLength < sizeof(CONSOLE_MODE)) in ScrIoControl() 1053 stk->Parameters.DeviceIoControl.OutputBufferLength < sizeof(OUTPUT_ATTRIBUTE)) in ScrIoControl() 1117 if (stk->Parameters.DeviceIoControl.OutputBufferLength == 0) in ScrIoControl() 1137 nMaxLength = stk->Parameters.DeviceIoControl.OutputBufferLength; in ScrIoControl() 1176 if (stk->Parameters.DeviceIoControl.OutputBufferLength < sizeof(COORD)) in ScrIoControl() 1191 nMaxLength = stk->Parameters.DeviceIoControl.OutputBufferLength - sizeof(COORD); in ScrIoControl() 1317 if (stk->Parameters.DeviceIoControl.OutputBufferLength == 0) in ScrIoControl() 1337 nMaxLength = stk->Parameters.DeviceIoControl.OutputBufferLength; in ScrIoControl() 1375 if (stk->Parameters.DeviceIoControl.OutputBufferLength < sizeof(COORD)) in ScrIoControl() 1390 nMaxLength = stk->Parameters.DeviceIoControl.OutputBufferLength - sizeof(COORD); in ScrIoControl() [all …]
|
/reactos/win32ss/drivers/miniport/vga/ |
H A D | vgamp.c | 198 if (RequestPacket->OutputBufferLength < sizeof(VIDEO_MEMORY_INFORMATION) || in VGAStartIO() 212 if (RequestPacket->OutputBufferLength < sizeof(VIDEO_MODE_INFORMATION)) in VGAStartIO() 222 if (RequestPacket->OutputBufferLength < sizeof(VIDEO_MODE_INFORMATION)) in VGAStartIO() 232 if (RequestPacket->OutputBufferLength < sizeof(VIDEO_NUM_MODES)) in VGAStartIO() 270 if (RequestPacket->OutputBufferLength < sizeof(VIDEO_MEMORY_INFORMATION) || in VGAStartIO()
|
/reactos/drivers/storage/partmgr/ |
H A D | utils.c | 25 _In_ ULONG OutputBufferLength, in IssueSyncIoControlRequest() argument 50 OutputBufferLength, in IssueSyncIoControlRequest()
|
/reactos/drivers/wdm/audio/sysaudio/ |
H A D | control.c | 127 IoStack->Parameters.DeviceIoControl.OutputBufferLength, in HandleSysAudioFilterPinProperties() 337 IoStack->Parameters.DeviceIoControl.OutputBufferLength, in SysAudioHandleProperty() 363 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < BytesReturned) in SysAudioHandleProperty() 385 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(KSCOMPONENTID)) in SysAudioHandleProperty() 417 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(ULONG)) in SysAudioHandleProperty() 428 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(ULONG)) in SysAudioHandleProperty()
|
/reactos/drivers/storage/port/scsiport/ |
H A D | ioctl.c | 47 if (IrpStack->Parameters.DeviceIoControl.OutputBufferLength < Length) in SpiGetInquiryData() 205 if (ioStack->Parameters.DeviceIoControl.OutputBufferLength < TotalLength) in PdoHandleQueryProperty() 209 ASSERT(ioStack->Parameters.DeviceIoControl.OutputBufferLength >= in PdoHandleQueryProperty() 338 …if (ioStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(STORAGE_ADAPTER_DESCRIPTOR_WIN… in FdoHandleQueryProperty() 342 ASSERT(ioStack->Parameters.DeviceIoControl.OutputBufferLength in FdoHandleQueryProperty()
|
/reactos/drivers/filesystems/btrfs/ |
H A D | volume.c | 313 if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength < sizeof(MOUNTDEV_NAME)) { in vol_query_device_name() 321 …if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength < offsetof(MOUNTDEV_NAME, Name[0]) + name… in vol_query_device_name() 338 if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength < sizeof(MOUNTDEV_UNIQUE_ID)) { in vol_query_unique_id() 367 … if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength == 0 || !Irp->AssociatedIrp.SystemBuffer) in vol_is_dynamic() 413 if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength < sizeof(VOLUME_DISK_EXTENTS)) in vol_get_disk_extents() 532 if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength < sizeof(GET_LENGTH_INFORMATION)) in vol_get_length() 565 if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength < sizeof(DISK_GEOMETRY)) in vol_get_drive_geometry() 599 …if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength < sizeof(VOLUME_GET_GPT_ATTRIBUTES_INFORM… in vol_get_gpt_attributes() 619 if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength < sizeof(STORAGE_DEVICE_NUMBER)) in vol_get_device_number() 700 …IrpSp2->Parameters.DeviceIoControl.OutputBufferLength = IrpSp->Parameters.DeviceIoControl.OutputBu… in vol_ioctl_passthrough() [all …]
|
/reactos/drivers/bus/acpi/compbatt/ |
H A D | compmisc.c | 22 _Inout_ ULONG OutputBufferLength, in BatteryIoctl() argument 39 OutputBufferLength, in BatteryIoctl()
|
/reactos/ntoskrnl/ex/ |
H A D | dbgctrl.c | 192 ULONG OutputBufferLength, in NtSystemDebugControl() argument 233 OutputBuffer, OutputBufferLength, in NtSystemDebugControl()
|