ReactOS 0.4.15-dev-8191-gbc6c731
misc_common.cpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

VOID UDFSetModified (IN PVCB Vcb)
 
VOID UDFPreClrModified (IN PVCB Vcb)
 
VOID UDFClrModified (IN PVCB Vcb)
 

Function Documentation

◆ UDFClrModified()

VOID UDFClrModified ( IN PVCB  Vcb)

Definition at line 26 of file misc_common.cpp.

29{
30 UDFPrint(("ClrModified\n"));
31 UDFInterlockedDecrement((PLONG)&(Vcb->Modified));
32} // end UDFClrModified()
#define UDFInterlockedDecrement(addr)
Definition: env_spec_w32.h:677
#define Vcb
Definition: cdprocs.h:1415
int32_t * PLONG
Definition: typedefs.h:58
#define UDFPrint(Args)
Definition: udffs.h:223

Referenced by UDFCompleteMount(), UDFEjectReqWaiter(), UDFFlushLogicalVolume(), UDFLoadPartDesc(), and UDFProcessSequence().

◆ UDFPreClrModified()

VOID UDFPreClrModified ( IN PVCB  Vcb)

Definition at line 18 of file misc_common.cpp.

21{
22 Vcb->Modified = 1;
23} // end UDFPreClrModified()

Referenced by UDFCompleteMount(), UDFEjectReqWaiter(), UDFFlushLogicalVolume(), UDFLoadPartDesc(), and UDFProcessSequence().

◆ UDFSetModified()

VOID UDFSetModified ( IN PVCB  Vcb)

Definition at line 9 of file misc_common.cpp.

12{
13 if(UDFInterlockedIncrement((PLONG)&(Vcb->Modified)) & 0x80000000)
14 Vcb->Modified = 2;
15} // end UDFSetModified()
#define UDFInterlockedIncrement(addr)
Definition: env_spec_w32.h:675

Referenced by UDFMarkSpaceAsXXXNoProtect_(), UDFSetLabelInfo(), UDFWriteInSector(), and UDFWriteSectors().