Home
last modified time | relevance | path

Searched refs:OutputBufferLength (Results 1 – 25 of 198) sorted by relevance

12345678

/reactos/drivers/ksfilter/ks/
H A Dproperty.c26 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 Dconnectivity.c386 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 Dmethods.c21 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 Dusbstubum.cpp114 _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 Dioctl.c299 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 Daacs.c99 … 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 Dpofuncs.h48 _Out_bytecap_(OutputBufferLength) PVOID OutputBuffer,
49 _In_ ULONG OutputBufferLength
132 _Out_writes_bytes_opt_(OutputBufferLength) PVOID OutputBuffer,
133 _In_ ULONG OutputBufferLength
H A Dkdfuncs.h40 _In_ ULONG OutputBufferLength,
81 ULONG OutputBufferLength,
110 ULONG OutputBufferLength,
/reactos/modules/rostests/kmtests/fltmgr/fltmgr_load/
H A Dfltmgr_load.c37 _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 Dkmtest_drv.c327 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 Dioctl.c227 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 Ddisk.c271 …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 Ddisk.c313 …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 Dicmp.c106 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 Dfxioqueuecallbacks.hpp217 __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 Dioctl.c217 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 Dfsctl.c606 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 Dblue.c1006 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 Dvgamp.c198 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 Dutils.c25 _In_ ULONG OutputBufferLength, in IssueSyncIoControlRequest() argument
50 OutputBufferLength, in IssueSyncIoControlRequest()
/reactos/drivers/wdm/audio/sysaudio/
H A Dcontrol.c127 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 Dioctl.c47 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 Dvolume.c313 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 Dcompmisc.c22 _Inout_ ULONG OutputBufferLength, in BatteryIoctl() argument
39 OutputBufferLength, in BatteryIoctl()
/reactos/ntoskrnl/ex/
H A Ddbgctrl.c192 ULONG OutputBufferLength, in NtSystemDebugControl() argument
233 OutputBuffer, OutputBufferLength, in NtSystemDebugControl()

12345678