MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2DestroyMdl

Function Ext2DestroyMdl

Ext4Fsd/block.c:84–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83
84VOID
85Ext2DestroyMdl (IN PMDL Mdl)
86{
87 ASSERT (Mdl != NULL);
88 while (Mdl) {
89 PMDL Next;
90 Next = Mdl->Next;
91 Mdl->Next = NULL;
92 if (IsFlagOn(Mdl->MdlFlags, MDL_PAGES_LOCKED)) {
93 MmUnlockPages (Mdl);
94 }
95 IoFreeMdl (Mdl);
96 Mdl = Next;
97 }
98}
99
100NTSTATUS
101Ext2LockUserBuffer (IN PIRP Irp,

Callers 1

free_buffer_headFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected