MiUnlockAndDereferenceNestedVad

VOID __fastcall MiUnlockAndDereferenceNestedVad(_MMVAD_SHORT *P){
  NTSTATUS v2; 

  v2 = MiDereferenceVad(P);
  MiUnlockNestedVad(P);
  if( v2 == 1 )
    ExFreePoolWithTag(P, 0);
}

Referenced by:

MiFinishVadDeletion
MiMapViewOfDataSection
MiReserveUserMemory