Author: sginsberg Date: Wed Jul 15 21:40:44 2009 New Revision: 41986
URL: http://svn.reactos.org/svn/reactos?rev=41986&view=rev Log: - What's the deal with using Iof* and Obf*, Arch?
Modified: trunk/reactos/drivers/filesystems/fastfat/misc.c trunk/reactos/hal/halppc/generic/dma.c trunk/reactos/hal/halx86/generic/dma.c trunk/reactos/ntoskrnl/fsrtl/fastio.c trunk/reactos/ntoskrnl/mm/section.c trunk/reactos/ntoskrnl/se/token.c
Modified: trunk/reactos/drivers/filesystems/fastfat/misc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat... ============================================================================== --- trunk/reactos/drivers/filesystems/fastfat/misc.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fastfat/misc.c [iso-8859-1] Wed Jul 15 21:40:44 2009 @@ -86,7 +86,7 @@
Fail:; IrpContext->Irp->IoStatus.Status = Status; - IofCompleteRequest(IrpContext->Irp, (CCHAR)(NT_SUCCESS(Status) ? IO_DISK_INCREMENT : IO_NO_INCREMENT)); + IoCompleteRequest(IrpContext->Irp, (CCHAR)(NT_SUCCESS(Status) ? IO_DISK_INCREMENT : IO_NO_INCREMENT)); VfatFreeIrpContext(IrpContext); return Status; }
Modified: trunk/reactos/hal/halppc/generic/dma.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halppc/generic/dma.c?re... ============================================================================== --- trunk/reactos/hal/halppc/generic/dma.c [iso-8859-1] (original) +++ trunk/reactos/hal/halppc/generic/dma.c [iso-8859-1] Wed Jul 15 21:40:44 2009 @@ -770,7 +770,7 @@ { if (!HalpDmaInitializeEisaAdapter(AdapterObject, DeviceDescription)) { - ObfDereferenceObject(AdapterObject); + ObDereferenceObject(AdapterObject); return NULL; } } @@ -817,7 +817,7 @@ KeSetEvent(&HalpDmaLock, 0, 0); }
- ObfDereferenceObject(AdapterObject); + ObDereferenceObject(AdapterObject); }
/**
Modified: trunk/reactos/hal/halx86/generic/dma.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/dma.c?re... ============================================================================== --- trunk/reactos/hal/halx86/generic/dma.c [iso-8859-1] (original) +++ trunk/reactos/hal/halx86/generic/dma.c [iso-8859-1] Wed Jul 15 21:40:44 2009 @@ -770,7 +770,7 @@ { if (!HalpDmaInitializeEisaAdapter(AdapterObject, DeviceDescription)) { - ObfDereferenceObject(AdapterObject); + ObDereferenceObject(AdapterObject); return NULL; } } @@ -817,7 +817,7 @@ KeSetEvent(&HalpDmaLock, 0, 0); }
- ObfDereferenceObject(AdapterObject); + ObDereferenceObject(AdapterObject); }
/**
Modified: trunk/reactos/ntoskrnl/fsrtl/fastio.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/fastio.c?rev... ============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/fastio.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/fastio.c [iso-8859-1] Wed Jul 15 21:40:44 2009 @@ -746,7 +746,7 @@ IoStackLocation->Parameters.QueryFile.FileInformationClass = FileStandardInformation;
/* Send the IRP to the related device object */ - Status = IofCallDriver(DeviceObject,Irp); + Status = IoCallDriver(DeviceObject,Irp);
/* Standard DDK IRP result processing */ if (Status == STATUS_PENDING)
Modified: trunk/reactos/ntoskrnl/mm/section.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/section.c?rev=4... ============================================================================== --- trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] Wed Jul 15 21:40:44 2009 @@ -4427,7 +4427,7 @@
if (!(Section->AllocationAttributes & SEC_FILE)) { - ObfDereferenceObject(Section); + ObDereferenceObject(Section); return STATUS_INVALID_PARAMETER; }
Modified: trunk/reactos/ntoskrnl/se/token.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/token.c?rev=419... ============================================================================== --- trunk/reactos/ntoskrnl/se/token.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/se/token.c [iso-8859-1] Wed Jul 15 21:40:44 2009 @@ -2239,7 +2239,7 @@ &ImpersonationLevel); if (Token == NULL) { - ObfDereferenceObject(Thread); + ObDereferenceObject(Thread); return STATUS_NO_TOKEN; }
@@ -2247,7 +2247,7 @@
if (ImpersonationLevel == SecurityAnonymous) { - ObfDereferenceObject(Token); + ObDereferenceObject(Token); return STATUS_CANT_OPEN_ANONYMOUS; }
@@ -2267,7 +2267,7 @@ (PVOID*)&Thread, NULL); if (!NT_SUCCESS(Status)) { - ObfDereferenceObject(Token); + ObDereferenceObject(Token); if (OpenAsSelf) { PsRestoreImpersonation(PsGetCurrentThread(), &ImpersonationState); @@ -2278,11 +2278,11 @@ PrimaryToken = PsReferencePrimaryToken(Thread->ThreadsProcess); Status = SepCreateImpersonationTokenDacl(Token, PrimaryToken, &Dacl); ASSERT(FALSE); - ObfDereferenceObject(PrimaryToken); - ObfDereferenceObject(Thread); + ObDereferenceObject(PrimaryToken); + ObDereferenceObject(Thread); if (!NT_SUCCESS(Status)) { - ObfDereferenceObject(Token); + ObDereferenceObject(Token); if (OpenAsSelf) { PsRestoreImpersonation(PsGetCurrentThread(), &ImpersonationState); @@ -2304,7 +2304,7 @@ ExFreePool(Dacl); if (!NT_SUCCESS(Status)) { - ObfDereferenceObject(Token); + ObDereferenceObject(Token); if (OpenAsSelf) { PsRestoreImpersonation(PsGetCurrentThread(), &ImpersonationState); @@ -2323,7 +2323,7 @@ PreviousMode, &hToken); }
- ObfDereferenceObject(Token); + ObDereferenceObject(Token);
if (OpenAsSelf) {