Home
last modified time | relevance | path

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

/reactos/drivers/filesystems/ntfs/
H A Dvolinfo.c42 ULONGLONG BitmapDataSize; in NtfsGetFreeClusters() local
70 BitmapDataSize = AttributeDataLength(DataContext->pRecord); in NtfsGetFreeClusters()
71 ASSERT((BitmapDataSize * 8) >= DeviceExt->NtfsInfo.ClusterCount); in NtfsGetFreeClusters()
81 for (; Read < BitmapDataSize; Read += DeviceExt->NtfsInfo.BytesPerSector) in NtfsGetFreeClusters()
88 DPRINT1("Total clusters in bitmap: %I64x\n", BitmapDataSize * 8); in NtfsGetFreeClusters()
114 ULONGLONG BitmapDataSize; in NtfsAllocateClusters() local
143 BitmapDataSize = AttributeDataLength(DataContext->pRecord); in NtfsAllocateClusters()
144 BitmapDataSize = min(BitmapDataSize, 0xffffffff); in NtfsAllocateClusters()
145 ASSERT((BitmapDataSize * 8) >= DeviceExt->NtfsInfo.ClusterCount); in NtfsAllocateClusters()
155 DPRINT("Total clusters in bitmap: %I64x\n", BitmapDataSize * 8); in NtfsAllocateClusters()
[all …]
H A Dattrib.c1075 ULONGLONG BitmapDataSize; in FreeClusters() local
1109 BitmapDataSize = AttributeDataLength(DataContext->pRecord); in FreeClusters()
1110 BitmapDataSize = min(BitmapDataSize, ULONG_MAX); in FreeClusters()
1111 ASSERT((BitmapDataSize * 8) >= Vcb->NtfsInfo.ClusterCount); in FreeClusters()
1112 …BitmapData = ExAllocatePoolWithTag(NonPagedPool, ROUND_UP(BitmapDataSize, Vcb->NtfsInfo.BytesPerSe… in FreeClusters()
1121 ReadAttribute(Vcb, DataContext, 0, (PCHAR)BitmapData, (ULONG)BitmapDataSize); in FreeClusters()
1152 …Status = WriteAttribute(Vcb, DataContext, 0, BitmapData, (ULONG)BitmapDataSize, &LengthWritten, Fi… in FreeClusters()
H A Dmft.c2030 ULONGLONG BitmapDataSize; in AddNewMftEntry() local
2052 BitmapDataSize = AttributeDataLength(BitmapContext->pRecord); in AddNewMftEntry()
2056 BitmapBuffer = ExAllocatePoolWithTag(NonPagedPool, BitmapDataSize + sizeof(ULONG), TAG_NTFS); in AddNewMftEntry()
2062 RtlZeroMemory(BitmapBuffer, BitmapDataSize + sizeof(ULONG)); in AddNewMftEntry()
2068 AttrBytesRead = ReadAttribute(DeviceExt, BitmapContext, 0, (PCHAR)BitmapData, BitmapDataSize); in AddNewMftEntry()
2070 if (AttrBytesRead != BitmapDataSize) in AddNewMftEntry()
2129 …Status = WriteAttribute(DeviceExt, BitmapContext, 0, BitmapData, BitmapDataSize, &LengthWritten, F… in AddNewMftEntry()
/reactos/boot/freeldr/freeldr/lib/fs/
H A Dntfs.c553 ULONGLONG BitmapDataSize; in NtfsFindMftRecord() local
620 BitmapDataSize = NtfsGetAttributeSize(&IndexBitmapCtx->Record); in NtfsFindMftRecord()
621 TRACE("BitmapDataSize: %x\n", (ULONG)BitmapDataSize); in NtfsFindMftRecord()
622 if(BitmapDataSize <= 0xFFFFFFFF) in NtfsFindMftRecord()
623 BitmapData = FrLdrTempAlloc((ULONG)BitmapDataSize, TAG_NTFS_BITMAP); in NtfsFindMftRecord()
633 NtfsReadAttribute(Volume, IndexBitmapCtx, 0, BitmapData, (ULONG)BitmapDataSize); in NtfsFindMftRecord()