#pragma alloc_text(PAGE, CdUninitializeMcb)
#endif
-\f
+
_Requires_lock_held_(_Global_critical_region_)
VOID
#ifdef _MSC_VER
// PREFast currently has no way to express the Fcb==Fcb->Vcb->VolumeDasdFcb early return
-#pragma warning(suppress: 6001 6101)
+#pragma warning(suppress: 6001 6101)
#endif
CdLookupAllocation (
_In_ PIRP_CONTEXT IrpContext,
return;
}
-\f
+
VOID
CdAddAllocationFromDirent (
_In_ PIRP_CONTEXT IrpContext,
return;
}
-\f
+
VOID
CdAddInitialAllocation (
_In_ PIRP_CONTEXT IrpContext,
This routine is called to set up the initial entry in an Mcb.
- This routine handles the single initial entry for a directory file. We will
- round the start block down to a sector boundary. Our caller has already
- biased the DataLength with any adjustments. This is used for the case
- where there is a single entry and we want to align the data on a sector
+ This routine handles the single initial entry for a directory file. We will
+ round the start block down to a sector boundary. Our caller has already
+ biased the DataLength with any adjustments. This is used for the case
+ where there is a single entry and we want to align the data on a sector
boundary.
Arguments:
return;
}
-\f
+
VOID
CdTruncateAllocation (
_In_ PIRP_CONTEXT IrpContext,
return;
}
-\f
+
_At_(Fcb->NodeByteSize, _In_range_(>=, FIELD_OFFSET( FCB, FcbType )))
VOID
CdInitializeMcb (
PAGED_CODE();
UNREFERENCED_PARAMETER( IrpContext );
-
+
ASSERT_IRP_CONTEXT( IrpContext );
ASSERT_FCB( Fcb );
return;
}
-\f
+
_At_(Fcb->NodeByteSize, _In_range_(>=, FIELD_OFFSET( FCB, FcbType )))
_When_(Fcb->NodeTypeCode == CDFS_NTC_FCB_PATH_TABLE, _At_(Fcb->NodeByteSize, _In_range_(==, SIZEOF_FCB_INDEX)))
_When_(Fcb->NodeTypeCode == CDFS_NTC_FCB_INDEX, _At_(Fcb->NodeByteSize, _In_range_(==, SIZEOF_FCB_INDEX)))
PAGED_CODE();
UNREFERENCED_PARAMETER( IrpContext );
-
+
ASSERT_IRP_CONTEXT( IrpContext );
ASSERT_FCB( Fcb );
return;
}
-\f
+
//
// Local suupport routine
//
PAGED_CODE();
UNREFERENCED_PARAMETER( IrpContext );
-
+
ASSERT_IRP_CONTEXT( IrpContext );
ASSERT_FCB( Fcb );
ASSERT_LOCKED_FCB( Fcb );
return CurrentMcbOffset;
}
-\f
+
//
// Local support routine
//
PAGED_CODE();
UNREFERENCED_PARAMETER( IrpContext );
-
+
ASSERT_IRP_CONTEXT( IrpContext );
//