#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
|
BOOLEAN NTAPI | FsRtlAddMcbEntry (IN PMCB Mcb, IN VBN Vbn, IN LBN Lbn, IN ULONG SectorCount) |
|
BOOLEAN NTAPI | FsRtlGetNextMcbEntry (IN PMCB Mcb, IN ULONG RunIndex, OUT PVBN Vbn, OUT PLBN Lbn, OUT PULONG SectorCount) |
|
VOID NTAPI | FsRtlInitializeMcb (IN PMCB Mcb, IN POOL_TYPE PoolType) |
|
BOOLEAN NTAPI | FsRtlLookupLastMcbEntry (IN PMCB Mcb, OUT PVBN Vbn, OUT PLBN Lbn) |
|
BOOLEAN NTAPI | FsRtlLookupMcbEntry (IN PMCB Mcb, IN VBN Vbn, OUT PLBN Lbn, OUT PULONG SectorCount OPTIONAL, OUT PULONG Index) |
|
ULONG NTAPI | FsRtlNumberOfRunsInMcb (IN PMCB Mcb) |
|
VOID NTAPI | FsRtlRemoveMcbEntry (IN PMCB Mcb, IN VBN Vbn, IN ULONG SectorCount) |
|
VOID NTAPI | FsRtlTruncateMcb (IN PMCB Mcb, IN VBN Vbn) |
|
VOID NTAPI | FsRtlUninitializeMcb (IN PMCB Mcb) |
|
◆ NDEBUG
Definition at line 12 of file mcb.c.
◆ FsRtlAddMcbEntry()
Definition at line 22 of file mcb.c.
26{
27
29 DummyFieldThatSizesThisStructureCorrectly,
33}
IN PVCB IN ULONG IN OUT PULONG IN BOOLEAN OUT PLARGE_MCB Mcb
_Must_inspect_result_ _In_ LONGLONG _In_ LONGLONG Lbn
BOOLEAN NTAPI FsRtlAddLargeMcbEntry(IN PLARGE_MCB Mcb, IN LONGLONG Vbn, IN LONGLONG Lbn, IN LONGLONG SectorCount)
◆ FsRtlGetNextMcbEntry()
Definition at line 40 of file mcb.c.
45{
50
51
53 &
Mcb->DummyFieldThatSizesThisStructureCorrectly,
55 &llVbn,
56 &llLbn,
57 &llSectorCount);
58
59
63
64
65 return Return;
66}
_Must_inspect_result_ _In_ ULONG RunIndex
BOOLEAN NTAPI FsRtlGetNextLargeMcbEntry(IN PLARGE_MCB Mcb, IN ULONG RunIndex, OUT PLONGLONG Vbn, OUT PLONGLONG Lbn, OUT PLONGLONG SectorCount)
◆ FsRtlInitializeMcb()
Definition at line 73 of file mcb.c.
75{
76
79}
VOID NTAPI FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb, IN POOL_TYPE PoolType)
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
◆ FsRtlLookupLastMcbEntry()
Definition at line 86 of file mcb.c.
89{
93
94
96 &
Mcb->DummyFieldThatSizesThisStructureCorrectly,
97 &llVbn,
98 &llLbn);
99
100
103
104
105 return Return;
106}
BOOLEAN NTAPI FsRtlLookupLastLargeMcbEntry(IN PLARGE_MCB Mcb, OUT PLONGLONG Vbn, OUT PLONGLONG Lbn)
◆ FsRtlLookupMcbEntry()
Definition at line 113 of file mcb.c.
118{
122
123
125 DummyFieldThatSizesThisStructureCorrectly,
127 &llLbn,
128 &llSectorCount,
132
133
136
137
138 return Return;
139}
BOOLEAN NTAPI FsRtlLookupLargeMcbEntry(IN PLARGE_MCB Mcb, IN LONGLONG Vbn, OUT PLONGLONG Lbn OPTIONAL, OUT PLONGLONG SectorCountFromLbn OPTIONAL, OUT PLONGLONG StartingLbn OPTIONAL, OUT PLONGLONG SectorCountFromStartingLbn OPTIONAL, OUT PULONG Index OPTIONAL)
_In_ WDFCOLLECTION _In_ ULONG Index
◆ FsRtlNumberOfRunsInMcb()
Definition at line 146 of file mcb.c.
147{
148
150 &
Mcb->DummyFieldThatSizesThisStructureCorrectly);
151}
ULONG NTAPI FsRtlNumberOfRunsInLargeMcb(IN PLARGE_MCB Mcb)
◆ FsRtlRemoveMcbEntry()
Definition at line 158 of file mcb.c.
161{
162
166}
VOID NTAPI FsRtlRemoveLargeMcbEntry(IN PLARGE_MCB Mcb, IN LONGLONG Vbn, IN LONGLONG SectorCount)
◆ FsRtlTruncateMcb()
Definition at line 173 of file mcb.c.
175{
176
179}
VOID NTAPI FsRtlTruncateLargeMcb(IN PLARGE_MCB Mcb, IN LONGLONG Vbn)
◆ FsRtlUninitializeMcb()
Definition at line 186 of file mcb.c.
187{
188
190}
VOID NTAPI FsRtlUninitializeLargeMcb(IN PLARGE_MCB Mcb)