|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "cdprocs.h"
Go to the source code of this file.
Classes | |
| struct | _FCB_TABLE_ELEMENT |
Macros | |
| #define | BugCheckFileId (CDFS_BUG_CHECK_STRUCSUP) |
| #define | CdAllocateFcbData(IC) FsRtlAllocatePoolWithTag( CdPagedPool, SIZEOF_FCB_DATA, TAG_FCB_DATA ) |
| #define | CdDeallocateFcbData(IC, F) CdFreePool( &(F) ) |
| #define | CdAllocateFcbIndex(IC) FsRtlAllocatePoolWithTag( CdPagedPool, SIZEOF_FCB_INDEX, TAG_FCB_INDEX ) |
| #define | CdDeallocateFcbIndex(IC, F) CdFreePool( &(F) ) |
| #define | CdAllocateFcbNonpaged(IC) ExAllocatePoolWithTag( CdNonPagedPool, sizeof( FCB_NONPAGED ), TAG_FCB_NONPAGED ) |
| #define | CdDeallocateFcbNonpaged(IC, FNP) CdFreePool( &(FNP) ) |
| #define | CdAllocateCcb(IC) FsRtlAllocatePoolWithTag( CdPagedPool, sizeof( CCB ), TAG_CCB ) |
| #define | CdDeallocateCcb(IC, C) CdFreePool( &(C) ) |
| #define | CdInsertFcbTable(IC, F) |
| #define | CdDeleteFcbTable(IC, F) |
Typedefs | |
| typedef struct _FCB_TABLE_ELEMENT | FCB_TABLE_ELEMENT |
| typedef struct _FCB_TABLE_ELEMENT * | PFCB_TABLE_ELEMENT |
Variables | |
| RTL_GENERIC_COMPARE_ROUTINE | CdFcbTableCompare |
| RTL_GENERIC_ALLOCATE_ROUTINE | CdAllocateFcbTable |
| RTL_GENERIC_FREE_ROUTINE | CdDeallocateFcbTable |
| UNICODE_STRING | CdInternalStreamNames [] |
| #define BugCheckFileId (CDFS_BUG_CHECK_STRUCSUP) |
Definition at line 23 of file strucsup.c.
| #define CdAllocateCcb | ( | IC | ) | FsRtlAllocatePoolWithTag( CdPagedPool, sizeof( CCB ), TAG_CCB ) |
Definition at line 93 of file strucsup.c.
| #define CdAllocateFcbData | ( | IC | ) | FsRtlAllocatePoolWithTag( CdPagedPool, SIZEOF_FCB_DATA, TAG_FCB_DATA ) |
Definition at line 75 of file strucsup.c.
| #define CdAllocateFcbIndex | ( | IC | ) | FsRtlAllocatePoolWithTag( CdPagedPool, SIZEOF_FCB_INDEX, TAG_FCB_INDEX ) |
Definition at line 81 of file strucsup.c.
| #define CdAllocateFcbNonpaged | ( | IC | ) | ExAllocatePoolWithTag( CdNonPagedPool, sizeof( FCB_NONPAGED ), TAG_FCB_NONPAGED ) |
Definition at line 87 of file strucsup.c.
| #define CdDeallocateCcb | ( | IC, | |
| C | |||
| ) | CdFreePool( &(C) ) |
Definition at line 96 of file strucsup.c.
| #define CdDeallocateFcbData | ( | IC, | |
| F | |||
| ) | CdFreePool( &(F) ) |
Definition at line 78 of file strucsup.c.
| #define CdDeallocateFcbIndex | ( | IC, | |
| F | |||
| ) | CdFreePool( &(F) ) |
Definition at line 84 of file strucsup.c.
| #define CdDeallocateFcbNonpaged | ( | IC, | |
| FNP | |||
| ) | CdFreePool( &(FNP) ) |
Definition at line 90 of file strucsup.c.
Definition at line 139 of file strucsup.c.
Definition at line 129 of file strucsup.c.
| typedef struct _FCB_TABLE_ELEMENT * PFCB_TABLE_ELEMENT |
| _At_ | ( | BOOLEANCdCreateFileLock ( _In_opt_ PIRP_CONTEXT | IrpContext, |
| _Pre_notnull_ | |||
| ) |
Definition at line 1498 of file strucsup.c.
| _Requires_lock_held_ | ( | _Global_critical_region_ | ) |
Definition at line 1915 of file strucsup.c.
| _When_ | ( | RaiseOnError|| | return, |
| _At_(Fcb->FileLock, _Post_notnull_) | |||
| ) |
Definition at line 2706 of file strucsup.c.
| VOID CdCleanupIrpContext | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _In_ BOOLEAN | Post | ||
| ) |
Definition at line 1733 of file strucsup.c.
Referenced by _IRQL_requires_max_(), CdCompleteRequest(), CdFspDispatch(), and CdQueueClose().
Definition at line 1405 of file strucsup.c.
| PFCB CdCreateFcb | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _In_ FILE_ID | FileId, | ||
| _In_ NODE_TYPE_CODE | NodeTypeCode, | ||
| _Out_opt_ PBOOLEAN | FcbExisted | ||
| ) |
Definition at line 986 of file strucsup.c.
Referenced by _Requires_lock_held_(), and CdUpdateVcbFromVolDescriptor().
| PFCB_NONPAGED CdCreateFcbNonpaged | ( | _In_ PIRP_CONTEXT | IrpContext | ) |
Definition at line 2555 of file strucsup.c.
Referenced by CdCreateFcb().
| _Ret_valid_ PIRP_CONTEXT CdCreateIrpContext | ( | _In_ PIRP | Irp, |
| _In_ BOOLEAN | Wait | ||
| ) |
Definition at line 1573 of file strucsup.c.
Referenced by _IRQL_requires_max_().
| VOID NTAPI CdDeallocateFcbTable | ( | _In_ PRTL_GENERIC_TABLE | FcbTable, |
| _In_ __drv_freesMem(Mem) _Post_invalid_ PVOID | Buffer | ||
| ) |
Definition at line 2743 of file strucsup.c.
| VOID CdDeleteCcb | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _In_ __drv_freesMem(Pool) PCCB | Ccb | ||
| ) |
Definition at line 1462 of file strucsup.c.
| VOID CdDeleteFcb | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _In_ PFCB | Fcb | ||
| ) |
Definition at line 2424 of file strucsup.c.
Referenced by _Requires_lock_held_().
| VOID CdDeleteFcbNonpaged | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _In_ PFCB_NONPAGED | FcbNonpaged | ||
| ) |
Definition at line 2608 of file strucsup.c.
Referenced by CdDeleteFcb().
| VOID CdDeleteVcb | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _Inout_ PVCB | Vcb | ||
| ) |
Definition at line 876 of file strucsup.c.
| RTL_GENERIC_COMPARE_RESULTS NTAPI CdFcbTableCompare | ( | _In_ PRTL_GENERIC_TABLE | FcbTable, |
| _In_ PVOID | Fid1, | ||
| _In_ PVOID | Fid2 | ||
| ) |
Definition at line 2648 of file strucsup.c.
Definition at line 2155 of file strucsup.c.
Referenced by _Requires_lock_held_().
| VOID CdInitializeFcbFromFileContext | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _Inout_ PFCB | Fcb, | ||
| _In_ PFCB | ParentFcb, | ||
| _In_ PFILE_ENUM_CONTEXT | FileContext | ||
| ) |
Definition at line 1225 of file strucsup.c.
Referenced by _Requires_lock_held_().
| VOID CdInitializeFcbFromPathEntry | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _Inout_ PFCB | Fcb, | ||
| _In_opt_ PFCB | ParentFcb, | ||
| _In_ PPATH_ENTRY | PathEntry | ||
| ) |
Definition at line 1136 of file strucsup.c.
Referenced by _Requires_lock_held_(), and CdUpdateVcbFromVolDescriptor().
| VOID CdInitializeStackIrpContext | ( | _Out_ PIRP_CONTEXT | IrpContext, |
| _In_ PIRP_CONTEXT_LITE | IrpContextLite | ||
| ) |
Definition at line 1839 of file strucsup.c.
| VOID CdInitializeVcb | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _Inout_ PVCB | Vcb, | ||
| _In_ __drv_aliasesMem PDEVICE_OBJECT | TargetDeviceObject, | ||
| _In_ __drv_aliasesMem PVPB | Vpb, | ||
| _In_ __drv_aliasesMem PCDROM_TOC_LARGE | CdromToc, | ||
| _In_ ULONG | TocLength, | ||
| _In_ ULONG | TocTrackCount, | ||
| _In_ ULONG | TocDiskFlags, | ||
| _In_ ULONG | BlockFactor, | ||
| _In_ ULONG | MediaChangeCount | ||
| ) |
Definition at line 241 of file strucsup.c.
Definition at line 2107 of file strucsup.c.
Referenced by _Requires_lock_held_(), and CdCreateFcb().
| NTSTATUS CdProcessToc | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _In_ PDEVICE_OBJECT | TargetDeviceObject, | ||
| _In_ PCDROM_TOC_LARGE | CdromToc, | ||
| _Inout_ PULONG | Length, | ||
| _Out_ PULONG | TrackCount, | ||
| _Inout_ PULONG | DiskFlags | ||
| ) |
Definition at line 2201 of file strucsup.c.
| ULONG CdTocSerial | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _In_ PCDROM_TOC_LARGE | CdromToc | ||
| ) |
Definition at line 2779 of file strucsup.c.
Referenced by CdUpdateVcbFromVolDescriptor().
| VOID CdUpdateVcbFromVolDescriptor | ( | _In_ PIRP_CONTEXT | IrpContext, |
| _Inout_ PVCB | Vcb, | ||
| _In_reads_bytes_opt_(SECTOR_SIZE) PCHAR | RawIsoVd | ||
| ) |
Definition at line 436 of file strucsup.c.
Definition at line 178 of file strucsup.c.
Referenced by CdInitializeVcb().
Definition at line 188 of file strucsup.c.
Referenced by CdInitializeVcb().
| RTL_GENERIC_COMPARE_RESULTS NTAPI CdFcbTableCompare |
Definition at line 167 of file strucsup.c.
Referenced by CdInitializeVcb().
| UNICODE_STRING CdInternalStreamNames[] |
Definition at line 234 of file strucsup.c.
Referenced by CdUpdateVcbFromVolDescriptor().