Home
last modified time | relevance | path

Searched refs:mdn2 (Results 1 – 4 of 4) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dsearch.c580 MOUNTDEV_NAME* mdn2; variable
583 mdn2 = ExAllocatePoolWithTag(PagedPool, mdnsize, ALLOC_TAG);
584 if (!mdn2)
593 name.Buffer = mdn2->Name;
594 name.Length = name.MaximumLength = mdn2->NameLength;
601 ExFreePool(mdn2);
969 MOUNTDEV_NAME* mdn2; in mountmgr_process_drive() local
972 mdn2 = ExAllocatePoolWithTag(NonPagedPool, mdnsize, ALLOC_TAG); in mountmgr_process_drive()
973 if (!mdn2) in mountmgr_process_drive()
980 …if (mdn2->NameLength == device_name->Length && RtlCompareMemory(mdn2->Name, device_name->Buffer, d… in mountmgr_process_drive()
[all …]
H A Dbalance.c2705 MOUNTDEV_NAME* mdn2; variable
2708 mdn2 = ExAllocatePoolWithTag(PagedPool, mdnsize, ALLOC_TAG);
2709 if (!mdn2)
2712 …tatus = dev_ioctl(dev->devobj, IOCTL_MOUNTDEV_QUERY_DEVICE_NAME, NULL, 0, mdn2, mdnsize, true, NUL…
2718 name.Buffer = mdn2->Name;
2719 name.Length = name.MaximumLength = mdn2->NameLength;
2726 ExFreePool(mdn2);
H A Dbtrfs.c4143 MOUNTDEV_NAME mdn, *mdn2; local
4154 mdn2 = ExAllocatePoolWithTag(PagedPool, mdnsize, ALLOC_TAG);
4155 if (!mdn2) {
4160 …Status = dev_ioctl(DeviceObject, IOCTL_MOUNTDEV_QUERY_DEVICE_NAME, NULL, 0, mdn2, mdnsize, true, N…
4163 ExFreePool(mdn2);
4167 if (mdn2->NameLength > (sizeof(BTRFS_VOLUME_PREFIX) - sizeof(WCHAR)) &&
4168 …RtlCompareMemory(mdn2->Name, BTRFS_VOLUME_PREFIX, sizeof(BTRFS_VOLUME_PREFIX) - sizeof(WCHAR)) == …
4169 ExFreePool(mdn2);
4173 ExFreePool(mdn2);
/reactos/dll/shellext/shellbtrfs/
H A Ddevices.cpp47 MOUNTDEV_NAME mdn, *mdn2; in get_mountdev_name() local
57 mdn2 = (MOUNTDEV_NAME*)malloc(mdnsize); in get_mountdev_name()
60 nullptr, 0, mdn2, (ULONG)mdnsize); in get_mountdev_name()
62 free(mdn2); in get_mountdev_name()
66 name = wstring(mdn2->Name, mdn2->NameLength / sizeof(WCHAR)); in get_mountdev_name()
68 free(mdn2); in get_mountdev_name()