ReactOS  0.4.14-dev-98-gb0d4763
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 UDFPrint(Args)
Definition: udffs.h:225
#define UDFInterlockedDecrement(addr)
Definition: env_spec_w32.h:677
#define Vcb
Definition: cdprocs.h:1425
signed int * PLONG
Definition: retypes.h:5

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()
#define Vcb
Definition: cdprocs.h:1425

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 Vcb
Definition: cdprocs.h:1425
#define UDFInterlockedIncrement(addr)
Definition: env_spec_w32.h:675
signed int * PLONG
Definition: retypes.h:5

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