[FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces

This commit is contained in:
Victor Perevertkin 2021-06-11 15:29:21 +03:00
parent 4b4ffa92f5
commit 34593d933b
No known key found for this signature in database
GPG Key ID: C750B7222E9C7830
952 changed files with 12942 additions and 12942 deletions

View File

@ -83,7 +83,7 @@ CdDiskOffsetFromMcbEntry (
#pragma alloc_text(PAGE, CdUninitializeMcb)
#endif
_Requires_lock_held_(_Global_critical_region_)
VOID
#ifdef _MSC_VER
@ -330,7 +330,7 @@ Return Value:
return;
}
VOID
CdAddAllocationFromDirent (
_In_ PIRP_CONTEXT IrpContext,
@ -479,7 +479,7 @@ Return Value:
return;
}
VOID
CdAddInitialAllocation (
_In_ PIRP_CONTEXT IrpContext,
@ -570,7 +570,7 @@ Return Value:
return;
}
VOID
CdTruncateAllocation (
_In_ PIRP_CONTEXT IrpContext,
@ -623,7 +623,7 @@ Return Value:
return;
}
_At_(Fcb->NodeByteSize, _In_range_(>=, FIELD_OFFSET( FCB, FcbType )))
VOID
CdInitializeMcb (
@ -672,7 +672,7 @@ Return Value:
return;
}
_At_(Fcb->NodeByteSize, _In_range_(>=, FIELD_OFFSET( FCB, FcbType )))
_When_(Fcb->NodeTypeCode == CDFS_NTC_FCB_PATH_TABLE, _At_(Fcb->NodeByteSize, _In_range_(==, SIZEOF_FCB_INDEX)))
_When_(Fcb->NodeTypeCode == CDFS_NTC_FCB_INDEX, _At_(Fcb->NodeByteSize, _In_range_(==, SIZEOF_FCB_INDEX)))
@ -723,7 +723,7 @@ Return Value:
return;
}
//
// Local suupport routine
//
@ -803,7 +803,7 @@ Return Value:
return CurrentMcbOffset;
}
//
// Local support routine
//

View File

@ -33,7 +33,7 @@ Abstract:
#pragma alloc_text(PAGE, CdPurgeVolume)
#endif
VOID
CdCreateInternalStream (
_In_ PIRP_CONTEXT IrpContext,
@ -328,7 +328,7 @@ Return Value:
return;
}
VOID
CdDeleteInternalStream (
_In_ PIRP_CONTEXT IrpContext,
@ -406,7 +406,7 @@ Return Value:
}
}
NTSTATUS
CdCompleteMdl (
_In_ PIRP_CONTEXT IrpContext,
@ -458,7 +458,7 @@ Return Value:
return STATUS_SUCCESS;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS

View File

@ -99,7 +99,7 @@ typedef FILE_ID *PFILE_ID;
#define TOC_DATA_TRACK (0x04)
#define TOC_LAST_TRACK (0xaa)
//
// There is considerable rearrangement of the volume descriptors for
// ISO and HSG. However, within each standard the same structure can
@ -122,7 +122,7 @@ typedef FILE_ID *PFILE_ID;
#define MAX_FILE_ID_LENGTH (255)
typedef struct _RAW_ISO_VD {
UCHAR DescType; // volume type: 1 = standard, 2 = coded
@ -165,7 +165,7 @@ typedef struct _RAW_ISO_VD {
} RAW_ISO_VD;
typedef RAW_ISO_VD *PRAW_ISO_VD;
typedef struct _RAW_HSG_VD {
ULONG BlkNumI; // logical block number Intel
@ -209,7 +209,7 @@ typedef struct _RAW_HSG_VD {
} RAW_HSG_VD;
typedef RAW_HSG_VD *PRAW_HSG_VD;
typedef struct _RAW_JOLIET_VD {
UCHAR DescType; // volume type: 2 = coded
@ -316,7 +316,7 @@ typedef RAW_JOLIET_VD *PRAW_JOLIET_VD;
((PRAW_ISO_VD) (R))->VolSpaceI \
)
//
// This structure is used to overlay a region of a disk sector
// to retrieve a single directory entry. There is a difference
@ -409,7 +409,7 @@ typedef RAW_DIRENT *PRAW_DIRENT;
} \
}
//
// The on-disk representation of a Path Table entry differs between
// the ISO version and the HSG version. The fields are the same
@ -470,7 +470,7 @@ typedef RAW_PATH_HSG *PRAW_PATH_HSG;
(RP)->DirLoc \
)
//
// System use are for XA data. The following is the system use area for
// directory entries on XA data disks.

View File

@ -610,7 +610,7 @@ Return Value:
return EXCEPTION_EXECUTE_HANDLER;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
@ -909,7 +909,7 @@ Return Value:
return ExceptionCode;
}
VOID
CdCompleteRequest (
_Inout_opt_ PIRP_CONTEXT IrpContext,
@ -976,7 +976,7 @@ Return Value:
return;
}
VOID
CdSetThreadContext (
_Inout_ PIRP_CONTEXT IrpContext,
@ -1180,7 +1180,7 @@ Return Value:
return FALSE;
}
ULONG
CdSerial32 (
_In_reads_bytes_(ByteCount) PCHAR Buffer,

View File

@ -57,7 +57,7 @@ CdInitializeGlobalData (
#pragma alloc_text(INIT, CdInitializeGlobalData)
#endif
//
// Local support routine
//
@ -302,7 +302,7 @@ Return Value:
ObDereferenceObject (CdData.HddFileSystemDeviceObject);
#endif
}
//
// Local support routine
//

View File

@ -145,7 +145,7 @@ Abstract:
DELETE | \
WRITE_DAC ))
//
// Allocation support routines, implemented in AllocSup.c
//
@ -203,7 +203,7 @@ CdUninitializeMcb (
_Inout_updates_bytes_(Fcb->NodeByteSize) PFCB Fcb
);
//
// Buffer control routines for data caching, implemented in CacheSup.c
//
@ -269,7 +269,7 @@ CdVerifyOrCreateDirStreamFile (
#define CdUnpinData(IC,B) \
if (*(B) != NULL) { CcUnpinData( *(B) ); *(B) = NULL; }
//
// Device I/O routines, implemented in DevIoSup.c
//
@ -396,7 +396,7 @@ CdHijackIrpAndFlushDevice (
} \
}
//
// Dirent support routines, implemented in DirSup.c
//
@ -417,7 +417,7 @@ CdLookupNextDirent (
_Inout_ PDIRENT_ENUM_CONTEXT NextDirContext
);
_At_(Dirent->CdTime, _Post_notnull_)
_At_(Dirent->CdTime, _Post_notnull_)
VOID
CdUpdateDirentFromRawDirent (
_In_ PIRP_CONTEXT IrpContext,
@ -558,7 +558,7 @@ CdCleanupFileContext (
&(FC)->InitialDirent->DirContext, \
&(FC)->InitialDirent->Dirent )
//
// The following routines are used to manipulate the fscontext fields
// of the file object, implemented in FilObSup.c
@ -609,7 +609,7 @@ CdFastDecodeFileObject (
_Out_ PFCB *Fcb
);
//
// Name support routines, implemented in NameSup.c
//
@ -687,7 +687,7 @@ CdFullCompareNames (
_In_ PUNICODE_STRING NameB
);
//
// Filesystem control operations. Implemented in Fsctrl.c
//
@ -708,7 +708,7 @@ CdUnlockVolumeInternal (
_In_opt_ PFILE_OBJECT FileObject
);
//
// Path table enumeration routines. Implemented in PathSup.c
//
@ -729,7 +729,7 @@ CdLookupNextPathEntry (
_Inout_ PPATH_ENTRY PathEntry
);
_Success_(return != FALSE)
_Success_(return != FALSE)
BOOLEAN
CdFindPathEntry (
_In_ PIRP_CONTEXT IrpContext,
@ -773,7 +773,7 @@ CdUpdatePathEntryName (
} \
}
//
// Largest matching prefix searching routines, implemented in PrefxSup.c
//
@ -803,7 +803,7 @@ CdFindPrefix (
_In_ BOOLEAN IgnoreCase
);
//
// Synchronization routines. Implemented in Resrcsup.c
//
@ -1132,7 +1132,7 @@ CdReleaseForCreateSection (
_In_ PFILE_OBJECT FileObject
);
//
// In-memory structure support routines. Implemented in StrucSup.c
//
@ -1468,7 +1468,7 @@ CdDismountVcb (
((S) == STATUS_NO_MEDIA_IN_DEVICE) \
)
//
// Work queue routines for posting and retrieving an Irp, implemented in
// workque.c
@ -1497,7 +1497,7 @@ CdOplockComplete (
_Inout_ PIRP Irp
);
//
// Miscellaneous support routines
//
@ -2025,7 +2025,7 @@ CdSerial32 (
FastIoIsPossible)) \
)
//
// The FSP level dispatch/main routine. This is the routine that takes
// IRP's off of the work queue and calls the appropriate FSP level
@ -2146,7 +2146,7 @@ CdCommonShutdown ( // Implemented in Shutdown.c
);
//
// The following macros are used to establish the semantics needed
// to do a return from within a try-finally clause. As a rule every

View File

@ -69,7 +69,7 @@ Abstract:
+--------+ | Child |
| File |
+--------+
Attached to each Directory Fcb is a prefix table containing the names
of children of this directory for which there is an Fcb. Not all Fcb's
will necessarily have an entry in this table.
@ -112,7 +112,7 @@ Abstract:
| Object|
+--------+
Synchronization:
1. A resource in the CdData synchronizes access to the Vcb queue. This
@ -170,7 +170,7 @@ typedef PVOID PBCB; //**** Bcb's are now part of the cache module
#define BYTE_COUNT_EMBEDDED_NAME (32)
//
// The CD_MCB is used to store the mapping of logical file offset to
// logical disk offset. NOTE - This package only deals with the
@ -226,7 +226,7 @@ typedef struct _CD_MCB_ENTRY {
} CD_MCB_ENTRY;
typedef CD_MCB_ENTRY *PCD_MCB_ENTRY;
//
// Cd name structure. The following structure is used to represent the
// full Cdrom name. This name can be stored in either Unicode or ANSI
@ -265,7 +265,7 @@ typedef struct _NAME_LINK {
} NAME_LINK;
typedef NAME_LINK *PNAME_LINK;
//
// Prefix entry. There is one of these for each name in the prefix table.
// An Fcb will have one of these embedded for the long name and an optional
@ -306,7 +306,7 @@ typedef PREFIX_ENTRY *PPREFIX_ENTRY;
#define PREFIX_FLAG_EXACT_CASE_IN_TREE (0x00000001)
#define PREFIX_FLAG_IGNORE_CASE_IN_TREE (0x00000002)
//
// The CD_DATA record is the top record in the CDROM file system in-memory
// data structure. This structure must be allocated from non-paged pool.
@ -715,7 +715,7 @@ typedef struct _VCB {
#define VCB_STATE_SHUTDOWN (0x00000400)
#define VCB_STATE_DISMOUNTED (0x00000800)
//
// The Volume Device Object is an I/O system device object with a
// workqueue and an VCB record appended to the end. There are multiple
@ -768,7 +768,7 @@ typedef struct _VOLUME_DEVICE_OBJECT {
} VOLUME_DEVICE_OBJECT;
typedef VOLUME_DEVICE_OBJECT *PVOLUME_DEVICE_OBJECT;
//
// The following two structures are the separate union structures for
// data and index Fcb's. The path table is actually the same structure
@ -1059,7 +1059,7 @@ typedef FCB *PFCB;
#define SIZEOF_FCB_INDEX \
(FIELD_OFFSET( FCB, FcbType ) + sizeof( FCB_INDEX ))
//
// The Ccb record is allocated for every file object
//
@ -1119,7 +1119,7 @@ typedef CCB *PCCB;
#define CCB_FLAG_ENUM_INITIALIZED (0x00200000)
#define CCB_FLAG_ENUM_NOMATCH_CONSTANT_ENTRY (0x00400000)
//
// The Irp Context record is allocated for every orginating Irp. It is
// created by the Fsd dispatch routines, and deallocated by the CdComplete
@ -1265,7 +1265,7 @@ typedef IRP_CONTEXT *PIRP_CONTEXT;
IRP_CONTEXT_FLAG_IN_FSP \
)
//
// Following structure is used to queue a request to the delayed close queue.
// This structure should be the minimum block allocation size.
@ -1307,7 +1307,7 @@ typedef struct _IRP_CONTEXT_LITE {
} IRP_CONTEXT_LITE;
typedef IRP_CONTEXT_LITE *PIRP_CONTEXT_LITE;
//
// Context structure for asynchronous I/O calls. Most of these fields
// are actually only required for the ReadMultiple routines, but
@ -1350,7 +1350,7 @@ typedef struct _CD_IO_CONTEXT {
} CD_IO_CONTEXT;
typedef CD_IO_CONTEXT *PCD_IO_CONTEXT;
//
// Following structure is used to track the top level request. Each Cdfs
// Fsd and Fsp entry point will examine the top level irp location in the
@ -1385,7 +1385,7 @@ typedef struct _THREAD_CONTEXT {
} THREAD_CONTEXT;
typedef THREAD_CONTEXT *PTHREAD_CONTEXT;
//
// The following structure is used for enumerating the entries in the
// path table. We will always map this two sectors at a time so we don't
@ -1452,7 +1452,7 @@ typedef PATH_ENUM_CONTEXT *PPATH_ENUM_CONTEXT;
#define VACB_MAPPING_MASK (VACB_MAPPING_GRANULARITY - 1)
#define LAST_VACB_SECTOR_OFFSET (VACB_MAPPING_GRANULARITY - SECTOR_SIZE)
//
// Path Entry. This is our representation of the on disk data.
//
@ -1516,7 +1516,7 @@ typedef PATH_ENTRY *PPATH_ENTRY;
#define PATH_ENTRY_FLAG_ALLOC_BUFFER (0x00000001)
//
// Compound path entry. This structure combines the on-disk entries
// with the in-memory structures.
@ -1530,7 +1530,7 @@ typedef struct _COMPOUND_PATH_ENTRY {
} COMPOUND_PATH_ENTRY;
typedef COMPOUND_PATH_ENTRY *PCOMPOUND_PATH_ENTRY;
//
// The following is used for enumerating through a directory via the
// dirents.
@ -1568,7 +1568,7 @@ typedef struct _DIRENT_ENUM_CONTEXT {
} DIRENT_ENUM_CONTEXT;
typedef DIRENT_ENUM_CONTEXT *PDIRENT_ENUM_CONTEXT;
//
// Following structure is used to smooth out the differences in the HSG, ISO
// and Joliett directory entries.
@ -1672,7 +1672,7 @@ typedef DIRENT *PDIRENT;
#define DIRENT_FLAG_NOT_PERSISTENT (0)
//
// Following structure combines the on-disk information with the normalized
// structure.
@ -1686,7 +1686,7 @@ typedef struct _COMPOUND_DIRENT {
} COMPOUND_DIRENT;
typedef COMPOUND_DIRENT *PCOMPOUND_DIRENT;
//
// The following structure is used to enumerate the files in a directory.
// It contains three DirContext/Dirent pairs and then self pointers to
@ -1738,7 +1738,7 @@ typedef FILE_ENUM_CONTEXT *PFILE_ENUM_CONTEXT;
#define FILE_CONTEXT_MULTIPLE_DIRENTS (0x00000001)
//
// RIFF header. Prepended to the data of a file containing XA sectors.
// This is a hard-coded structure except that we bias the 'ChunkSize' and
@ -1787,7 +1787,7 @@ typedef struct _AUDIO_PLAY_HEADER {
} AUDIO_PLAY_HEADER;
typedef AUDIO_PLAY_HEADER *PAUDIO_PLAY_HEADER;
//
// Some macros for supporting the use of a Generic Table
// containing all the FCB/DCBs and indexed by their FileId.

View File

@ -532,7 +532,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local support routine
//
@ -685,7 +685,7 @@ Return Value:
CdFspClose (NULL);
}
VOID
CdQueueClose (
_In_ PIRP_CONTEXT IrpContext,
@ -868,7 +868,7 @@ Return Value:
return;
}
//
// Local support routine
//

View File

@ -116,7 +116,7 @@ CdCompleteFcbOpen (
#pragma alloc_text(PAGE, CdOpenFileFromFileContext)
#endif
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
#ifdef _MSC_VER
@ -1018,7 +1018,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -1469,7 +1469,7 @@ Return Value:
#endif
}
//
// Local support routine
//
@ -1973,7 +1973,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -2075,7 +2075,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -2358,7 +2358,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -2648,7 +2648,7 @@ Return Value:
return Status;
}
//
// Local support routine
//

View File

@ -41,7 +41,7 @@ CdDevCtrlCompletionRoutine (
#pragma alloc_text(PAGE, CdCommonDevControl)
#endif
NTSTATUS
CdCommonDevControl (
_Inout_ PIRP_CONTEXT IrpContext,
@ -167,7 +167,7 @@ Return Value:
return Status;
}
//
// Local support routine
//

View File

@ -297,7 +297,7 @@ Return Value:
return YellowMode2;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
CdNonCachedRead (
@ -583,7 +583,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
@ -1075,7 +1075,7 @@ Return Value:
}
BOOLEAN
CdReadSectors (
_In_ PIRP_CONTEXT IrpContext,
@ -1216,7 +1216,7 @@ Return Value:
}
}
NTSTATUS
CdCreateUserMdl (
_In_ PIRP_CONTEXT IrpContext,
@ -1324,7 +1324,7 @@ Return Value:
return Status;
}
NTSTATUS
CdPerformDevIoCtrlEx (
_In_ PIRP_CONTEXT IrpContext,
@ -1469,7 +1469,7 @@ CdPerformDevIoCtrl (
}
//
// Local support routine
//
@ -1769,7 +1769,7 @@ Return Value:
return FoundUnaligned;
}
//
// Local support routine
//
@ -2210,7 +2210,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -3035,7 +3035,7 @@ Return Value:
}
}
//
// Local support routine
//
@ -3261,7 +3261,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -3390,7 +3390,7 @@ Return Value:
(VOID)IoCallDriver( IrpContext->Vcb->TargetDeviceObject, IrpContext->Irp );
}
//
// Local support routine
//
@ -3428,7 +3428,7 @@ Return Value:
KeClearEvent( &IrpContext->IoContext->SyncEvent );
}
//
// Local support routine
//
@ -3516,7 +3516,7 @@ Return Value:
return STATUS_MORE_PROCESSING_REQUIRED;
}
//
// Local support routine
//
@ -3636,7 +3636,7 @@ Return Value:
}
//
// Local support routine
//
@ -3700,7 +3700,7 @@ Return Value:
return STATUS_MORE_PROCESSING_REQUIRED;
}
//
// Local support routine
//
@ -3777,7 +3777,7 @@ Return Value:
}
//
// Local support routine
//

View File

@ -73,7 +73,7 @@ CdEnumerateIndex (
#pragma alloc_text(PAGE, CdQueryDirectory)
#endif
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
@ -151,7 +151,7 @@ Return Value:
return Status;
}
//
// Local support routines
//
@ -784,7 +784,7 @@ Return Value:
return Status;
}
//
// Local support routines
//
@ -884,7 +884,7 @@ Return Value:
return STATUS_PENDING;
}
//
// Local support routine
//
@ -1349,7 +1349,7 @@ Return Value:
return;
}
//
// Local support routine
//

View File

@ -120,7 +120,7 @@ CdCheckForXAExtent (
#pragma alloc_text(PAGE, CdUpdateDirentName)
#endif
VOID
CdLookupDirent (
_In_ PIRP_CONTEXT IrpContext,
@ -203,7 +203,7 @@ Return Value:
return;
}
BOOLEAN
CdLookupNextDirent (
_In_ PIRP_CONTEXT IrpContext,
@ -391,7 +391,7 @@ Return Value:
}
_At_(Dirent->CdTime, _Post_notnull_)
_At_(Dirent->CdTime, _Post_notnull_)
VOID
CdUpdateDirentFromRawDirent (
_In_ PIRP_CONTEXT IrpContext,
@ -529,7 +529,7 @@ Return Value:
return;
}
VOID
CdUpdateDirentName (
_In_ PIRP_CONTEXT IrpContext,
@ -819,7 +819,7 @@ Return Value:
return;
}
_Success_(return != FALSE) BOOLEAN
CdFindFile (
_In_ PIRP_CONTEXT IrpContext,
@ -992,7 +992,7 @@ Return Value:
return Found;
}
BOOLEAN
CdFindDirectory (
_In_ PIRP_CONTEXT IrpContext,
@ -1102,7 +1102,7 @@ Return Value:
return Found;
}
_At_(FileContext->ShortName.FileName.MaximumLength, _In_range_(>=, BYTE_COUNT_8_DOT_3))
BOOLEAN
CdFindFileByShortName (
@ -1270,7 +1270,7 @@ Return Value:
return Found;
}
BOOLEAN
CdLookupNextInitialFileDirent (
_In_ PIRP_CONTEXT IrpContext,
@ -1421,7 +1421,7 @@ Return Value:
return FoundDirent;
}
VOID
CdLookupLastFileDirent (
_In_ PIRP_CONTEXT IrpContext,
@ -1631,7 +1631,7 @@ Return Value:
return;
}
VOID
CdCleanupFileContext (
_In_ PIRP_CONTEXT IrpContext,
@ -1679,7 +1679,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -1781,7 +1781,7 @@ Return Value:
return NextDirentOffset;
}
//
// Local support routine
//

View File

@ -108,7 +108,7 @@ CdQueryNetworkInfo (
#pragma alloc_text(PAGE, CdQueryStandardInfo)
#endif
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
CdCommonQueryInfo (
@ -348,7 +348,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
CdCommonSetInfo (
@ -463,7 +463,7 @@ Return Value:
_Function_class_(FAST_IO_QUERY_BASIC_INFO)
_IRQL_requires_same_
_IRQL_requires_same_
_Success_(return != FALSE)
BOOLEAN
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
@ -855,7 +855,7 @@ Return Value:
return Result;
}
//
// Local support routine
//
@ -918,7 +918,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -993,7 +993,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -1043,7 +1043,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -1094,7 +1094,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -1149,7 +1149,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -1225,7 +1225,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -1454,7 +1454,7 @@ Return Value:
return Status;
}
//
// Local support routine
//

View File

@ -201,7 +201,7 @@ Return Value:
return TypeOfOpen;
}
TYPE_OF_OPEN
CdFastDecodeFileObject (
_In_ PFILE_OBJECT FileObject,

View File

@ -172,7 +172,7 @@ CdFindActiveVolDescriptor (
#pragma alloc_text(PAGE, CdVerifyVolume)
#endif
//
// Local support routine
//
@ -283,7 +283,7 @@ Return Value:
return FinalStatus;
}
NTSTATUS
CdUnlockVolumeInternal (
_In_ PIRP_CONTEXT IrpContext,
@ -342,7 +342,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
@ -407,7 +407,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -1301,7 +1301,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -1773,7 +1773,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -1930,7 +1930,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -2028,7 +2028,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -2118,7 +2118,7 @@ Return Value:
}
//
// Local support routine
//
@ -2250,7 +2250,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -2351,7 +2351,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local support routine
//
@ -2412,7 +2412,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local support routine
//
@ -2447,7 +2447,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local support routine
//
@ -2818,7 +2818,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -3131,7 +3131,7 @@ Return Value:
return FoundVd;
}
//
// Local support routine
//
@ -3280,7 +3280,7 @@ Return Value:
return Remount;
}
//
// Local support routine
//

View File

@ -22,7 +22,7 @@ Abstract:
#define BugCheckFileId (CDFS_BUG_CHECK_FSPDISP)
VOID
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdFspDispatch (

View File

@ -30,7 +30,7 @@ Abstract:
#pragma alloc_text(PAGE, CdFastUnlockSingle)
#endif
NTSTATUS
CdCommonLockControl (
_Inout_ PIRP_CONTEXT IrpContext,
@ -136,7 +136,7 @@ Return Value:
return Status;
}
BOOLEAN
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdFastLock (
@ -288,7 +288,7 @@ Return Value:
return Results;
}
BOOLEAN
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdFastUnlockSingle (
@ -431,7 +431,7 @@ Return Value:
return Results;
}
BOOLEAN
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdFastUnlockAll (
@ -556,7 +556,7 @@ Return Value:
return Results;
}
BOOLEAN
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdFastUnlockAllByKey (

View File

@ -34,7 +34,7 @@ Abstract:
#pragma alloc_text(PAGE, CdUpcaseName)
#endif
_Post_satisfies_(_Old_(CdName->FileName.Length) >=
CdName->FileName.Length + CdName->VersionString.Length)
VOID
@ -105,7 +105,7 @@ Return Value:
return;
}
VOID
CdConvertBigToLittleEndian (
_In_ PIRP_CONTEXT IrpContext,
@ -189,7 +189,7 @@ Return Value:
return;
}
VOID
CdUpcaseName (
_In_ PIRP_CONTEXT IrpContext,
@ -296,7 +296,7 @@ Return Value:
return;
}
VOID
CdDissectName (
_In_ PIRP_CONTEXT IrpContext,
@ -372,7 +372,7 @@ Return Value:
return;
}
BOOLEAN
CdIsLegalName (
_In_ PIRP_CONTEXT IrpContext,
@ -424,7 +424,7 @@ Return Value:
return TRUE;
}
BOOLEAN
CdIs8dot3Name (
_In_ PIRP_CONTEXT IrpContext,
@ -545,7 +545,7 @@ Return Value:
return FsRtlIsFatDbcsLegal( DbcsName, FALSE, FALSE, FALSE );
}
VOID
CdGenerate8dot3Name (
_In_ PIRP_CONTEXT IrpContext,
@ -839,7 +839,7 @@ Return Value:
*ShortByteCount = Length;
}
BOOLEAN
CdIsNameInExpression (
_In_ PIRP_CONTEXT IrpContext,
@ -950,7 +950,7 @@ Return Value:
return Match;
}
ULONG
CdShortNameDirentOffset (
_In_ PIRP_CONTEXT IrpContext,
@ -1055,7 +1055,7 @@ Return Value:
return ResultOffset;
}
//
// Local support routine
//

View File

@ -53,7 +53,7 @@ typedef CSHORT NODE_BYTE_SIZE;
#ifndef SafeNodeType
#define SafeNodeType(Ptr) (*((PNODE_TYPE_CODE)(Ptr)))
#endif
//
// The following definitions are used to generate meaningful blue bugcheck
// screens. On a bugcheck the file system can output 4 ulongs of useful

View File

@ -127,7 +127,7 @@ CdUpdatePathEntryFromRawPathEntry (
#pragma alloc_text(PAGE, CdUpdatePathEntryName)
#endif
VOID
CdLookupPathEntry (
_In_ PIRP_CONTEXT IrpContext,
@ -202,7 +202,7 @@ Return Value:
&CompoundPathEntry->PathEntry );
}
BOOLEAN
CdLookupNextPathEntry (
_In_ PIRP_CONTEXT IrpContext,
@ -297,7 +297,7 @@ Return Value:
PathEntry );
}
_Success_(return != FALSE)
_Success_(return != FALSE)
BOOLEAN
CdFindPathEntry (
_In_ PIRP_CONTEXT IrpContext,
@ -475,7 +475,7 @@ Return Value:
return Found;
}
//
// Local support routine
//
@ -628,7 +628,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -772,7 +772,7 @@ Return Value:
return TRUE;
}
//
// Local support routine
//

View File

@ -47,7 +47,7 @@ CdInsertNameLink (
#pragma alloc_text(PAGE, CdRemovePrefix)
#endif
VOID
CdInsertPrefix (
_In_ PIRP_CONTEXT IrpContext,
@ -202,7 +202,7 @@ Return Value:
return;
}
VOID
CdRemovePrefix (
_In_ PIRP_CONTEXT IrpContext,
@ -282,7 +282,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -456,7 +456,7 @@ Return Value:
}
}
//
// Local support routine
//
@ -559,7 +559,7 @@ Return Value:
return NULL;
}
//
// Local support routine
//

View File

@ -63,7 +63,7 @@ __pragma(warning(suppress: 6320)) \
#pragma alloc_text(PAGE, CdCommonRead)
#endif
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS

View File

@ -31,7 +31,7 @@ Abstract:
#pragma alloc_text(PAGE, CdReleaseFromCache)
#endif
_Requires_lock_held_(_Global_critical_region_)
_When_(Type == AcquireExclusive && return != FALSE, _Acquires_exclusive_lock_(*Resource))
@ -130,7 +130,7 @@ Return Value:
return Acquired;
}
_Requires_lock_held_(_Global_critical_region_)
_When_(return!=0, _Acquires_shared_lock_(*Fcb->Resource))
@ -175,7 +175,7 @@ Return Value:
return TRUE;
}
_Requires_lock_held_(_Global_critical_region_)
_Releases_lock_(*Fcb->Resource)
VOID
@ -212,7 +212,7 @@ Return Value:
ExReleaseResourceLite( Fcb->Resource );
}
BOOLEAN
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdNoopAcquire (
@ -248,7 +248,7 @@ Return Value:
return TRUE;
}
VOID
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdNoopRelease (
@ -362,7 +362,7 @@ Return Value:
UNREFERENCED_PARAMETER( CompletionContext );
}
_Function_class_(FAST_IO_RELEASE_FILE)
_Requires_lock_held_(_Global_critical_region_)
VOID

View File

@ -236,7 +236,7 @@ UNICODE_STRING CdInternalStreamNames[] = {
{ 2, 2, L"\\"}
};
VOID
CdInitializeVcb (
_In_ PIRP_CONTEXT IrpContext,
@ -431,7 +431,7 @@ Return Value:
CdUpdateMediaChangeCount( Vcb, MediaChangeCount);
}
VOID
CdUpdateVcbFromVolDescriptor (
_In_ PIRP_CONTEXT IrpContext,
@ -871,7 +871,7 @@ Return Value:
} _SEH2_END;
}
VOID
CdDeleteVcb (
_In_ PIRP_CONTEXT IrpContext,
@ -981,7 +981,7 @@ Return Value:
return;
}
PFCB
CdCreateFcb (
_In_ PIRP_CONTEXT IrpContext,
@ -1131,7 +1131,7 @@ Return Value:
return NewFcb;
}
VOID
CdInitializeFcbFromPathEntry (
_In_ PIRP_CONTEXT IrpContext,
@ -1220,7 +1220,7 @@ Return Value:
return;
}
VOID
CdInitializeFcbFromFileContext (
_In_ PIRP_CONTEXT IrpContext,
@ -1400,7 +1400,7 @@ Return Value:
return;
}
PCCB
CdCreateCcb (
_In_ PIRP_CONTEXT IrpContext,
@ -1457,7 +1457,7 @@ Return Value:
return NewCcb;
}
VOID
CdDeleteCcb (
_In_ PIRP_CONTEXT IrpContext,
@ -1493,7 +1493,7 @@ Return Value:
return;
}
_When_(RaiseOnError || return, _At_(Fcb->FileLock, _Post_notnull_))
_When_(RaiseOnError, _At_(IrpContext, _Pre_notnull_))
BOOLEAN
@ -1568,7 +1568,7 @@ Return Value:
return Result;
}
_Ret_valid_ PIRP_CONTEXT
CdCreateIrpContext (
_In_ PIRP Irp,
@ -1728,7 +1728,7 @@ Return Value:
return NewIrpContext;
}
VOID
CdCleanupIrpContext (
_In_ PIRP_CONTEXT IrpContext,
@ -1834,7 +1834,7 @@ Return Value:
return;
}
VOID
CdInitializeStackIrpContext (
_Out_ PIRP_CONTEXT IrpContext,
@ -1910,7 +1910,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -2102,7 +2102,7 @@ Return Value:
return;
}
PFCB
CdLookupFcbTable (
_In_ PIRP_CONTEXT IrpContext,
@ -2150,7 +2150,7 @@ Return Value:
UNREFERENCED_PARAMETER( IrpContext );
}
PFCB
CdGetNextFcb (
_In_ PIRP_CONTEXT IrpContext,
@ -2196,7 +2196,7 @@ Return Value:
return Fcb;
}
NTSTATUS
CdProcessToc (
_In_ PIRP_CONTEXT IrpContext,
@ -2415,7 +2415,7 @@ RetryReadToc:
return Status;
}
//
// Local support routine
//
@ -2546,7 +2546,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -2599,7 +2599,7 @@ Return Value:
return FcbNonpaged;
}
//
// Local support routine
//
@ -2638,7 +2638,7 @@ Return Value:
return;
}
//
// Local support routine
//
@ -2696,7 +2696,7 @@ Return Value:
UNREFERENCED_PARAMETER( FcbTable );
}
//
// Local support routine
//
@ -2734,7 +2734,7 @@ Return Value:
return( FsRtlAllocatePoolWithTag( CdPagedPool, ByteSize, TAG_FCB_TABLE ));
}
//
// Local support routine
//
@ -2770,7 +2770,7 @@ Return Value:
UNREFERENCED_PARAMETER( FcbTable );
}
//
// Local support routine
//

View File

@ -220,7 +220,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
BOOLEAN
@ -753,7 +753,7 @@ Return Value:
return TRUE;
}
_Requires_lock_held_(_Global_critical_region_)
BOOLEAN

View File

@ -80,7 +80,7 @@ CdQueryFsSectorSizeInfo (
#pragma alloc_text(PAGE, CdQueryFsSectorSizeInfo)
#endif
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
CdCommonQueryVolInfo (
@ -221,7 +221,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -314,7 +314,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -377,7 +377,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local support routine
//
@ -441,7 +441,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local support routine
//

View File

@ -45,7 +45,7 @@ CdAddToWorkque (
#pragma alloc_text(PAGE, CdPrePostIrp)
#endif
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
CdFsdPostRequest (
@ -96,7 +96,7 @@ Return Value:
return STATUS_PENDING;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -221,7 +221,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -316,7 +316,7 @@ Return Value:
return;
}
//
// Local support routine
//

View File

@ -57,7 +57,7 @@ __pragma(warning(suppress: 6320)) \
#pragma alloc_text(PAGE, CdCommonWrite)
#endif
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
CdCommonWrite (

View File

@ -34,7 +34,7 @@ FatCreateRestrictEveryoneToken(
#pragma alloc_text(PAGE, FatExplicitDeviceAccessGranted)
#endif
BOOLEAN
FatCheckFileAccess (
PIRP_CONTEXT IrpContext,
@ -220,7 +220,7 @@ Return Value:
return FALSE;
}
NTSTATUS
FatExplicitDeviceAccessGranted (
IN PIRP_CONTEXT IrpContext,
@ -354,7 +354,7 @@ Return Value:
return Status;
}
NTSTATUS
FatCreateRestrictEveryoneToken (
IN PACCESS_TOKEN Token,

View File

@ -97,7 +97,7 @@ Routine Description:
}
#endif
}
VOID
FatReadVolumeFile (
IN PIRP_CONTEXT IrpContext,
@ -183,7 +183,7 @@ Arguments:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatPrepareWriteVolumeFile (
@ -303,7 +303,7 @@ Arguments:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatReadDirectoryFile (
@ -445,7 +445,7 @@ Arguments:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatPrepareWriteDirectoryFile (
@ -714,7 +714,7 @@ Arguments:
return;
}
#if DBG
BOOLEAN FatDisableParentCheck = 0;
@ -974,7 +974,7 @@ Return Value:
PFILE_OBJECT
FatOpenEaFile (
IN PIRP_CONTEXT IrpContext,
@ -1074,7 +1074,7 @@ Return Value:
return EaFileObject;
}
VOID
FatCloseEaFile (
IN PIRP_CONTEXT IrpContext,
@ -1142,7 +1142,7 @@ Return Value:
DebugTrace(-1, Dbg, "FatCloseEaFile -> %p\n", EaFileObject);
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatSetDirtyBcb (
@ -1312,7 +1312,7 @@ Return Value:
DebugTrace(-1, Dbg, "FatSetDirtyBcb -> VOID\n", 0 );
}
VOID
FatRepinBcb (
IN PIRP_CONTEXT IrpContext,
@ -1402,7 +1402,7 @@ Return Value:
}
}
VOID
FatUnpinRepinnedBcbs (
IN PIRP_CONTEXT IrpContext
@ -1654,7 +1654,7 @@ Return Value:
return;
}
FINISHED
FatZeroData (
IN PIRP_CONTEXT IrpContext,
@ -1723,7 +1723,7 @@ FatZeroData (
return Finished;
}
NTSTATUS
FatCompleteMdl (
IN PIRP_CONTEXT IrpContext,
@ -1807,7 +1807,7 @@ Return Value:
return STATUS_SUCCESS;
}
VOID
FatSyncUninitializeCacheMap (
IN PIRP_CONTEXT IrpContext,
@ -1861,7 +1861,7 @@ Return Value:
NT_ASSERT(WaitStatus == STATUS_SUCCESS);
}
VOID
FatPinMappedData (
IN PIRP_CONTEXT IrpContext,
@ -1924,7 +1924,7 @@ Arguments:
}
#if (NTDDI_VERSION >= NTDDI_WIN8)
NTSTATUS
FatPrefetchPages (
IN PIRP_CONTEXT IrpContext,

View File

@ -43,7 +43,7 @@ FatAutoUnlock (
#pragma alloc_text(PAGE, FatFsdCleanup)
#endif
_Function_class_(IRP_MJ_CLEANUP)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -139,7 +139,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonCleanup (

View File

@ -76,7 +76,7 @@ FatCloseWorker (
#pragma alloc_text(PAGE, FatCloseWorker)
#endif
_Function_class_(IRP_MJ_CLOSE)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -354,7 +354,7 @@ Return Value:
FsRtlExitFileSystem();
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatFspClose (
@ -552,7 +552,7 @@ Return Value:
DebugTrace(-1, Dbg, "FatFspClose -> NULL\n", 0);
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatQueueClose (
@ -624,7 +624,7 @@ Return Value:
}
}
_Requires_lock_held_(_Global_critical_region_)
PCLOSE_CONTEXT
FatRemoveClose (
@ -828,7 +828,7 @@ Return Value:
return CloseContext;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonClose (

View File

@ -274,7 +274,7 @@ FatCheckShareAccess (
#pragma alloc_text(PAGE, FatSetFullNameInFcb)
#endif
_Function_class_(IRP_MJ_CREATE)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -2576,7 +2576,7 @@ Return Value:
return Iosb;
}
//
// Internal support routine
//
@ -2751,7 +2751,7 @@ Arguments:
return Iosb;
}
//
// Internal support routine
//
@ -3171,7 +3171,7 @@ Return Value:
return Iosb;
}
//
// Internal support routine
//
@ -3913,7 +3913,7 @@ Return Value:
return Iosb;
}
//
// Internal support routine
//
@ -4122,7 +4122,7 @@ Return Value:
}
//
// Internal support routine
//
@ -4402,7 +4402,7 @@ Return Value:
return Iosb;
}
//
// Internal support routine
//
@ -4882,7 +4882,7 @@ Return Value:
return Iosb;
}
//
// Internal support routine
//
@ -5596,7 +5596,7 @@ Return Value:
return Iosb;
}
//
// Internal support routine
//
@ -6344,7 +6344,7 @@ Return Value:
return Iosb;
}
//
// Internal support routine
//
@ -6823,7 +6823,7 @@ Return Value:
}
}
NTSTATUS
FatCheckSystemSecurityAccess (
_In_ PIRP_CONTEXT IrpContext
@ -6865,7 +6865,7 @@ FatCheckSystemSecurityAccess (
return STATUS_SUCCESS;
}
NTSTATUS
FatCheckShareAccess (
_In_ PIRP_CONTEXT IrpContext,

View File

@ -44,7 +44,7 @@ FatDeviceControlCompletionRoutine(
#pragma alloc_text(PAGE, FatFsdDeviceControl)
#endif
_Function_class_(IRP_MJ_DEVICE_CONTROL)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -120,7 +120,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonDeviceControl (
@ -380,7 +380,7 @@ Return Value:
return Status;
}
//
// Local support routine
//

View File

@ -206,7 +206,7 @@ typedef struct FAT_PAGING_FILE_CONTEXT {
PMDL RestoreMdl;
} FAT_PAGING_FILE_CONTEXT, *PFAT_PAGING_FILE_CONTEXT;
VOID
FatPagingFileIo (
IN PIRP Irp,
@ -875,7 +875,7 @@ Return Value:
#endif
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
@ -1289,7 +1289,7 @@ Return Value:
return Irp->IoStatus.Status;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatNonCachedNonAlignedRead (
@ -1617,7 +1617,7 @@ Return Value:
return;
}
VOID
FatMultipleAsync (
IN PIRP_CONTEXT IrpContext,
@ -1985,7 +1985,7 @@ Return Value:
return;
}
VOID
FatSingleAsync (
IN PIRP_CONTEXT IrpContext,
@ -2166,7 +2166,7 @@ Return Value:
return;
}
VOID
FatSingleNonAlignedSync (
IN PIRP_CONTEXT IrpContext,
@ -2362,7 +2362,7 @@ Return Value:
return;
}
VOID
FatWaitSync (
IN PIRP_CONTEXT IrpContext
@ -2396,7 +2396,7 @@ Return Value:
DebugTrace(-1, Dbg, "FatWaitSync -> VOID\n", 0 );
}
//
// Internal Support Routine
//
@ -2497,7 +2497,7 @@ Return Value:
return STATUS_MORE_PROCESSING_REQUIRED;
}
//
// Internal Support Routine
//
@ -2690,7 +2690,7 @@ Return Value:
return Status;
}
NTSTATUS
FatPagingFileErrorHandler (
IN PIRP Irp,
@ -2795,7 +2795,7 @@ Return Value:
return Status;
}
//
// Internal Support Routine
//
@ -2888,7 +2888,7 @@ Return Value:
}
//
// Internal Support Routine
//
@ -2957,7 +2957,7 @@ Return Value:
return FatPagingFileErrorHandler( Irp, NULL );
}
//
// Internal Support Routine
//
@ -3024,7 +3024,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Internal Support Routine
//
@ -3096,7 +3096,7 @@ Return Value:
return STATUS_MORE_PROCESSING_REQUIRED;
}
//
// Internal Support Routine
//
@ -3271,7 +3271,7 @@ Return Value:
return Status;
}
VOID
FatLockUserBuffer (
IN PIRP_CONTEXT IrpContext,
@ -3352,7 +3352,7 @@ Return Value:
UNREFERENCED_PARAMETER( IrpContext );
}
PVOID
FatMapUserBuffer (
IN PIRP_CONTEXT IrpContext,
@ -3406,7 +3406,7 @@ Return Value:
}
}
PVOID
FatBufferUserBuffer (
IN PIRP_CONTEXT IrpContext,
@ -3490,7 +3490,7 @@ Return Value:
return Irp->AssociatedIrp.SystemBuffer;
}
NTSTATUS
FatToggleMediaEjectDisable (
IN PIRP_CONTEXT IrpContext,
@ -3616,7 +3616,7 @@ Return Value:
return STATUS_INSUFFICIENT_RESOURCES;
}
NTSTATUS
FatPerformDevIoCtrl (
IN PIRP_CONTEXT IrpContext,

View File

@ -65,7 +65,7 @@ FatNotifyChangeDirectory (
#endif
_Function_class_(IRP_MJ_DIRECTORY_CONTROL)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -146,7 +146,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonDirectoryControl (
@ -219,7 +219,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -1321,7 +1321,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -1442,7 +1442,7 @@ Return Value:
}
}
//
// Local Support Routine
//

View File

@ -194,7 +194,7 @@ FatDefragDirectory (
#endif
_Requires_lock_held_(_Global_critical_region_)
ULONG
FatCreateNewDirent (
@ -545,7 +545,7 @@ Return Value:
return ByteOffset;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -647,7 +647,7 @@ Return Value:
return;
}
VOID
FatTunnelFcbOrDcb (
IN PFCB FcbOrDcb,
@ -779,7 +779,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -1070,7 +1070,7 @@ Retrn Value:
return Result;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -1715,7 +1715,7 @@ GetNextDirent:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatLocateSimpleOemDirent (
@ -1793,7 +1793,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -1935,7 +1935,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -2039,7 +2039,7 @@ Return Value:
DebugTrace(-1, Dbg, "FatGetDirentFromFcbOrDcb -> (VOID)\n", 0);
}
_Requires_lock_held_(_Global_critical_region_)
BOOLEAN
@ -2163,10 +2163,10 @@ Return Value:
return IsDirectoryEmpty;
}
VOID
FatConstructDirent (
IN PIRP_CONTEXT IrpContext,
@ -2435,7 +2435,7 @@ Return Value:
return;
}
VOID
FatConstructLabelDirent (
IN PIRP_CONTEXT IrpContext,
@ -2494,7 +2494,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatSetFileSizeInDirent (
@ -2869,7 +2869,7 @@ Return Value:
}
//
// Internal support routine
//
@ -2913,7 +2913,7 @@ Return Value:
return Checksum;
}
#if 0 // It turns out Win95 is still creating short names without a ~
@ -3078,7 +3078,7 @@ Return Value:
return TRUE;
}
#endif //0
//
// Internal support routine
//
@ -3294,7 +3294,7 @@ Return Value:
return;
}
//
// Internal support routine
//

View File

@ -77,7 +77,7 @@ ULONG FatDumpCurrentColumn;
} \
}
VOID
FatDump (
IN PVOID Ptr
@ -136,7 +136,7 @@ Return Value:
return;
}
VOID
FatDumpDataHeader (
)
@ -186,7 +186,7 @@ Return Value:
return;
}
VOID
FatDumpVcb (
IN PVCB Ptr
@ -249,7 +249,7 @@ Return Value:
return;
}
VOID
FatDumpFcb (
IN PFCB Ptr
@ -338,7 +338,7 @@ Return Value:
return;
}
VOID
FatDumpCcb (
IN PCCB Ptr

View File

@ -164,7 +164,7 @@ Return Value:
return Status;
}
_Function_class_(IRP_MJ_SET_EA)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -245,7 +245,7 @@ Return Value:
return Status;
}
NTSTATUS
FatCommonQueryEa (
IN PIRP_CONTEXT IrpContext,
@ -654,7 +654,7 @@ Return Value:
#endif
}
NTSTATUS
FatCommonSetEa (
IN PIRP_CONTEXT IrpContext,
@ -1601,7 +1601,7 @@ Return Value:
return Iosb;
}
//
// Local Support Routine
//
@ -1739,7 +1739,7 @@ Return Value:
}
//
// Local Support Routine
//
@ -1957,7 +1957,7 @@ Return Value:
}
//
// Local Support Routine
//

View File

@ -48,7 +48,7 @@ Abstract:
#define EA_SECTION_SIZE (0x00040000)
_Requires_lock_held_(_Global_critical_region_)
VOID
FatGetEaLength (
@ -202,7 +202,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatGetNeedEaCount (
@ -349,7 +349,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatCreateEa (
@ -779,7 +779,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatGetEaFile (
@ -1301,7 +1301,7 @@ Return Value:
return;
}
VOID
FatReadEaSet (
IN PIRP_CONTEXT IrpContext,
@ -1531,7 +1531,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatDeleteEaSet (
@ -2086,7 +2086,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
@ -2962,7 +2962,7 @@ Return Value:
return;
}
VOID
FatAppendPackedEa (
IN PIRP_CONTEXT IrpContext,
@ -3143,7 +3143,7 @@ Return Value:
return;
}
VOID
FatDeletePackedEa (
IN PIRP_CONTEXT IrpContext,
@ -3252,7 +3252,7 @@ Return Value:
return;
}
ULONG
FatLocateNextEa (
IN PIRP_CONTEXT IrpContext,
@ -3339,7 +3339,7 @@ Return Value:
return Offset;
}
BOOLEAN
FatLocateEaByName (
IN PIRP_CONTEXT IrpContext,
@ -3424,7 +3424,7 @@ Return Value:
return FALSE;
}
BOOLEAN
FatIsEaNameValid (
IN PIRP_CONTEXT IrpContext,
@ -3507,7 +3507,7 @@ Return Value:
return TRUE;
}
VOID
FatPinEaRange (
IN PIRP_CONTEXT IrpContext,
@ -3704,7 +3704,7 @@ Return Value:
return;
}
VOID
FatMarkEaRangeDirty (
IN PIRP_CONTEXT IrpContext,
@ -3777,7 +3777,7 @@ Return Value:
return;
}
VOID
FatUnpinEaRange (
IN PIRP_CONTEXT IrpContext,

View File

@ -38,7 +38,7 @@ typedef LBO *PLBO;
typedef ULONG32 VBO;
typedef VBO *PVBO;
//
// The boot sector is the first physical sector (LBN == 0) on the volume.
// Part of the sector contains a BIOS Parameter Block. The BIOS in the
@ -295,7 +295,7 @@ typedef FAT_TIME_STAMP *PFAT_TIME_STAMP;
typedef UCHAR FAT8DOT3[11];
typedef FAT8DOT3 *PFAT8DOT3;
//
// The directory entry record exists for every file/directory on the
// disk except for the root directory.
@ -385,7 +385,7 @@ typedef DIRENT *PDIRENT;
#define FAT_EFS_EXTENSION_CHARCOUNT (6)
#define FAT_EFS_EXTENSION_BYTECOUNT (12)
//
// These macros convert a number of fields in the Bpb to bytes from sectors
//
@ -621,7 +621,7 @@ typedef DIRENT *PDIRENT;
RtlEqualMemory((TIME1),(TIME2), sizeof(FAT_TIME_STAMP)) \
)
#define EA_FILE_SIGNATURE (0x4445) // "ED"
#define EA_SET_SIGNATURE (0x4145) // "EA"

View File

@ -161,7 +161,7 @@ NTSTATUS FatBreakOnInterestingIrpCompletion = 0;
#endif
#if DBG
ULONG
FatBugCheckExceptionFilter (
@ -199,7 +199,7 @@ Return Value:
}
#endif
ULONG
FatExceptionFilter (
IN PIRP_CONTEXT IrpContext,
@ -316,7 +316,7 @@ Return Value:
return EXCEPTION_EXECUTE_HANDLER;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatProcessException (
@ -854,7 +854,7 @@ Return Value:
}
_Function_class_(FAST_IO_CHECK_IF_POSSIBLE)
_Function_class_(FAST_IO_CHECK_IF_POSSIBLE)
BOOLEAN
NTAPI
FatFastIoCheckIfPossible (
@ -963,7 +963,7 @@ Return Value:
}
_Function_class_(FAST_IO_QUERY_BASIC_INFO)
_Function_class_(FAST_IO_QUERY_BASIC_INFO)
BOOLEAN
NTAPI
FatFastQueryBasicInfo (
@ -1143,7 +1143,7 @@ Return Value:
}
_Function_class_(FAST_IO_QUERY_STANDARD_INFO)
_Function_class_(FAST_IO_QUERY_STANDARD_INFO)
BOOLEAN
NTAPI
FatFastQueryStdInfo (
@ -1302,7 +1302,7 @@ Return Value:
return Results;
}
_Function_class_(FAST_IO_QUERY_NETWORK_OPEN_INFO)
BOOLEAN
@ -1502,7 +1502,7 @@ Return Value:
return Results;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatPopUpFileCorrupt (

View File

@ -64,7 +64,7 @@ FatIsFujitsuFMR (
#define FUJITSU_FMR_NAME_W L"FUJITSU FMR-"
NTSTATUS
NTAPI
DriverEntry(
@ -438,7 +438,7 @@ Return Value:
}
_Function_class_(DRIVER_UNLOAD)
_Function_class_(DRIVER_UNLOAD)
VOID
NTAPI
FatUnload(
@ -474,7 +474,7 @@ Return Value:
ObDereferenceObject( FatCdromFileSystemDeviceObject);
}
//
// Local Support routine
//
@ -615,7 +615,7 @@ Return Value:
return Status;
}
//
// Local Support routine
//

View File

@ -22,7 +22,7 @@ typedef PVOID PBCB; //**** Bcb's are now part of the cache module
#ifdef __REACTOS__
#define __volatile volatile
#endif
//
// The FAT_DATA record is the top record in the Fat file system in-memory
// data structure. This structure must be allocated from non-paged pool.
@ -610,7 +610,7 @@ typedef struct _FILE_SYSTEM_STATISTICS {
typedef FILE_SYSTEM_STATISTICS *PFILE_SYSTEM_STATISTICS;
//
// The Volume Device Object is an I/O system device object with a workqueue
// and an VCB record appended to the end. There are multiple of these
@ -670,7 +670,7 @@ typedef struct _VOLUME_DEVICE_OBJECT {
typedef VOLUME_DEVICE_OBJECT *PVOLUME_DEVICE_OBJECT;
//
// This is the structure used to contains the short name for a file
//
@ -1239,7 +1239,7 @@ typedef DCB *PDCB;
#define FCB_LOOKUP_ALLOCATIONSIZE_HINT ((LONGLONG) -1)
//
// The Ccb record is allocated for every file object. Note that this
// record is exactly 0x34 long on x86 so that it will fit into a 0x40
@ -1447,7 +1447,7 @@ typedef struct _CCB {
} CCB;
typedef CCB *PCCB;
//
// The Irp Context record is allocated for every orginating Irp. It is
// created by the Fsd dispatch routines, and deallocated by the FatComplete
@ -1576,7 +1576,7 @@ typedef IRP_CONTEXT *PIRP_CONTEXT;
#define IRP_CONTEXT_FLAG_PARENT_BY_CHILD (0x80000000)
//
// Context structure for non-cached I/O calls. Most of these fields
// are actually only required for the Read/Write Multiple routines, but

View File

@ -276,7 +276,7 @@ Return Value:
return Status;
}
_Function_class_(IRP_MJ_SET_INFORMATION)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -357,7 +357,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonQueryInformation (
@ -657,7 +657,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonSetInformation (
@ -1035,7 +1035,7 @@ Return Value:
return Status;
}
//
// Internal Support Routine
//
@ -1146,7 +1146,7 @@ Return Value:
return;
}
//
// Internal Support Routine
//
@ -1233,7 +1233,7 @@ Return Value:
return;
}
//
// Internal Support Routine
//
@ -1297,7 +1297,7 @@ Return Value:
return;
}
//
// Internal Support Routine
//
@ -1408,7 +1408,7 @@ Return Value:
} _SEH2_END;
}
//
// Internal Support Routine
//
@ -1469,7 +1469,7 @@ Return Value:
return;
}
//
// Internal Support Routine
//
@ -1677,7 +1677,7 @@ Return Value:
return;
}
//
// Internal Support Routine
//
@ -1776,7 +1776,7 @@ Return Value:
return;
}
//
// Internal Support Routine
//
@ -1903,7 +1903,7 @@ Return Value:
return;
}
//
// Internal Support routine
//
@ -2423,7 +2423,7 @@ Return Value:
return Status;
}
//
// Internal Support Routine
//
@ -2685,7 +2685,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Internal Support Routine
//
@ -4001,7 +4001,7 @@ Return Value:
return Status;
}
//
// Internal Support Routine
//
@ -4079,7 +4079,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Internal Support Routine
//
@ -4377,7 +4377,7 @@ Return Value:
return Status;
}
//
// Internal Support Routine
//
@ -4962,7 +4962,7 @@ Return Value:
return Status;
}
//
// Internal Support Routine

View File

@ -34,7 +34,7 @@ Abstract:
#pragma alloc_text(PAGE, FatDecodeFileObject)
#endif
VOID
FatSetFileObject (
IN PFILE_OBJECT FileObject OPTIONAL,
@ -417,7 +417,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatForceCacheMiss (

View File

@ -66,7 +66,7 @@ FatHijackCompletionRoutine (
_Function_class_(IRP_MJ_FLUSH_BUFFERS)
_Function_class_(DRIVER_DISPATCH)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
NTAPI
FatFsdFlushBuffers (
@ -144,7 +144,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonFlushBuffers (
@ -523,7 +523,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatFlushDirectory (
@ -796,7 +796,7 @@ Return Value:
return ReturnStatus;
}
NTSTATUS
FatFlushFat (
IN PIRP_CONTEXT IrpContext,
@ -957,7 +957,7 @@ Return Value:
return ReturnStatus;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
@ -1036,7 +1036,7 @@ Return Value:
return ReturnStatus;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatFlushFile (
@ -1096,7 +1096,7 @@ Return Value:
return Iosb.Status;
}
NTSTATUS
FatHijackIrpAndFlushDevice (
IN PIRP_CONTEXT IrpContext,
@ -1186,7 +1186,7 @@ Return Value:
return Status;
}
VOID
FatFlushFatEntries (
IN PIRP_CONTEXT IrpContext,
@ -1259,7 +1259,7 @@ Return Value:
}
}
VOID
FatFlushDirentForFile (
IN PIRP_CONTEXT IrpContext,
@ -1306,7 +1306,7 @@ Return Value:
}
}
//
// Local support routine
//
@ -1343,7 +1343,7 @@ FatFlushCompletionRoutine (
return STATUS_SUCCESS;
}
//
// Local support routine
//

View File

@ -359,7 +359,7 @@ FatNonSparseMcb(
return TRUE;
}
BOOLEAN
FatAddMcbEntry (
IN PVCB Vcb,
@ -413,7 +413,7 @@ FatAddMcbEntry (
return Result;
}
BOOLEAN
FatLookupMcbEntry (
IN PVCB Vcb,
@ -536,7 +536,7 @@ FatLookupLastMcbEntry (
return Results;
}
BOOLEAN
FatGetNextMcbEntry (
IN PVCB Vcb,
@ -594,7 +594,7 @@ FatGetNextMcbEntry (
return Results;
}
VOID
FatRemoveMcbEntry (
IN PVCB Vcb,
@ -631,7 +631,7 @@ FatRemoveMcbEntry (
}
_Function_class_(IRP_MJ_FILE_SYSTEM_CONTROL)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -745,7 +745,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonFileSystemControl (
@ -838,7 +838,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -1831,7 +1831,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -2513,7 +2513,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -2669,7 +2669,7 @@ Return Value:
return Result;
}
//
// Local Support Routine
//
@ -2754,7 +2754,7 @@ Return Value:
return (BOOLEAN)(Status == STATUS_MEDIA_WRITE_PROTECTED);
}
//
// Local Support Routine
//
@ -2937,7 +2937,7 @@ Return Value:
}
//
// Local support routine
//
@ -3220,7 +3220,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -3345,7 +3345,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -3427,7 +3427,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatLockVolumeInternal (
@ -3596,7 +3596,7 @@ Return Value:
return Status;
}
NTSTATUS
FatUnlockVolumeInternal (
IN PIRP_CONTEXT IrpContext,
@ -3653,7 +3653,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -3869,7 +3869,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -3956,7 +3956,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local Support Routine
//
@ -4087,7 +4087,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local Support Routine
//
@ -4159,7 +4159,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -4204,7 +4204,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local Support Routine
//
@ -4290,7 +4290,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local Support Routine
//
@ -4560,7 +4560,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Local Support routine
//
@ -4690,7 +4690,7 @@ Return Value:
return TRUE;
}
//
// Local Support Routine
//
@ -4883,7 +4883,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -4989,7 +4989,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -5246,7 +5246,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -5634,7 +5634,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -6631,7 +6631,7 @@ Return Value:
return Status;
}
//
// Local Support Routine
//
@ -6813,7 +6813,7 @@ Return Value:
}
}
//
// Local Support Routine
//
@ -7017,7 +7017,7 @@ Return Value:
}
}
NTSTATUS
FatAllowExtendedDasdIo(
IN PIRP_CONTEXT IrpContext,
@ -7079,7 +7079,7 @@ Return Value:
}
#if (NTDDI_VERSION >= NTDDI_WIN7)
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatGetRetrievalPointerBase (
@ -7185,7 +7185,7 @@ Return Value:
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatGetBootAreaInfo (
@ -7300,7 +7300,7 @@ Return Value:
#endif
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatMarkHandle (
@ -7539,7 +7539,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatFlushAndCleanVolume(
@ -7663,7 +7663,7 @@ Return Value:
#if (NTDDI_VERSION >= NTDDI_WIN8)
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatSetPurgeFailureMode (
@ -7814,7 +7814,7 @@ Return Value:
#endif
NTSTATUS
FatSearchBufferForLabel(
IN PIRP_CONTEXT IrpContext,
@ -7964,7 +7964,7 @@ Return Value:
return STATUS_SUCCESS;
}
VOID
FatVerifyLookupFatEntry (
IN PIRP_CONTEXT IrpContext,

View File

@ -35,7 +35,7 @@ FatRemoveOverflowEntry (
#pragma alloc_text(PAGE, FatFspDispatch)
#endif
VOID
NTAPI
FatFspDispatch (
@ -443,7 +443,7 @@ Return Value:
return;
}
//
// Internal support routine, spinlock wrapper.
//

View File

@ -31,7 +31,7 @@ Abstract:
#pragma alloc_text(PAGE, FatFsdLockControl)
#endif
_Function_class_(IRP_MJ_LOCK_CONTROL)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -113,7 +113,7 @@ Return Value:
}
_Function_class_(FAST_IO_LOCK)
_Function_class_(FAST_IO_LOCK)
BOOLEAN
NTAPI
FatFastLock (
@ -253,7 +253,7 @@ Return Value:
}
_Function_class_(FAST_IO_UNLOCK_SINGLE)
_Function_class_(FAST_IO_UNLOCK_SINGLE)
BOOLEAN
NTAPI
FatFastUnlockSingle (
@ -375,7 +375,7 @@ Return Value:
}
_Function_class_(FAST_IO_UNLOCK_ALL)
_Function_class_(FAST_IO_UNLOCK_ALL)
BOOLEAN
NTAPI
FatFastUnlockAll (
@ -487,7 +487,7 @@ Return Value:
return Results;
}
_Function_class_(FAST_IO_UNLOCK_ALL_BY_KEY)
BOOLEAN
NTAPI
@ -604,7 +604,7 @@ Return Value:
return Results;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonLockControl (

View File

@ -30,7 +30,7 @@ Abstract:
#pragma alloc_text(PAGE, FatUnicodeRestoreShortNameCase)
#endif
BOOLEAN
FatIsNameInExpression (
IN PIRP_CONTEXT IrpContext,
@ -74,7 +74,7 @@ Return Value:
UNREFERENCED_PARAMETER( IrpContext );
}
VOID
FatStringTo8dot3 (
_In_ PIRP_CONTEXT IrpContext,
@ -174,7 +174,7 @@ Return Value:
return;
}
VOID
Fat8dot3ToString (
_In_ PIRP_CONTEXT IrpContext,
@ -627,7 +627,7 @@ Return Value:
} _SEH2_END;
}
}
VOID
FatUnicodeToUpcaseOem (
IN PIRP_CONTEXT IrpContext,
@ -694,7 +694,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatSelectNames (
@ -886,7 +886,7 @@ Return Value:
return;
}
VOID
FatEvaluateNameCase (
IN PIRP_CONTEXT IrpContext,
@ -998,7 +998,7 @@ Return Value:
return;
}
BOOLEAN
FatSpaceInName (
IN PIRP_CONTEXT IrpContext,

View File

@ -103,7 +103,7 @@ typedef CSHORT NODE_BYTE_SIZE;
#define FatBugCheck(A,B,C) { KeBugCheckEx(FAT_FILE_SYSTEM, BugCheckFileId | __LINE__, A, B, C ); }
//
// In this module we'll also define some globally known constants
//

View File

@ -76,7 +76,7 @@ FatPnpCompletionRoutine (
#pragma alloc_text(PAGE, FatPnpSurpriseRemove)
#endif
_Function_class_(IRP_MJ_PNP)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -168,7 +168,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonPnp (
@ -518,7 +518,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
@ -663,7 +663,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatPnpSurpriseRemove (
@ -792,7 +792,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatPnpCancelRemove (
@ -875,7 +875,7 @@ Return Value:
return Status;
}
//
// Local support routine
//

View File

@ -112,7 +112,7 @@ FatOverflowPagingFileRead (
#pragma alloc_text(PAGE, FatCommonRead)
#endif
_Function_class_(IRP_MJ_READ)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -275,7 +275,7 @@ Return Value:
return Status;
}
//
// Internal support routine
//
@ -400,7 +400,7 @@ Return Value:
return STATUS_PENDING;
}
//
// Internal support routine
//
@ -518,7 +518,7 @@ Return Value:
KeSetEvent( Event, 0, FALSE );
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonRead (
@ -726,7 +726,7 @@ Return Value:
}
//
// These two cases correspond to either a general opened volume, ie.
// open ("a:"), or a read of the volume file (boot sector + fat(s))
@ -918,7 +918,7 @@ Return Value:
FatCompleteRequest( IrpContext, Irp, Status );
return Status;
}
//
// At this point we know there is an Fcb/Dcb.
//
@ -1137,7 +1137,7 @@ Return Value:
}
}
//
// HANDLE THE NON-CACHED CASE
//
@ -1339,7 +1339,7 @@ Return Value:
} // if No Intermediate Buffering
//
// HANDLE CACHED CASE
//
@ -1386,7 +1386,7 @@ Return Value:
CcSetReadAheadGranularity( FileObject, READ_AHEAD_GRANULARITY );
}
//
// DO A NORMAL CACHED READ, if the MDL bit is not set,
//
@ -1434,7 +1434,7 @@ Return Value:
try_return( Status );
}
//
// HANDLE A MDL READ
//
@ -1459,7 +1459,7 @@ Return Value:
}
}
}
//
// These cases correspond to a system read directory file or
// ea file.
@ -1696,7 +1696,7 @@ Return Value:
return Status;
}
//
// Local support routine
//

View File

@ -224,7 +224,7 @@ RetryFcbExclusive:
return FALSE;
}
_Requires_lock_held_(_Global_critical_region_)
_Acquires_shared_lock_(*Fcb->Header.Resource)
FINISHED
@ -305,7 +305,7 @@ RetryFcbShared:
}
}
_Requires_lock_held_(_Global_critical_region_)
_When_(return != 0, _Acquires_shared_lock_(*Fcb->Header.Resource))
FINISHED
@ -386,7 +386,7 @@ RetryFcbSharedWaitEx:
}
}
_Requires_lock_held_(_Global_critical_region_)
BOOLEAN
NTAPI
@ -480,7 +480,7 @@ Return Value:
return TRUE;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
NTAPI
@ -545,7 +545,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
BOOLEAN
NTAPI
@ -615,7 +615,7 @@ Return Value:
return TRUE;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
NTAPI
@ -659,7 +659,7 @@ Return Value:
}
_Function_class_(FAST_IO_ACQUIRE_FOR_CCFLUSH)
_Function_class_(FAST_IO_ACQUIRE_FOR_CCFLUSH)
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
NTAPI
@ -743,7 +743,7 @@ FatAcquireForCcFlush (
return STATUS_SUCCESS;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
NTAPI
@ -789,7 +789,7 @@ FatReleaseForCcFlush (
return STATUS_SUCCESS;
}
BOOLEAN
NTAPI
FatNoOpAcquire (
@ -836,7 +836,7 @@ Return Value:
return TRUE;
}
VOID
NTAPI
FatNoOpRelease (
@ -876,7 +876,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
NTAPI

View File

@ -28,7 +28,7 @@ Abstract:
_Function_class_(IRP_MJ_SHUTDOWN)
_Function_class_(DRIVER_DISPATCH)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
NTAPI
FatFsdShutdown (
@ -112,7 +112,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonShutdown (

View File

@ -34,7 +34,7 @@ Abstract:
#pragma alloc_text(PAGE, FatCompareNames)
#endif
VOID
FatInsertName (
IN PIRP_CONTEXT IrpContext,
@ -301,7 +301,7 @@ Return Value:
return;
}
PFCB
FatFindFcb (
IN PIRP_CONTEXT IrpContext,
@ -412,7 +412,7 @@ Return Value:
return NULL;
}
//
// Local support routine
//

View File

@ -219,7 +219,7 @@ FatFreeIrpContext (
#pragma alloc_text(PAGE, FatScanForDataTrack)
#endif
_Requires_lock_held_(_Global_critical_region_)
VOID
FatInitializeVcb (
@ -679,7 +679,7 @@ Return Value:
return;
}
VOID
FatTearDownVcb (
IN PIRP_CONTEXT IrpContext,
@ -767,7 +767,7 @@ Return Value:
FatSetVcbCondition( Vcb, VcbBad );
}
VOID
FatDeleteVcb (
IN PIRP_CONTEXT IrpContext,
@ -989,7 +989,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatCreateRootDcb (
@ -1247,7 +1247,7 @@ Return Value:
return;
}
PFCB
FatCreateFcb (
IN PIRP_CONTEXT IrpContext,
@ -1618,7 +1618,7 @@ Return Value:
return Fcb;
}
PDCB
FatCreateDcb (
IN PIRP_CONTEXT IrpContext,
@ -1947,7 +1947,7 @@ Return Value:
return Dcb;
}
VOID
FatDeleteFcb (
IN PIRP_CONTEXT IrpContext,
@ -2296,7 +2296,7 @@ Return Value:
UNREFERENCED_PARAMETER( IrpContext );
}
PIRP_CONTEXT
FatCreateIrpContext (
IN PIRP Irp,
@ -2455,7 +2455,7 @@ Return Value:
return IrpContext;
}
VOID
FatDeleteIrpContext_Real (
@ -2520,7 +2520,7 @@ Return Value:
return;
}
PFCB
FatGetNextFcbBottomUp (
IN PIRP_CONTEXT IrpContext,
@ -2725,7 +2725,7 @@ Return Value:
}
}
BOOLEAN
FatSwapVpb (
IN PIRP_CONTEXT IrpContext,
@ -2839,7 +2839,7 @@ Return Value:
return Result;
}
_Requires_lock_held_(_Global_critical_region_)
BOOLEAN
FatCheckForDismount (
@ -3017,7 +3017,7 @@ Return Value:
return VcbDeleted;
}
VOID
FatConstructNamesInFcb (
IN PIRP_CONTEXT IrpContext,
@ -3481,7 +3481,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatCheckFreeDirentBitmap (
@ -3609,7 +3609,7 @@ Return Value:
}
}
BOOLEAN
FatIsHandleCountZero (
IN PIRP_CONTEXT IrpContext,

View File

@ -166,7 +166,7 @@ Return Value:
return TRUE;
}
LARGE_INTEGER
FatFatDateToNtTime (
_In_ PIRP_CONTEXT IrpContext,
@ -228,7 +228,7 @@ Return Value:
UNREFERENCED_PARAMETER( IrpContext );
}
LARGE_INTEGER
FatFatTimeToNtTime (
_In_ PIRP_CONTEXT IrpContext,
@ -312,7 +312,7 @@ Return Value:
UNREFERENCED_PARAMETER( IrpContext );
}
FAT_TIME_STAMP
FatGetCurrentFatTime (
_In_ PIRP_CONTEXT IrpContext

View File

@ -84,7 +84,7 @@ FatMarkVolumeCompletionRoutine(
#pragma alloc_text(PAGE, FatVerifyFcb)
#endif
VOID
FatMarkFcbCondition (
IN PIRP_CONTEXT IrpContext,
@ -265,7 +265,7 @@ Return Value:
return Marked;
}
VOID
FatVerifyVcb (
IN PIRP_CONTEXT IrpContext,
@ -356,7 +356,7 @@ Return Value:
DebugTrace(-1, Dbg, "FatVerifyVcb -> VOID\n", 0);
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatVerifyFcb (
@ -492,7 +492,7 @@ Return Value:
return;
}
VOID
NTAPI
@ -648,7 +648,7 @@ Return Value:
}
VOID
NTAPI
FatCleanVolumeDpc (
@ -733,7 +733,7 @@ Return Value:
return;
}
_Requires_lock_held_(_Global_critical_region_)
VOID
FatMarkVolume (
@ -1092,7 +1092,7 @@ Return Value:
return;
}
VOID
NTAPI
FatFspMarkVolumeDirtyWithRecover(
@ -1180,7 +1180,7 @@ Return Value:
DebugTrace(-1, Dbg, "FatFspMarkVolumeDirtyWithRecover -> VOID\n", 0);
}
VOID
FatCheckDirtyBit (
IN PIRP_CONTEXT IrpContext,
@ -1299,7 +1299,7 @@ Return Value:
} _SEH2_END;
}
VOID
FatVerifyOperationIsLegal (
IN PIRP_CONTEXT IrpContext
@ -1386,7 +1386,7 @@ Return Value:
return;
}
//
// Internal support routine
@ -1489,7 +1489,7 @@ Return Value:
}
}
BOOLEAN
FatMatchFileSize (
@ -1652,7 +1652,7 @@ Return Value:
return;
}
//
// Internal support routine
@ -1784,7 +1784,7 @@ Return Value:
FatBugCheck( Vcb->VcbCondition, 0, 0 );
}
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatPerformVerify (
@ -2003,7 +2003,7 @@ Return Value:
return Status;
}
//
// Local support routine
//

View File

@ -95,7 +95,7 @@ FatQueryFsSectorSizeInfo (
#endif
#endif
_Function_class_(IRP_MJ_QUERY_VOLUME_INFORMATION)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -176,7 +176,7 @@ Return Value:
return Status;
}
_Function_class_(IRP_MJ_SET_VOLUME_INFORMATION)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -257,7 +257,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonQueryVolumeInfo (
@ -434,7 +434,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonSetVolumeInfo (
@ -572,7 +572,7 @@ Return Value:
return Status;
}
//
// Internal support routine
//
@ -666,7 +666,7 @@ Return Value:
return Status;
}
//
// Internal support routine
//
@ -735,7 +735,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Internal support routine
//
@ -800,7 +800,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Internal support routine
//
@ -923,7 +923,7 @@ Return Value:
return Status;
}
//
// Internal support routine
//
@ -989,7 +989,7 @@ Return Value:
return STATUS_SUCCESS;
}
//
// Internal support routine
//

View File

@ -73,7 +73,7 @@ FatDeferredFlush (
#pragma alloc_text(PAGE, FatCommonWrite)
#endif
_Function_class_(IRP_MJ_WRITE)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS
@ -216,7 +216,7 @@ Return Value:
return Status;
}
_Requires_lock_held_(_Global_critical_region_)
NTSTATUS
FatCommonWrite (
@ -876,7 +876,7 @@ Return Value:
FatCompleteRequest( IrpContext, Irp, Status );
return Status;
}
//
// This case corresponds to a general opened volume (DASD), ie.
// open ("a:").
@ -1132,7 +1132,7 @@ Return Value:
FatCompleteRequest( IrpContext, Irp, Status );
return Status;
}
//
// At this point we know there is an Fcb/Dcb.
//
@ -2077,7 +2077,7 @@ Return Value:
}
//
// HANDLE THE NON-CACHED CASE
//
@ -2340,7 +2340,7 @@ Return Value:
} // if No Intermediate Buffering
//
// HANDLE CACHED CASE
//
@ -2470,7 +2470,7 @@ Return Value:
WriteFileSizeToDirent = BooleanFlagOn(IrpContext->Flags,
IRP_CONTEXT_FLAG_WRITE_THROUGH);
//
// DO A NORMAL CACHED WRITE, if the MDL bit is not set,
//
@ -2536,7 +2536,7 @@ Return Value:
}
}
}
//
// These two cases correspond to a system write directory file and
// ea file.
@ -2708,7 +2708,7 @@ Return Value:
FatBugCheck( TypeOfOpen, (ULONG_PTR) FcbOrDcb, 0 );
try_exit: NOTHING;
//
// If the request was not posted and there is still an Irp,
@ -2951,7 +2951,7 @@ Return Value:
return Status;
}
//
// Local support routine
//
@ -3006,7 +3006,7 @@ Return Value:
ExQueueWorkItem( &FlushContext->Item, CriticalWorkQueue );
}
//
// Local support routine
//

View File

@ -197,7 +197,7 @@ RtlUnicodeStringToInteger (
PULONG Value
);
//
// String manipulation routines
//

View File

@ -499,7 +499,7 @@ try_exit: NOTHING;
return RC;
}
NTSTATUS
UDFPnpSurpriseRemove (
PtrUDFIrpContext PtrIrpContext,
@ -724,7 +724,7 @@ Return Value:
return RC;
} */
// Local support routine
NTSTATUS
NTAPI

View File

@ -79,7 +79,7 @@ static ULONG MiniportOIDList[] =
OID_802_3_XMIT_MORE_COLLISIONS
};
NDIS_STATUS
NTAPI
MiniportQueryInformation(

View File

@ -34,7 +34,7 @@ FindScsiAdapter (
&objectAttributes \
);
NTSTATUS
NTAPI
FindScsiAdapter (

View File

@ -154,7 +154,7 @@ ScsiClassPlugPlay(
}
ULONG
NTAPI
ScsiClassInitialize(
@ -291,7 +291,7 @@ Return Value:
return deviceFound ? STATUS_SUCCESS : STATUS_NO_SUCH_DEVICE;
}
NTSTATUS
NTAPI
ScsiClassCreateClose(
@ -341,7 +341,7 @@ Return Value:
}
NTSTATUS
NTAPI
ScsiClassReadWrite(
@ -525,7 +525,7 @@ Return Value:
} // end ScsiClassReadWrite()
NTSTATUS
NTAPI
ScsiClassGetCapabilities(
@ -606,7 +606,7 @@ Notes:
} // end ScsiClassGetCapabilities()
NTSTATUS
NTAPI
ScsiClassGetInquiryData(
@ -708,7 +708,7 @@ Notes:
} // end ScsiClassGetInquiryData()
NTSTATUS
NTAPI
ScsiClassReadDriveCapacity(
@ -933,7 +933,7 @@ Retry:
} // end ScsiClassReadDriveCapacity()
VOID
NTAPI
ScsiClassReleaseQueue(
@ -1076,7 +1076,7 @@ Return Value:
} // end ScsiClassReleaseQueue()
VOID
NTAPI
StartUnit(
@ -1211,7 +1211,7 @@ Return Value:
} // end StartUnit()
NTSTATUS
NTAPI
ScsiClassAsynchronousCompletion(
@ -1292,7 +1292,7 @@ Return Value:
} // ScsiClassAsynchronousCompletion()
VOID
NTAPI
ScsiClassSplitRequest(
@ -1486,7 +1486,7 @@ Return Value:
} // end ScsiClassSplitRequest()
NTSTATUS
NTAPI
ScsiClassIoComplete(
@ -1635,7 +1635,7 @@ Return Value:
} // end ScsiClassIoComplete()
NTSTATUS
NTAPI
ScsiClassIoCompleteAssociated(
@ -1850,7 +1850,7 @@ Return Value:
} // end ScsiClassIoCompleteAssociated()
NTSTATUS
NTAPI
ScsiClassSendSrbSynchronous(
@ -2142,7 +2142,7 @@ retry:
} // end ScsiClassSendSrbSynchronous()
BOOLEAN
NTAPI
ScsiClassInterpretSenseInfo(
@ -2839,7 +2839,7 @@ Return Value:
} // end ScsiClassInterpretSenseInfo()
VOID
NTAPI
RetryRequest(
@ -2964,7 +2964,7 @@ Return Value:
(VOID)IoCallDriver(deviceExtension->PortDeviceObject, Irp);
} // end RetryRequest()
VOID
NTAPI
ScsiClassBuildRequest(
@ -3193,7 +3193,7 @@ Return Value:
return;
} // end ScsiClassBuildRequest()
ULONG
NTAPI
ScsiClassModeSense(
@ -3290,7 +3290,7 @@ Retry:
} // end ScsiClassModeSense()
PVOID
NTAPI
ScsiClassFindModePage(
@ -3364,7 +3364,7 @@ Return Value:
return(NULL);
}
NTSTATUS
NTAPI
ScsiClassSendSrbAsynchronous(
@ -3553,7 +3553,7 @@ Return Value:
}
NTSTATUS
NTAPI
ScsiClassDeviceControlDispatch(
@ -3597,7 +3597,7 @@ Return Value:
return deviceExtension->ClassDeviceControl(DeviceObject,Irp);
}
NTSTATUS
NTAPI
ScsiClassDeviceControl(
@ -4258,7 +4258,7 @@ SetStatusAndReturn:
return status;
}
NTSTATUS
NTAPI
ScsiClassShutdownFlush(
@ -4311,7 +4311,7 @@ Return Value:
return STATUS_INVALID_DEVICE_REQUEST;
}
ULONG
NTAPI
ScsiClassFindUnclaimedDevices(
@ -4359,7 +4359,7 @@ ScsiClassFindUnclaimedDevices(
}
NTSTATUS
NTAPI
ScsiClassCreateDeviceObject(
@ -4483,7 +4483,7 @@ Return Value:
return status;
}
NTSTATUS
NTAPI
ScsiClassClaimDevice(
@ -4650,7 +4650,7 @@ Return Value:
return status;
}
NTSTATUS
NTAPI
ScsiClassInternalIoControl (
@ -4725,7 +4725,7 @@ Return Value:
IoSetCompletionRoutine(Irp, ClassIoCompletion, NULL, TRUE, TRUE, TRUE);
return IoCallDriver(deviceExtension->PortDeviceObject, Irp);
}
NTSTATUS
NTAPI
ClassIoCompletion(
@ -4773,7 +4773,7 @@ Return Value:
return Irp->IoStatus.Status;
}
VOID
NTAPI
ScsiClassInitializeSrbLookasideList(
@ -4811,7 +4811,7 @@ Return Value:
}
ULONG
NTAPI
ScsiClassQueryTimeOutRegistryValue(
@ -4904,7 +4904,7 @@ Return Value:
return timeOut;
}
NTSTATUS
NTAPI
ScsiClassCheckVerifyComplete(

View File

@ -184,7 +184,7 @@ ClassSendEjectionNotification(
return;
}
_IRQL_requires_max_(DISPATCH_LEVEL)
VOID
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
@ -766,7 +766,7 @@ Notes:
} // end switch on notification class
return status;
}
/*++////////////////////////////////////////////////////////////////////////////
ClasspInternalSetMediaChangeState()
@ -911,7 +911,7 @@ ClasspInternalSetMediaChangeState(
return;
} // end ClasspInternalSetMediaChangeState()
/*++////////////////////////////////////////////////////////////////////////////
ClassSetMediaChangeState()
@ -1021,7 +1021,7 @@ ClassSetMediaChangeState(
ClasspSetMediaChangeStateEx(FdoExtension, NewState, Wait, FALSE);
return;
}
/*++////////////////////////////////////////////////////////////////////////////
ClasspMediaChangeDetectionCompletion()
@ -1288,7 +1288,7 @@ ClasspMediaChangeDetectionCompletion(
return STATUS_MORE_PROCESSING_REQUIRED;
}
/*++////////////////////////////////////////////////////////////////////////////
ClasspSendTestUnitIrp() - ISSUE-2000/02/20-henrygab - not documented
@ -1538,7 +1538,7 @@ ClasspPrepareMcnIrp(
return irp;
}
/*++////////////////////////////////////////////////////////////////////////////
ClasspSendMediaStateIrp() - ISSUE-2000/02/20-henrygab - not documented
@ -1727,7 +1727,7 @@ ClasspSendMediaStateIrp(
return;
} // end ClasspSendMediaStateIrp()
/*++////////////////////////////////////////////////////////////////////////////
ClassCheckMediaState()
@ -1781,7 +1781,7 @@ ClassCheckMediaState(
return;
} // end ClassCheckMediaState()
/*++////////////////////////////////////////////////////////////////////////////
ClassResetMediaChangeTimer()
@ -1813,7 +1813,7 @@ ClassResetMediaChangeTimer(
}
return;
} // end ClassResetMediaChangeTimer()
/*++////////////////////////////////////////////////////////////////////////////
ClasspInitializePolling() - ISSUE-2000/02/20-henrygab - not documented
@ -1985,7 +1985,7 @@ ClasspInitializePolling(
return STATUS_INSUFFICIENT_RESOURCES;
} // end ClasspInitializePolling()
NTSTATUS
ClasspInitializeGesn(
IN PFUNCTIONAL_DEVICE_EXTENSION FdoExtension,
@ -2425,7 +2425,7 @@ ClassInitializeTestUnitPolling(
{
return ClasspInitializePolling(FdoExtension, AllowDriveToSleep);
} // end ClassInitializeTestUnitPolling()
/*++////////////////////////////////////////////////////////////////////////////
ClassInitializeMediaChangeDetection()
@ -2536,7 +2536,7 @@ ClassInitializeMediaChangeDetection(
return;
} // end ClassInitializeMediaChangeDetection()
/*++////////////////////////////////////////////////////////////////////////////
ClasspMediaChangeDeviceInstanceOverride()
@ -2698,7 +2698,7 @@ ClasspMediaChangeDeviceInstanceOverride(
return status;
} // end ClasspMediaChangeDeviceInstanceOverride()
/*++////////////////////////////////////////////////////////////////////////////
ClasspIsMediaChangeDisabledDueToHardwareLimitation()
@ -2926,7 +2926,7 @@ ClasspIsMediaChangeDisabledDueToHardwareLimitation(
return FALSE;
} // end ClasspIsMediaChangeDisabledDueToHardwareLimitation()
/*++////////////////////////////////////////////////////////////////////////////
ClasspIsMediaChangeDisabledForClass()
@ -3078,7 +3078,7 @@ ClasspIsMediaChangeDisabledForClass(
return (BOOLEAN)(!mcnRegistryValue);
} // end ClasspIsMediaChangeDisabledForClass()
/*++////////////////////////////////////////////////////////////////////////////
ClassEnableMediaChangeDetection() ISSUE-2000/02/20-henrygab - why public?
@ -3162,7 +3162,7 @@ ClassEnableMediaChangeDetection(
return;
} // end ClassEnableMediaChangeDetection()
/*++////////////////////////////////////////////////////////////////////////////
ClassDisableMediaChangeDetection() ISSUE-2000/02/20-henrygab - why public?
@ -3213,7 +3213,7 @@ ClassDisableMediaChangeDetection(
return;
} // end ClassDisableMediaChangeDetection()
/*++////////////////////////////////////////////////////////////////////////////
ClassCleanupMediaChangeDetection() ISSUE-2000/02/20-henrygab - why public?!
@ -3255,7 +3255,7 @@ ClassCleanupMediaChangeDetection(
FREE_POOL(info);
return;
} // end ClassCleanupMediaChangeDetection()
/*++////////////////////////////////////////////////////////////////////////////
ClasspMcnControl() - ISSUE-2000/02/20-henrygab - not documented
@ -3350,7 +3350,7 @@ ClasspMcnControl(
}
return status;
} // end ClasspMcnControl(
/*++////////////////////////////////////////////////////////////////////////////
ClasspMediaChangeRegistryCallBack()
@ -3456,7 +3456,7 @@ ClasspMediaChangeRegistryCallBack(
return STATUS_SUCCESS;
} // end ClasspMediaChangeRegistryCallBack()
#if (NTDDI_VERSION >= NTDDI_WINBLUE)
VOID
ClasspTimerTickEx(
@ -3936,7 +3936,7 @@ ClasspEnableTimer(
}
} // end ClasspEnableTimer()
/*++////////////////////////////////////////////////////////////////////////////
ClasspDisableTimer() - ISSUE-2000/02/20-henrygab - not documented
@ -3993,7 +3993,7 @@ ClasspDisableTimer(
return;
} // end ClasspDisableTimer()
/*++////////////////////////////////////////////////////////////////////////////
ClasspFailurePredict() - ISSUE-2000/02/20-henrygab - not documented
@ -4156,7 +4156,7 @@ ClasspFailurePredict(
IoFreeWorkItem(workItem);
return;
} // end ClasspFailurePredict()
/*++////////////////////////////////////////////////////////////////////////////
ClassNotifyFailurePredicted() ISSUE-alanwar-2000/02/20 - not documented
@ -4263,7 +4263,7 @@ ClassNotifyFailurePredicted(
}
} // end ClassNotifyFailurePredicted()
/*++////////////////////////////////////////////////////////////////////////////
ClassSetFailurePredictionPoll()

View File

@ -182,8 +182,8 @@ DriverEntry(
return STATUS_SUCCESS;
}
/*++////////////////////////////////////////////////////////////////////////////
ClassInitialize()
@ -467,7 +467,7 @@ ClassInitialize(
status = STATUS_SUCCESS;
return status;
} // end ClassInitialize()
/*++////////////////////////////////////////////////////////////////////////////
ClassInitializeEx()
@ -742,7 +742,7 @@ ClassInitializeEx(
return status;
} // end ClassInitializeEx()
/*++////////////////////////////////////////////////////////////////////////////
ClassUnload()
@ -819,7 +819,7 @@ ClassUnload(
return;
} // end ClassUnload()
/*++////////////////////////////////////////////////////////////////////////////
ClassAddDevice()
@ -868,7 +868,7 @@ ClassAddDevice(
return status;
} // end ClassAddDevice()
/*++////////////////////////////////////////////////////////////////////////////
ClassDispatchPnp()
@ -1795,7 +1795,7 @@ ClassDispatchPnp(
return status;
} // end ClassDispatchPnp()
/*++////////////////////////////////////////////////////////////////////////////
ClassPnpStartDevice()
@ -3215,7 +3215,7 @@ ClassSendStartUnit(
return;
} // end StartUnit()
/*++////////////////////////////////////////////////////////////////////////////
ClassAsynchronousCompletion() ISSUE-2000/02/18-henrygab - why public?!
@ -6607,7 +6607,7 @@ __ClassInterpretSenseInfo_ProcessingInvalidSenseBuffer:
} // end ClassInterpretSenseInfo()
/*++////////////////////////////////////////////////////////////////////////////
ClassModeSense()
@ -6977,7 +6977,7 @@ ClasspModeSelect(
return status;
}
/*++////////////////////////////////////////////////////////////////////////////
ClassSendSrbAsynchronous()
@ -7231,7 +7231,7 @@ ClassSendSrbAsynchronous(
return STATUS_PENDING;
} // end ClassSendSrbAsynchronous()
/*++////////////////////////////////////////////////////////////////////////////
ClassDeviceControlDispatch()
@ -7285,7 +7285,7 @@ ClassDeviceControlDispatch(
return commonExtension->DevInfo->ClassDeviceControl(DeviceObject,Irp);
} // end ClassDeviceControlDispatch()
/*++////////////////////////////////////////////////////////////////////////////
ClassDeviceControl()
@ -8745,7 +8745,7 @@ SetStatusAndReturn:
return status;
} // end ClassDeviceControl()
/*++////////////////////////////////////////////////////////////////////////////
ClassShutdownFlush()
@ -8812,7 +8812,7 @@ ClassShutdownFlush(
return STATUS_INVALID_DEVICE_REQUEST;
} // end ClassShutdownFlush()
/*++////////////////////////////////////////////////////////////////////////////
ClasspIsPortable()
@ -8899,7 +8899,7 @@ cleanup:
return status;
}
/*++////////////////////////////////////////////////////////////////////////////
ClassCreateDeviceObject()
@ -9240,7 +9240,7 @@ ClassCreateDeviceObject(
return status;
} // end ClassCreateDeviceObject()
/*++////////////////////////////////////////////////////////////////////////////
ClassClaimDevice()
@ -9359,7 +9359,7 @@ ClassClaimDevice(
return status;
} // end ClassClaimDevice()
/*++////////////////////////////////////////////////////////////////////////////
ClassInternalIoControl()
@ -9442,7 +9442,7 @@ ClassInternalIoControl(
return IoCallDriver(commonExtension->LowerDeviceObject, Irp);
} // end ClassInternalIoControl()
/*++////////////////////////////////////////////////////////////////////////////
ClassQueryTimeOutRegistryValue()
@ -9549,7 +9549,7 @@ ClassQueryTimeOutRegistryValue(
} // end ClassQueryTimeOutRegistryValue()
/*++////////////////////////////////////////////////////////////////////////////
ClassCheckVerifyComplete() ISSUE-2000/02/18-henrygab - why public?!
@ -9816,7 +9816,7 @@ ClassSignalCompletion(
return STATUS_MORE_PROCESSING_REQUIRED;
} // end ClassSignalCompletion()
/*++////////////////////////////////////////////////////////////////////////////
ClassPnpQueryFdoRelations()
@ -9872,7 +9872,7 @@ ClassPnpQueryFdoRelations(
return Irp->IoStatus.Status;
} // end ClassPnpQueryFdoRelations()
/*++////////////////////////////////////////////////////////////////////////////
ClassMarkChildrenMissing()
@ -9920,7 +9920,7 @@ ClassMarkChildrenMissing(
ClassReleaseChildLock(Fdo);
return;
} // end ClassMarkChildrenMissing()
/*++////////////////////////////////////////////////////////////////////////////
ClassMarkChildMissing()
@ -9977,7 +9977,7 @@ ClassMarkChildMissing(
return returnValue;
} // end ClassMarkChildMissing()
/*++////////////////////////////////////////////////////////////////////////////
ClassRetrieveDeviceRelations()
@ -10123,7 +10123,7 @@ ClassRetrieveDeviceRelations(
ClassReleaseChildLock(fdoExtension);
return STATUS_SUCCESS;
} // end ClassRetrieveDeviceRelations()
/*++////////////////////////////////////////////////////////////////////////////
ClassGetPdoId()
@ -10168,7 +10168,7 @@ ClassGetPdoId(
return driverExtension->InitData.ClassQueryId( Pdo, IdType, IdString);
} // end ClassGetPdoId()
/*++////////////////////////////////////////////////////////////////////////////
ClassQueryPnpCapabilities()
@ -10218,7 +10218,7 @@ ClassQueryPnpCapabilities(
return STATUS_NOT_IMPLEMENTED;
}
} // end ClassQueryPnpCapabilities()
/*++////////////////////////////////////////////////////////////////////////////
ClassInvalidateBusRelations()
@ -10276,7 +10276,7 @@ ClassInvalidateBusRelations(
return;
} // end ClassInvalidateBusRelations()
/*++////////////////////////////////////////////////////////////////////////////
ClassRemoveDevice() ISSUE-2000/02/18-henrygab - why public?!
@ -10609,7 +10609,7 @@ ClassRemoveDevice(
return STATUS_SUCCESS;
} // end ClassRemoveDevice()
/*++////////////////////////////////////////////////////////////////////////////
ClassGetDriverExtension()
@ -10640,7 +10640,7 @@ ClassGetDriverExtension(
#endif
return IoGetDriverObjectExtension(DriverObject, CLASS_DRIVER_EXTENSION_KEY);
} // end ClassGetDriverExtension()
/*++////////////////////////////////////////////////////////////////////////////
ClasspStartIo()
@ -10699,7 +10699,7 @@ ClasspStartIo(
return;
} // ClasspStartIo()
/*++////////////////////////////////////////////////////////////////////////////
ClassUpdateInformationInRegistry()
@ -10897,7 +10897,7 @@ ClassUpdateInformationInRegistry(
} _SEH2_END;
} // end ClassUpdateInformationInRegistry()
/*++////////////////////////////////////////////////////////////////////////////
ClasspSendSynchronousCompletion()
@ -10960,7 +10960,7 @@ ClasspSendSynchronousCompletion(
return STATUS_MORE_PROCESSING_REQUIRED;
} // end ClasspSendSynchronousCompletion()
/*++
ISSUE-2000/02/20-henrygab Not documented ClasspRegisterMountedDeviceInterface
@ -11023,7 +11023,7 @@ ClasspRegisterMountedDeviceInterface(
}
return;
} // end ClasspRegisterMountedDeviceInterface()
/*++////////////////////////////////////////////////////////////////////////////
ClassSendDeviceIoControlSynchronous()
@ -11320,7 +11320,7 @@ ClassSendDeviceIoControlSynchronous(
return;
} // end ClassSendDeviceIoControlSynchronous()
/*++////////////////////////////////////////////////////////////////////////////
ClassForwardIrpSynchronous()
@ -11348,7 +11348,7 @@ ClassForwardIrpSynchronous(
IoCopyCurrentIrpStackLocationToNext(Irp);
return ClassSendIrpSynchronous(CommonExtension->LowerDeviceObject, Irp);
} // end ClassForwardIrpSynchronous()
/*++////////////////////////////////////////////////////////////////////////////
ClassSendIrpSynchronous()
@ -11447,7 +11447,7 @@ ClassSendIrpSynchronous(
return status;
} // end ClassSendIrpSynchronous()
/*++////////////////////////////////////////////////////////////////////////////
ClassGetVpb()
@ -11479,7 +11479,7 @@ ClassGetVpb(
#endif
return DeviceObject->Vpb;
} // end ClassGetVpb()
/*++
ISSUE-2000/02/20-henrygab Not documented ClasspAllocateReleaseRequest
@ -11515,7 +11515,7 @@ ClasspAllocateReleaseRequest(
return STATUS_SUCCESS;
} // end ClasspAllocateReleaseRequest()
/*++
ISSUE-2000/02/20-henrygab Not documented ClasspFreeReleaseRequest
@ -11560,7 +11560,7 @@ ClasspFreeReleaseRequest(
return;
} // end ClasspFreeReleaseRequest()
/*++////////////////////////////////////////////////////////////////////////////
ClassReleaseQueue()
@ -11593,7 +11593,7 @@ ClassReleaseQueue(
ClasspReleaseQueue(Fdo, NULL);
return;
} // end ClassReleaseQueue()
/*++////////////////////////////////////////////////////////////////////////////
ClasspAllocateReleaseQueueIrp()
@ -11867,7 +11867,7 @@ ClasspReleaseQueue(
return;
} // end ClassReleaseQueue()
/*++////////////////////////////////////////////////////////////////////////////
ClassReleaseQueueCompletion()
@ -11949,8 +11949,8 @@ ClassReleaseQueueCompletion(
return STATUS_MORE_PROCESSING_REQUIRED;
} // ClassAsynchronousCompletion()
/*++////////////////////////////////////////////////////////////////////////////
ClassAcquireChildLock()
@ -11995,7 +11995,7 @@ ClassAcquireChildLock(
FdoExtension->ChildLockAcquisitionCount++;
return;
}
/*++////////////////////////////////////////////////////////////////////////////
ClassReleaseChildLock() ISSUE-2000/02/18-henrygab - not documented
@ -12032,7 +12032,7 @@ ClassReleaseChildLock(
return;
} // end ClassReleaseChildLock(
/*++////////////////////////////////////////////////////////////////////////////
ClassAddChild()
@ -12089,7 +12089,7 @@ ClassAddChild(
}
return;
} // end ClassAddChild()
/*++////////////////////////////////////////////////////////////////////////////
ClassRemoveChild()
@ -12183,7 +12183,7 @@ ClassRemoveChild(
return Child;
} // end ClassRemoveChild()
/*++
ISSUE-2000/02/20-henrygab Not documented ClasspRetryRequestDpc
@ -12307,7 +12307,7 @@ ClasspRetryRequestDpc(
return;
} // end ClasspRetryRequestDpc()
/*++
ISSUE-2000/02/20-henrygab Not documented ClassRetryRequest
@ -12447,7 +12447,7 @@ ClassRetryRequest(
} // end ClassRetryRequest()
/*++
ISSUE-2000/02/20-henrygab Not documented ClasspRetryDpcTimer
@ -12502,7 +12502,7 @@ ClasspRetryDpcTimer(
return;
} // end ClasspRetryDpcTimer()
NTSTATUS
ClasspInitializeHotplugInfo(
IN PFUNCTIONAL_DEVICE_EXTENSION FdoExtension
@ -12628,7 +12628,7 @@ ClasspInitializeHotplugInfo(
return STATUS_SUCCESS;
}
VOID
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
ClasspScanForClassHacks(
@ -12646,7 +12646,7 @@ ClasspScanForClassHacks(
SET_FLAG(FdoExtension->PrivateFdoData->HackFlags, Data);
return;
}
VOID
ClasspScanForSpecialInRegistry(
IN PFUNCTIONAL_DEVICE_EXTENSION FdoExtension
@ -12756,7 +12756,7 @@ cleanupScanForSpecial:
return;
}
/*++////////////////////////////////////////////////////////////////////////////
ClasspUpdateDiskProperties()

View File

@ -104,7 +104,7 @@ GUIDREGINFO wmiClassGuids[] =
#define MSStorageDriver_ClassErrorLogGuid_Index 0
#define NUM_CLASS_WMI_GUIDS (sizeof(wmiClassGuids) / sizeof(GUIDREGINFO))
/*++////////////////////////////////////////////////////////////////////////////
ClassFindGuid()
@ -193,7 +193,7 @@ ClassFindInternalGuid(
return(FALSE);
} // end ClassFindGuid()
/*++////////////////////////////////////////////////////////////////////////////
ClassSystemControl()
@ -776,7 +776,7 @@ ClassSystemControl(
return(status);
} // end ClassSystemControl()
NTSTATUS
ClassQueryInternalDataBlock(
@ -1135,7 +1135,7 @@ ClassWmiCompleteRequest(
ClassCompleteRequest(DeviceObject, Irp, PriorityBoost);
return(Status);
} // end ClassWmiCompleteRequest()
/*++////////////////////////////////////////////////////////////////////////////
ClassWmiFireEvent()

View File

@ -42,7 +42,7 @@ VOID
ClasspCleanupDisableMcn(
IN PFILE_OBJECT_EXTENSION FsContext
);
#ifdef ALLOC_PRAGMA
#pragma alloc_text(PAGE, ClassCreateClose)
#pragma alloc_text(PAGE, ClasspCreateClose)
@ -118,7 +118,7 @@ Return Value:
return status;
}
NTSTATUS
ClasspCreateClose(
IN PDEVICE_OBJECT DeviceObject,
@ -291,7 +291,7 @@ Return Value:
return status;
}
VOID
ClasspCleanupProtectedLocks(
IN PFILE_OBJECT_EXTENSION FsContext
@ -429,7 +429,7 @@ ClasspCleanupProtectedLocks(
return;
}
VOID
ClasspCleanupDisableMcn(
IN PFILE_OBJECT_EXTENSION FsContext

View File

@ -53,7 +53,7 @@ struct _DICTIONARY_HEADER {
struct _DICTIONARY_HEADER;
typedef struct _DICTIONARY_HEADER DICTIONARY_HEADER, *PDICTIONARY_HEADER;
VOID
InitializeDictionary(
IN PDICTIONARY Dictionary
@ -65,7 +65,7 @@ InitializeDictionary(
return;
}
BOOLEAN
TestDictionarySignature(
IN PDICTIONARY Dictionary
@ -152,7 +152,7 @@ AllocateDictionaryEntry(
return status;
}
PVOID
GetDictionaryEntry(
IN PDICTIONARY Dictionary,
@ -184,7 +184,7 @@ GetDictionaryEntry(
return data;
}
VOID
FreeDictionaryEntry(
IN PDICTIONARY Dictionary,

View File

@ -33,7 +33,7 @@ DRIVER_DISPATCH ClassDispatchUnimplemented;
// Routines start
//
VOID
ClassInitializeDispatchTables(
PCLASS_DRIVER_EXTENSION DriverExtension
@ -67,7 +67,7 @@ ClassInitializeDispatchTables(
return;
}
NTSTATUS
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
ClassGlobalDispatch(

View File

@ -218,7 +218,7 @@ ClassAcquireRemoveLockEx(
return (commonExtension->IsRemoved);
}
/*++////////////////////////////////////////////////////////////////////////////
ClassReleaseRemoveLock()
@ -371,7 +371,7 @@ ClassReleaseRemoveLock(
return;
}
/*++////////////////////////////////////////////////////////////////////////////
ClassCompleteRequest()

View File

@ -467,7 +467,7 @@ RetryRequest(
return;
} // end RetryRequest()
/*++
ClassBuildRequest()

View File

@ -82,7 +82,7 @@ RetryPowerRequest(
#ifdef ALLOC_PRAGMA
#pragma alloc_text(PAGE, ClasspPowerSettingCallback)
#endif
/*++////////////////////////////////////////////////////////////////////////////
ClassDispatchPower()
@ -141,7 +141,7 @@ ClassDispatchPower(
return commonExtension->DevInfo->ClassPowerDevice(DeviceObject, Irp);
} // end ClassDispatchPower()
/*++////////////////////////////////////////////////////////////////////////////
ClasspPowerUpCompletion()
@ -718,7 +718,7 @@ ClasspPowerUpCompletionFailure:
return STATUS_MORE_PROCESSING_REQUIRED;
} // end ClasspPowerUpCompletion()
/*++////////////////////////////////////////////////////////////////////////////
ClasspPowerDownCompletion()
@ -1527,7 +1527,7 @@ ClasspPowerDownCompletion(
return STATUS_MORE_PROCESSING_REQUIRED;
} // end ClasspPowerDownCompletion()
/*++////////////////////////////////////////////////////////////////////////////
ClasspPowerHandler()
@ -1874,7 +1874,7 @@ ClasspPowerHandlerCleanup:
TRUE);
return PoCallDriver(lowerDevice, Irp);
} // end ClasspPowerHandler()
/*++////////////////////////////////////////////////////////////////////////////
ClassMinimalPowerHandler()
@ -1953,7 +1953,7 @@ ClassMinimalPowerHandler(
return status;
} // end ClassMinimalPowerHandler()
/*++////////////////////////////////////////////////////////////////////////////
ClassSpinDownPowerHandler()
@ -2028,7 +2028,7 @@ ClassSpinDownPowerHandler(
return ClasspPowerHandler(DeviceObject, Irp, options);
} // end ClassSpinDownPowerHandler()
/*++////////////////////////////////////////////////////////////////////////////
ClassStopUnitPowerHandler()
@ -2070,7 +2070,7 @@ ClassStopUnitPowerHandler(
return ClassSpinDownPowerHandler(DeviceObject, Irp);
} // end ClassStopUnitPowerHandler()
/*++////////////////////////////////////////////////////////////////////////////
RetryPowerRequest()
@ -2191,7 +2191,7 @@ RetryPowerRequest(
return;
} // end RetryRequest()
/*++////////////////////////////////////////////////////////////////////////////
ClasspStartNextPowerIrpCompletion()

View File

@ -666,7 +666,7 @@ VOID FreeDeviceInputMdl(PMDL Mdl)
}
#endif
/*++
ClasspDuidGetDeviceIdProperty
@ -759,7 +759,7 @@ FnExit:
}
/*++
ClasspDuidGetDeviceProperty
@ -851,7 +851,7 @@ FnExit:
return status;
}
/*++
ClasspDuidGetDriveLayout
@ -973,7 +973,7 @@ FnExit:
return status;
}
/*++
ClasspDuidQueryProperty
@ -6187,7 +6187,7 @@ ValidPersistentReserveType(
return FALSE;
}
/*++
ClasspPersistentReserve

View File

@ -166,7 +166,7 @@ BAD_CONTROLLER_INFORMATION const ScsiDiskBadControllers[] = {
#define SCSI_DISK_TIMEOUT 10
#define PARTITION0_LIST_SIZE 4
NTSTATUS
NTAPI
DriverEntry(
@ -336,7 +336,7 @@ ScsiDiskFileSystemControl(PDEVICE_OBJECT DeviceObject,
#pragma alloc_text(PAGE, ScsiDiskModeSelect)
#endif
NTSTATUS
NTAPI
DriverEntry(
@ -402,7 +402,7 @@ Return Value:
} // end DriverEntry()
BOOLEAN
NTAPI
ScsiDiskDeviceVerification(
@ -437,7 +437,7 @@ Return Value:
}
}
BOOLEAN
NTAPI
FindScsiDisks(
@ -615,7 +615,7 @@ Return Value:
} // end FindScsiDisks()
NTSTATUS
NTAPI
CreateDiskDeviceObject(
@ -1067,7 +1067,7 @@ CreateDiskDeviceObjectsExit:
} // end CreateDiskDeviceObjects()
VOID
NTAPI
ReportToMountMgr(
@ -1190,7 +1190,7 @@ Return Value:
return;
}
NTSTATUS
NTAPI
CreatePartitionDeviceObjects(
@ -1632,7 +1632,7 @@ CreatePartitionDeviceObjectsExit:
} // end CreatePartitionDeviceObjects()
NTSTATUS
NTAPI
ScsiDiskReadWriteVerification(
@ -1727,7 +1727,7 @@ Return Value:
} // end ScsiDiskReadWrite()
NTSTATUS
NTAPI
ScsiDiskDeviceControl(
@ -3092,7 +3092,7 @@ Return Value:
return(status);
} // end ScsiDiskDeviceControl()
NTSTATUS
NTAPI
ScsiDiskShutdownFlush (
@ -3270,7 +3270,7 @@ Return Value:
} // end ScsiDiskShutdown()
BOOLEAN
NTAPI
IsFloppyDevice(
@ -3410,7 +3410,7 @@ Return Value:
} // end IsFloppyDevice()
BOOLEAN
NTAPI
ScsiDiskModeSelect(
@ -3546,7 +3546,7 @@ Retry:
} // end SciDiskModeSelect()
VOID
NTAPI
DisableWriteCache(
@ -3753,7 +3753,7 @@ DisableWriteCache(
return;
}
BOOLEAN
NTAPI
CalculateMbrCheckSum(
@ -3875,7 +3875,7 @@ Return Value:
return TRUE;
}
BOOLEAN
NTAPI
EnumerateBusKey(
@ -4203,7 +4203,7 @@ Return Value:
} // end EnumerateBusKey()
VOID
NTAPI
UpdateGeometry(
@ -4543,7 +4543,7 @@ diskMatched:
} // end UpdateGeometry()
NTSTATUS
NTAPI
UpdateRemovableGeometry (
@ -4700,7 +4700,7 @@ Return Value:
return(STATUS_SUCCESS);
}
VOID
NTAPI
ScsiDiskProcessError(
@ -4764,7 +4764,7 @@ Return Value:
deviceExtension->ErrorCount++;
}
}
VOID
NTAPI
ScanForSpecial(
@ -4866,7 +4866,7 @@ Return Value:
return;
}
VOID
NTAPI
ResetScsiBus(
@ -4972,7 +4972,7 @@ Return Value:
} // end ResetScsiBus()
VOID
NTAPI
UpdateDeviceObjects(

View File

@ -493,7 +493,7 @@ USBFlopFormatTracks(
#endif
NTSTATUS
#ifdef __REACTOS__
NTAPI
@ -566,7 +566,7 @@ Return Value:
} // end DriverEntry()
VOID
#ifdef __REACTOS__
NTAPI
@ -595,7 +595,7 @@ ScsiFlopUnload(
#pragma warning(push)
#pragma warning(disable:28152)
#endif
NTSTATUS
#ifdef __REACTOS__
NTAPI
@ -1079,7 +1079,7 @@ NTSTATUS ScsiFlopStartDevice(
return STATUS_SUCCESS;
}
NTSTATUS
#ifdef __REACTOS__
NTAPI
@ -1623,7 +1623,7 @@ Return Value:
} // end ScsiFlopDeviceControl()
#if 0
BOOLEAN
IsFloppyDevice(
PDEVICE_OBJECT DeviceObject
@ -1734,7 +1734,7 @@ Return Value:
}
#endif
NTSTATUS
DetermineMediaType(
PDEVICE_OBJECT DeviceObject
@ -1894,7 +1894,7 @@ Return Value:
}
return status;
}
ULONG
DetermineDriveType(
PDEVICE_OBJECT DeviceObject
@ -2051,7 +2051,7 @@ Return Value:
return(DRIVE_TYPE_NONE);
}
BOOLEAN
FlCheckFormatParameters(
IN PDEVICE_OBJECT DeviceObject,
@ -2162,7 +2162,7 @@ Return Value:
#pragma warning(pop)
#endif
}
NTSTATUS
FormatMedia(
PDEVICE_OBJECT DeviceObject,
@ -2389,7 +2389,7 @@ Return Value:
return(status);
}
VOID
#ifdef __REACTOS__
NTAPI
@ -2677,7 +2677,7 @@ Return Value:
return;
}
NTSTATUS
FlopticalFormatMedia(
PDEVICE_OBJECT DeviceObject,
@ -2788,7 +2788,7 @@ Return Value:
}
NTSTATUS
#ifdef __REACTOS__
NTAPI
@ -2878,7 +2878,7 @@ Return Value:
return STATUS_SUCCESS;
}
NTSTATUS
#ifdef __REACTOS__
NTAPI
@ -2894,7 +2894,7 @@ ScsiFlopStopDevice(
return STATUS_SUCCESS;
}
NTSTATUS
USBFlopGetMediaTypes(
IN PDEVICE_OBJECT DeviceObject,
@ -3264,7 +3264,7 @@ Return Value:
return status;
}
NTSTATUS
USBFlopFormatTracks(
IN PDEVICE_OBJECT DeviceObject,

View File

@ -245,7 +245,7 @@ IdeMediaStatus(
);
BOOLEAN
NTAPI
IssueIdentify(
@ -630,7 +630,7 @@ Return Value:
} // end IssueIdentify()
BOOLEAN
NTAPI
SetDriveParameters(
@ -727,7 +727,7 @@ Return Value:
} // end SetDriveParameters()
BOOLEAN
NTAPI
AtapiResetController(
@ -899,7 +899,7 @@ Return Value:
} // end AtapiResetController()
ULONG
NTAPI
MapError(
@ -1483,7 +1483,7 @@ AtapiHwInitializeChanger (
}
BOOLEAN
NTAPI
FindDevices(
@ -1846,7 +1846,7 @@ atapiIssueId:
} // end FindDevices()
ULONG
NTAPI
AtapiParseArgumentString(
@ -2099,7 +2099,7 @@ ContinueSearch:
ULONG
NTAPI
@ -2569,7 +2569,7 @@ retryIdentifier:
BOOLEAN
NTAPI
FindBrokenController(
@ -2706,7 +2706,7 @@ Return Value:
return FALSE;
} // end FindBrokenController
ULONG
NTAPI
AtapiFindNativeModeController(
@ -3008,7 +3008,7 @@ setStatusAndExit:
} // end AtapiFindNativeModeController()
ULONG
NTAPI
AtapiFindPCIController(
@ -3354,7 +3354,7 @@ setStatusAndExit:
} // end AtapiFindPCIController()
ULONG
NTAPI
Atapi2Scsi(
@ -3405,7 +3405,7 @@ Atapi2Scsi(
return bytesAdjust >> 1;
}
VOID
NTAPI
AtapiCallBack(
@ -3478,7 +3478,7 @@ AtapiCallBack(
AtapiInterrupt(HwDeviceExtension);
}
BOOLEAN
NTAPI
AtapiInterrupt(
@ -4337,7 +4337,7 @@ CompleteRequest:
} // end AtapiInterrupt()
ULONG
NTAPI
IdeSendSmartCommand(
@ -4493,7 +4493,7 @@ Return Value:
} // end IdeSendSmartCommand()
ULONG
NTAPI
IdeReadWrite(
@ -4737,7 +4737,7 @@ Return Value:
} // end IdeReadWrite()
ULONG
NTAPI
IdeVerify(
@ -4907,7 +4907,7 @@ Return Value:
} // end IdeVerify()
VOID
NTAPI
Scsi2Atapi(
@ -4975,7 +4975,7 @@ Return Value:
}
ULONG
NTAPI
AtapiSendCommand(
@ -5805,7 +5805,7 @@ Return Value:
BOOLEAN
NTAPI
AtapiStartIo(
@ -6171,7 +6171,7 @@ Return Value:
} // end AtapiStartIo()
ULONG
NTAPI
DriverEntry(
@ -6327,7 +6327,7 @@ Return Value:
} // end DriverEntry()
LONG
NTAPI
AtapiStringCmp (
@ -6375,7 +6375,7 @@ AtapiStringCmp (
return 0;
}
VOID
NTAPI
AtapiZeroMemory(
@ -6390,7 +6390,7 @@ AtapiZeroMemory(
}
}
VOID
NTAPI
AtapiHexToString (
@ -6441,7 +6441,7 @@ AtapiHexToString (
}
PSCSI_REQUEST_BLOCK
NTAPI
BuildMechanismStatusSrb (
@ -6487,7 +6487,7 @@ BuildMechanismStatusSrb (
return srb;
}
PSCSI_REQUEST_BLOCK
NTAPI
BuildRequestSenseSrb (

View File

@ -233,7 +233,7 @@ typedef struct _COMPLETION_CONTEXT {
SCSI_REQUEST_BLOCK Srb;
}COMPLETION_CONTEXT, *PCOMPLETION_CONTEXT;
NTSTATUS
ScsiClassGetCapabilities(
IN PDEVICE_OBJECT PortDeviceObject,

View File

@ -180,7 +180,7 @@ typedef struct _MODE_DATA_COMPRESS_PAGE {
} MODE_DATA_COMPRESS_PAGE, *PMODE_DATA_COMPRESS_PAGE;
//
// The following routines are the exported entry points for
// all tape class drivers. Note all these routines name start
@ -217,7 +217,7 @@ ScsiTapeDeviceControl(
);
//
// The following routines are provided by the tape
// device-specific module. Each routine name is

View File

@ -176,7 +176,7 @@ typedef struct disassemble_info {
} disassemble_info;
/* Standard disassemblers. Disassemble one instruction at the given
target address. Return number of octets processed. */
typedef int (*disassembler_ftype)
@ -261,7 +261,7 @@ extern disassembler_ftype disassembler PARAMS ((bfd *));
/* Document any target specific options available from the disassembler. */
extern void disassembler_usage PARAMS ((FILE *));
/* This block of definitions is for particular callers who read instructions
into a buffer before calling the instruction decoder. */

View File

@ -2032,7 +2032,7 @@ static int two_source_ops;
static bfd_vma op_address[3];
static bfd_vma op_riprel[3];
static bfd_vma start_pc;
/*
* On the 386's of 1988, the maximum length of an instruction is 15 bytes.
* (see topic "Redundant prefixes" in the "Differences from 8086"

View File

@ -166,7 +166,7 @@ typedef unsigned long int reg_syntax_t;
stored in the pattern buffer, so changing this does not affect
already-compiled regexps. */
extern reg_syntax_t re_syntax_options;
/* Define combinations of the above bits for the standard possibilities.
(The [[[ comments delimit what gets put into the Texinfo file, so
don't delete them!) */
@ -235,7 +235,7 @@ extern reg_syntax_t re_syntax_options;
| RE_NO_BK_PARENS | RE_NO_BK_REFS \
| RE_NO_BK_VBAR | RE_UNMATCHED_RIGHT_PAREN_ORD)
/* [[[end syntaxes]]] */
/* Maximum number of duplicates an interval can allow. Some systems
(erroneously) define this in other header files, but we want our
value, so remove any previous define. */
@ -310,7 +310,7 @@ typedef enum
REG_ESIZE, /* Compiled pattern bigger than 2^16 bytes. */
REG_ERPAREN /* Unmatched ) or \); not returned from regcomp. */
} reg_errcode_t;
/* This data structure represents a compiled pattern. Before calling
the pattern compiler, the fields `buffer', `allocated', `fastmap',
`translate', and `no_sub' can be set. After the pattern has been
@ -390,7 +390,7 @@ struct re_pattern_buffer
};
typedef struct re_pattern_buffer regex_t;
/* Type for byte offsets within the string. POSIX mandates this. */
typedef int regoff_t;
@ -421,7 +421,7 @@ typedef struct
regoff_t rm_so; /* Byte offset from string's start to substring's start. */
regoff_t rm_eo; /* Byte offset from string's start to substring's end. */
} regmatch_t;
/* Declarations for routines. */
/* To avoid duplicating every routine declaration -- once with a
@ -563,7 +563,7 @@ extern void regfree _RE_ARGS ((regex_t *__preg));
#endif /* C++ */
#endif /* regex.h */
/*
Local variables:
make-backup-files: t

View File

@ -29,7 +29,7 @@
#define DECLSPEC_IMPORT
#include <ntifs.h>
/*!
* @brief Cancel routine that is installed on any IRP that this library manages
*
@ -80,7 +80,7 @@ IopCsqCancelRoutine(
Csq->CsqCompleteCanceledIrp(Csq, Irp);
}
/*!
* @brief Set up a CSQ struct to initialize the queue
*
@ -121,7 +121,7 @@ IoCsqInitialize(
return STATUS_SUCCESS;
}
/*!
* @brief Set up a CSQ struct to initialize the queue (extended version)
*
@ -161,7 +161,7 @@ IoCsqInitializeEx(
return STATUS_SUCCESS;
}
/*!
* @brief Insert an IRP into the CSQ
*
@ -182,7 +182,7 @@ IoCsqInsertIrp(
IoCsqInsertIrpEx(Csq, Irp, Context, 0);
}
/*!
* @brief Insert an IRP into the CSQ, with additional tracking context
*
@ -307,7 +307,7 @@ IoCsqInsertIrpEx(
return Retval;
}
/*!
* @brief Remove anb IRP from the queue
*

View File

@ -36,7 +36,7 @@ extern "C" {
//
// Public constructors
//
FxDpc::FxDpc(
__in PFX_DRIVER_GLOBALS FxDriverGlobals
) :
@ -57,7 +57,7 @@ FxDpc::FxDpc(
MarkDisposeOverride(ObjectDoNotLock);
}
FxDpc::~FxDpc()
{
//

View File

@ -559,7 +559,7 @@ FxDriver::GetRegistryPath(
return pString;
}
VOID
FxDriver::ConfigureConstraints(
__in_opt PWDF_OBJECT_ATTRIBUTES DriverAttributes

View File

@ -91,7 +91,7 @@ Return Value:
}
}
__drv_maxIRQL(DISPATCH_LEVEL)
ULONG
STDCALL

View File

@ -109,7 +109,7 @@ Returns:
m_LockObject = LockObject;
}
_Must_inspect_result_
NTSTATUS
FxIrpQueue::InsertTailRequest(
@ -162,7 +162,7 @@ Returns:
return Status;
}
_Must_inspect_result_
NTSTATUS
FxIrpQueue::InsertHeadRequest(
@ -214,7 +214,7 @@ Returns:
return Status;
}
MdIrp
FxIrpQueue::GetNextRequest(
__out PMdIoCsqIrpContext* pCsqContext
@ -234,7 +234,7 @@ Routine Description:
return RemoveNextIrpFromQueue(NULL, pCsqContext);
}
_Must_inspect_result_
NTSTATUS
FxIrpQueue::GetNextRequest(

View File

@ -64,7 +64,7 @@ FxWorkItem::FxWorkItem(
MarkDisposeOverride(ObjectDoNotLock);
}
FxWorkItem::~FxWorkItem(
VOID
)

View File

@ -343,7 +343,7 @@ FxPkgPnp::Dispose(
return FxPackage::Dispose(); // __super call
}
_Must_inspect_result_
NTSTATUS
FxPkgPnp::Initialize(

View File

@ -781,7 +781,7 @@ Return Value:
(sizeof(m_PnpMachine.m_States.History)/
sizeof(m_PnpMachine.m_States.History[0])));
}
/*++
The locking model for the PnP state machine requires that events be enqueued
@ -1151,7 +1151,7 @@ Routine Description:
}
}
}
VOID
FxPkgPnp::PnpEnterNewState(
__in WDF_DEVICE_PNP_STATE State
@ -1258,7 +1258,7 @@ Return Value:
}
}
}
WDF_DEVICE_PNP_STATE
FxPkgPnp::PnpEventCheckForDevicePresence(
__inout FxPkgPnp* This

View File

@ -3344,7 +3344,7 @@ FxPkgPnp::PowerPolicyProcessEventInner(
}
}
}
VOID
FxPkgPnp::PowerPolicyEnterNewState(
__in WDF_DEVICE_POWER_POLICY_STATE NewState
@ -3454,7 +3454,7 @@ Return Value:
}
}
/*++
One of the goals of the Driver Framework is to make it really easy to write

View File

@ -103,4 +103,4 @@ FxUserObject::FxUserObject(
{
return;
}

View File

@ -33,7 +33,7 @@ extern "C" {
#endif
}
extern "C" {
_Must_inspect_result_

View File

@ -16,7 +16,7 @@
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
#include "getopt.h"
#include <stdio.h>
@ -114,7 +114,7 @@ int optopt = '?';
/* Keep a global copy of all internal members of getopt_data. */
static struct _getopt_data getopt_data;
/* Exchange two adjacent subsequences of ARGV.
One subsequence is elements [first_nonopt,last_nonopt)
which contains all the non-options that have been skipped so far.
@ -407,7 +407,7 @@ _getopt_initialize (int argc,
d->__initialized = 1;
return optstring;
}
/* Scan elements of ARGV (whose length is ARGC) for option characters
given in OPTSTRING.
@ -736,7 +736,7 @@ GETOPT_ENTRY(__posix_getopt, 1)
GETOPT_ENTRY(getopt, 1)
#endif
#ifdef TEST
/* Compile with -DTEST to make an executable for use in testing

View File

@ -16,7 +16,7 @@
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
#include "getopt.h"
#include "getopt_int.h"
@ -60,7 +60,7 @@ _getopt_long_only_r (int argc, char **argv, const char *options,
1, d, 0);
}
#ifdef TEST
#include <stdio.h>

View File

@ -27,7 +27,7 @@ extern int _getopt_internal (int ___argc, char **___argv,
const struct option *__longopts, int *__longind,
int __long_only, int __posixly_correct);
/* Reentrant versions which can handle parsing multiple argument
vectors at the same time. */

Some files were not shown because too many files have changed in this diff Show More