/reactos/drivers/filesystems/btrfs/ |
H A D | devctrl.c | 100 MOUNTDEV_NAME mdn; in query_filesystems() 119 …l(dev->devobj, IOCTL_MOUNTDEV_QUERY_DEVICE_NAME, NULL, 0, &mdn, sizeof(MOUNTDEV_NAME), true, NULL); in query_filesystems() 132 …UNTDEV_QUERY_DEVICE_NAME, NULL, 0, &bfd->name_length, (ULONG)offsetof(MOUNTDEV_NAME, Name[0]) + md… in query_filesystems() 163 MOUNTDEV_NAME* mdn = (MOUNTDEV_NAME*)data; in probe_volume() 170 if (length < sizeof(MOUNTDEV_NAME)) in probe_volume() 173 if (length < offsetof(MOUNTDEV_NAME, Name[0]) + mdn->NameLength) in probe_volume()
|
H A D | search.c | 574 MOUNTDEV_NAME mdn; 576 …l(vc2->devobj, IOCTL_MOUNTDEV_QUERY_DEVICE_NAME, NULL, 0, &mdn, sizeof(MOUNTDEV_NAME), true, NULL); 580 MOUNTDEV_NAME* mdn2; 581 … ULONG mdnsize = (ULONG)offsetof(MOUNTDEV_NAME, Name[0]) + mdn.NameLength; 963 MOUNTDEV_NAME mdn; in mountmgr_process_drive() 965 …tl(vc->devobj, IOCTL_MOUNTDEV_QUERY_DEVICE_NAME, NULL, 0, &mdn, sizeof(MOUNTDEV_NAME), true, NULL); in mountmgr_process_drive() 969 MOUNTDEV_NAME* mdn2; in mountmgr_process_drive() 970 ULONG mdnsize = (ULONG)offsetof(MOUNTDEV_NAME, Name[0]) + mdn.NameLength; in mountmgr_process_drive()
|
H A D | volume.c | 313 if (IrpSp->Parameters.DeviceIoControl.OutputBufferLength < sizeof(MOUNTDEV_NAME)) { in vol_query_device_name() 314 Irp->IoStatus.Information = 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() 322 Irp->IoStatus.Information = sizeof(MOUNTDEV_NAME); in vol_query_device_name() 328 Irp->IoStatus.Information = offsetof(MOUNTDEV_NAME, Name[0]) + name->NameLength; in vol_query_device_name()
|
H A D | balance.c | 2699 MOUNTDEV_NAME mdn; 2701 …l(dev->devobj, IOCTL_MOUNTDEV_QUERY_DEVICE_NAME, NULL, 0, &mdn, sizeof(MOUNTDEV_NAME), true, NULL); 2705 MOUNTDEV_NAME* mdn2; 2706 … ULONG mdnsize = (ULONG)offsetof(MOUNTDEV_NAME, Name[0]) + mdn.NameLength;
|
H A D | btrfs.c | 4143 MOUNTDEV_NAME mdn, *mdn2; 4146 …(DeviceObject, IOCTL_MOUNTDEV_QUERY_DEVICE_NAME, NULL, 0, &mdn, sizeof(MOUNTDEV_NAME), true, NULL); 4152 mdnsize = (ULONG)offsetof(MOUNTDEV_NAME, Name[0]) + mdn.NameLength;
|
/reactos/modules/rostests/apitests/kernel32/ |
H A D | DeviceIoControl.c | 81 MOUNTDEV_NAME MDN, *AllocatedMDN; in QueryDeviceName() 101 ok_type(Size == sizeof(MOUNTDEV_NAME), "Invalid output size: %ld\n", Size); in QueryDeviceName() 103 …AllocatedMDN = HeapAlloc(GetProcessHeap(), 0, FIELD_OFFSET(MOUNTDEV_NAME, Name) + MDN.NameLength +… in QueryDeviceName() 111 …IOCTL_MOUNTDEV_QUERY_DEVICE_NAME, NULL, 0, AllocatedMDN, FIELD_OFFSET(MOUNTDEV_NAME, Name) + MDN.N… in QueryDeviceName() 113 …ok_type(Size == FIELD_OFFSET(MOUNTDEV_NAME, Name) + MDN.NameLength, "Invalid output size: %ld\n", … in QueryDeviceName()
|
/reactos/drivers/storage/floppy/floppy/ |
H A D | ioctl.c | 280 if(OutputLength < sizeof(MOUNTDEV_NAME)) in DeviceIoctlPassive() 290 if(OutputLength < FIELD_OFFSET(MOUNTDEV_NAME, Name) + Name->NameLength) in DeviceIoctlPassive() 293 Irp->IoStatus.Information = sizeof(MOUNTDEV_NAME); in DeviceIoctlPassive() 301 Irp->IoStatus.Information = FIELD_OFFSET(MOUNTDEV_NAME, Name) + Name->NameLength; in DeviceIoctlPassive()
|
/reactos/modules/rosapps/drivers/vfd/ |
H A D | vfdmnt.c | 506 if (OutputLength < sizeof(MOUNTDEV_NAME)) { in VfdMountDevDeviceName() 515 IoStatus->Information = sizeof(MOUNTDEV_NAME); in VfdMountDevDeviceName() 605 if (InputLength < sizeof(MOUNTDEV_NAME)) { in VfdMountDevLinkModified() 609 if (InputLength < sizeof(MOUNTDEV_NAME) + in VfdMountDevLinkModified()
|
H A D | imports.h | 143 } MOUNTDEV_NAME, *PMOUNTDEV_NAME;
|
/reactos/dll/shellext/shellbtrfs/ |
H A D | devices.cpp | 47 MOUNTDEV_NAME mdn, *mdn2; in get_mountdev_name() 51 nullptr, 0, &mdn, sizeof(MOUNTDEV_NAME)); in get_mountdev_name() 55 size_t mdnsize = offsetof(MOUNTDEV_NAME, Name[0]) + mdn.NameLength; in get_mountdev_name() 57 mdn2 = (MOUNTDEV_NAME*)malloc(mdnsize); in get_mountdev_name()
|
/reactos/drivers/filesystems/udfs/ |
H A D | misc.cpp | 1591 Vcb->TargetDevName.Buffer = (PWCHAR)MyAllocatePool__(NonPagedPool, sizeof(MOUNTDEV_NAME)); in UDFInitializeVCB() 1597 (PVOID)(Vcb->TargetDevName.Buffer),sizeof(MOUNTDEV_NAME), in UDFInitializeVCB() 1602 if(!MyReallocPool__((PCHAR)(Vcb->TargetDevName.Buffer), sizeof(MOUNTDEV_NAME), in UDFInitializeVCB() 1603 … (PCHAR*)&(Vcb->TargetDevName.Buffer), Vcb->TargetDevName.Buffer[0]+sizeof(MOUNTDEV_NAME)) ) { in UDFInitializeVCB() 1609 … (PVOID)(Vcb->TargetDevName.Buffer), Vcb->TargetDevName.Buffer[0]+sizeof(MOUNTDEV_NAME), in UDFInitializeVCB() 1616 if(!MyReallocPool__((PCHAR)Vcb->TargetDevName.Buffer, sizeof(MOUNTDEV_NAME), in UDFInitializeVCB()
|
/reactos/sdk/include/ddk/ |
H A D | mountmgr.h | 141 } MOUNTDEV_NAME, *PMOUNTDEV_NAME; typedef
|
/reactos/drivers/storage/mountmgr/ |
H A D | mountmgr.c | 404 Name = AllocatePool(sizeof(MOUNTDEV_NAME)); in QueryDeviceInformation() 418 sizeof(MOUNTDEV_NAME), in QueryDeviceInformation() 423 Size = Name->NameLength + sizeof(MOUNTDEV_NAME); in QueryDeviceInformation()
|
/reactos/dll/win32/kernel32/client/file/ |
H A D | mntpoint.c | 34 MOUNTDEV_NAME; in GetVolumeNameForRoot()
|
/reactos/sdk/lib/fslib/btrfslib/ |
H A D | btrfslib.c | 1476 MOUNTDEV_NAME* mdn; 1479 mdnsize = (ULONG)(offsetof(MOUNTDEV_NAME, Name[0]) + DriveRoot->Length);
|
/reactos/ntoskrnl/fstub/ |
H A D | disksup.c | 712 MOUNTDEV_NAME DevName; in HalpIsOldStyleFloppy()
|
/reactos/drivers/storage/class/cdrom/ |
H A D | ioctl.c | 4047 if (RequestParameters.Parameters.DeviceIoControl.OutputBufferLength < sizeof(MOUNTDEV_NAME)) in RequestHandleMountQueryDeviceName() 4050 *DataLength = sizeof(MOUNTDEV_NAME); in RequestHandleMountQueryDeviceName() 4070 *DataLength = sizeof(MOUNTDEV_NAME); in RequestHandleMountQueryDeviceName()
|
/reactos/drivers/storage/class/classpnp/ |
H A D | class.c | 7456 sizeof(MOUNTDEV_NAME)) { 7459 Irp->IoStatus.Information = sizeof(MOUNTDEV_NAME); 7464 RtlZeroMemory(name, sizeof(MOUNTDEV_NAME)); 7471 Irp->IoStatus.Information = sizeof(MOUNTDEV_NAME);
|