ReactOS 0.4.16-dev-297-gc569aee
|
#include "ext2fs.h"
Go to the source code of this file.
Macros | |
#define | is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) |
Variables | |
PEXT2_GLOBAL | Ext2Global |
BOOLEAN Ext2AddBlockExtent | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Start, | ||
IN ULONG | Block, | ||
IN ULONG | Number | ||
) |
Definition at line 1027 of file memory.c.
Referenced by Ext2BuildExtents(), Ext2ExpandBlock(), Ext2ExpandExtent(), Ext2ExpandLast(), Ext2InitializeZone(), submit_bh_mdl(), and submit_bh_pin().
BOOLEAN Ext2AddMcbExtent | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_MCB | Mcb, | ||
IN LONGLONG | Vbn, | ||
IN LONGLONG | Lbn, | ||
IN LONGLONG | Length | ||
) |
Definition at line 790 of file memory.c.
Referenced by Ext2AddBlockExtent().
Definition at line 941 of file memory.c.
Referenced by Ext2ExpandBlock(), Ext2ExpandLast(), and Ext2GetBlock().
Definition at line 648 of file memory.c.
Referenced by Ext2AddBlockExtent(), Ext2FreeBlock(), Ext2GetBlock(), Ext2TruncateBlock(), and Ext2WriteVolume().
Definition at line 320 of file memory.c.
Referenced by Ext2CreateFile(), and Ext2CreateVolume().
Definition at line 416 of file memory.c.
Referenced by Ext2BuildEntry().
PEXT2_EXTENT Ext2AllocateExtent | ( | ) |
Definition at line 488 of file memory.c.
Referenced by Ext2BuildExtents(), and Ext2WriteVolume().
Definition at line 131 of file memory.c.
Referenced by Ext2CreateFile(), Ext2DeleteFile(), Ext2DeleteReparsePoint(), Ext2SetLinkInfo(), Ext2SetRenameInfo(), and Ext2SetReparsePoint().
PEXT2_INODE Ext2AllocateInode | ( | PEXT2_VCB | Vcb | ) |
Definition at line 387 of file memory.c.
Referenced by ext4_fs_get_xattr_ref().
PEXT2_IRP_CONTEXT Ext2AllocateIrpContext | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp | ||
) |
Definition at line 35 of file memory.c.
Referenced by Ext2BuildRequest().
PEXT2_MCB Ext2AllocateMcb | ( | IN PEXT2_VCB | Vcb, |
IN PUNICODE_STRING | FileName, | ||
IN PUNICODE_STRING | Parent, | ||
IN ULONG | FileAttr | ||
) |
Definition at line 1430 of file memory.c.
Referenced by Ext2InitializeVcb(), Ext2LoadInternalJournal(), and Ext2LookupFile().
Definition at line 3239 of file memory.c.
Referenced by DriverEntry().
struct dentry * Ext2BuildEntry | ( | PEXT2_VCB | Vcb, |
PEXT2_MCB | Dcb, | ||
PUNICODE_STRING | FileName | ||
) |
Definition at line 444 of file memory.c.
Referenced by Ext2AddEntry(), Ext2InitializeVcb(), and Ext2ScanDir().
NTSTATUS Ext2BuildExtents | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONGLONG | Offset, | ||
IN ULONG | Size, | ||
IN BOOLEAN | bAlloc, | ||
OUT PEXT2_EXTENT * | Chain | ||
) |
Definition at line 1207 of file memory.c.
Referenced by bmap(), Ext2GetRetrievalPointers(), Ext2QueryExtentMappings(), Ext2ReadInode(), and Ext2WriteInode().
BOOLEAN Ext2BuildName | ( | IN OUT PUNICODE_STRING | Target, |
IN PUNICODE_STRING | File, | ||
IN PUNICODE_STRING | Parent | ||
) |
Definition at line 1361 of file memory.c.
Referenced by Ext2AllocateMcb(), and Ext2SetRenameInfo().
BOOLEAN Ext2CheckBitmapConsistency | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb | ||
) |
Definition at line 1899 of file memory.c.
Referenced by Ext2InitializeVcb().
VOID Ext2CheckExtent | ( | PLARGE_MCB | Zone, |
LONGLONG | Vbn, | ||
LONGLONG | Lbn, | ||
LONGLONG | Length, | ||
BOOLEAN | bAdded | ||
) |
Definition at line 583 of file memory.c.
Referenced by Ext2AddMcbExtent(), Ext2AddMcbMetaExts(), Ext2AddVcbExtent(), Ext2RemoveMcbExtent(), Ext2RemoveMcbMetaExts(), and Ext2RemoveVcbExtent().
BOOLEAN Ext2CheckSetBlock | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
LONGLONG | Block | ||
) |
Definition at line 1848 of file memory.c.
Referenced by Ext2CheckBitmapConsistency().
Definition at line 1810 of file memory.c.
Referenced by Ext2DestroyVcb().
VOID Ext2ClearAllExtents | ( | PLARGE_MCB | Zone | ) |
Definition at line 637 of file memory.c.
Referenced by Ext2BuildExtents(), Ext2ExpandBlock(), Ext2ExpandExtent(), Ext2ExpandLast(), Ext2InitializeZone(), Ext2TruncateBlock(), Ext2TruncateExtent(), Ext2TruncateFile(), and Ext2TruncateIndirectFast().
ULONG Ext2CountExtents | ( | IN PEXT2_EXTENT | Chain | ) |
Definition at line 513 of file memory.c.
Referenced by Ext2QueryExtentMappings().
VOID Ext2DestroyExtentChain | ( | IN PEXT2_EXTENT | Chain | ) |
Definition at line 546 of file memory.c.
Referenced by Ext2GetRetrievalPointers(), Ext2QueryExtentMappings(), Ext2ReadInode(), Ext2WriteInode(), and Ext2WriteVolume().
VOID Ext2DestroyInode | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_INODE | inode | ||
) |
Definition at line 406 of file memory.c.
Referenced by ext4_fs_get_xattr_ref(), and ext4_fs_put_xattr_ref().
Definition at line 2825 of file memory.c.
Referenced by Ext2CheckDismount(), and Ext2MountVolume().
Definition at line 3391 of file memory.c.
Referenced by DriverEntry().
Definition at line 2979 of file memory.c.
Referenced by Ext2CleanupAllMcbs(), and Ext2McbReaperThread().
Definition at line 356 of file memory.c.
Referenced by Ext2Close(), and Ext2CreateFile().
Definition at line 432 of file memory.c.
Referenced by Ext2AddEntry(), Ext2BuildEntry(), Ext2CreateInode(), Ext2FreeMcb(), Ext2LookupFile(), Ext2ScanDir(), and Ext2SetRenameInfo().
VOID Ext2FreeExtent | ( | IN PEXT2_EXTENT | Extent | ) |
Definition at line 505 of file memory.c.
Referenced by bmap(), and Ext2DestroyExtentChain().
Definition at line 240 of file memory.c.
Referenced by Ext2FcbReaperThread().
VOID Ext2FreeIrpContext | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 114 of file memory.c.
Referenced by Ext2CompleteIrpContext(), Ext2ExceptionFilter(), Ext2ExceptionHandler(), Ext2ReadFile(), Ext2ReadVolume(), Ext2WriteFile(), and Ext2WriteVolume().
Definition at line 1538 of file memory.c.
Referenced by Ext2CleanupAllMcbs(), Ext2InitializeVcb(), Ext2LoadInternalJournal(), Ext2LookupFile(), Ext2McbReaperThread(), and Ext2RecoverJournal().
NTSTATUS Ext2InitializeLabel | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_SUPER_BLOCK | Sb | ||
) |
Definition at line 2253 of file memory.c.
Referenced by Ext2InitializeVcb(), and Ext2ProcessVolumeProperty().
NTSTATUS Ext2InitializeVcb | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_SUPER_BLOCK | sb, | ||
IN PDEVICE_OBJECT | TargetDevice, | ||
IN PDEVICE_OBJECT | VolumeDevice, | ||
IN PVPB | Vpb | ||
) |
Definition at line 2309 of file memory.c.
Definition at line 1121 of file memory.c.
Referenced by Ext2BuildExtents(), and Ext2TruncateIndirectFast().
Definition at line 1686 of file memory.c.
Referenced by Ext2LookupFile(), and Ext2SetRenameInfo().
Definition at line 1935 of file memory.c.
Referenced by Ext2MountVolume().
VOID Ext2JointExtents | ( | IN PEXT2_EXTENT | Chain, |
IN PEXT2_EXTENT | Extent | ||
) |
Definition at line 527 of file memory.c.
Referenced by Ext2QueryExtentMappings().
Definition at line 2935 of file memory.c.
Referenced by Ext2FreeCcb(), and Ext2UnlinkFcb().
Definition at line 2912 of file memory.c.
Referenced by Ext2LookupFile().
BOOLEAN Ext2ListExtents | ( | PLARGE_MCB | Extents | ) |
Definition at line 558 of file memory.c.
Referenced by Ext2DestroyVcb(), Ext2FreeMcb(), and Ext2TruncateFile().
BOOLEAN Ext2LookupBlockExtent | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Start, | ||
IN PULONG | Block, | ||
IN PULONG | Mapped | ||
) |
Definition at line 1061 of file memory.c.
Referenced by Ext2AddBlockExtent(), and Ext2BuildExtents().
BOOLEAN Ext2LookupMcbExtent | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_MCB | Mcb, | ||
IN LONGLONG | Vbn, | ||
OUT PLONGLONG | Lbn, | ||
OUT PLONGLONG | Length | ||
) |
Definition at line 897 of file memory.c.
Referenced by Ext2LookupBlockExtent().
BOOLEAN Ext2LookupVcbExtent | ( | IN PEXT2_VCB | Vcb, |
IN LONGLONG | Vbn, | ||
OUT PLONGLONG | Lbn, | ||
OUT PLONGLONG | Length | ||
) |
Definition at line 747 of file memory.c.
Referenced by Ext2LookupBlockExtent(), and Ext2WriteVolume().
Definition at line 3055 of file memory.c.
Referenced by DriverEntry().
VOID Ext2ParseRegistryVolumeParams | ( | IN PUNICODE_STRING | Params, |
OUT PEXT2_VOLUME_PROPERTY3 | Property | ||
) |
Definition at line 2024 of file memory.c.
Referenced by Ext2PerformRegistryVolumeParams().
Definition at line 2173 of file memory.c.
Referenced by Ext2InitializeVcb().
BOOLEAN Ext2QueryUnusedBH | ( | PEXT2_VCB | Vcb, |
PLIST_ENTRY | head | ||
) |
Definition at line 3186 of file memory.c.
Referenced by Ext2bhReaperThread().
BOOLEAN Ext2QueryUnusedFcb | ( | PEXT2_VCB | Vcb, |
PLIST_ENTRY | list | ||
) |
Definition at line 3328 of file memory.c.
Referenced by Ext2FcbReaperThread().
NTSTATUS Ext2QueryVolumeParams | ( | IN PEXT2_VCB | Vcb, |
IN PUNICODE_STRING | Params | ||
) |
Definition at line 1950 of file memory.c.
Referenced by Ext2PerformRegistryVolumeParams().
Definition at line 276 of file memory.c.
Referenced by Ext2CreateFile(), Ext2DeleteFile(), Ext2DeleteReparsePoint(), Ext2SetLinkInfo(), Ext2SetRenameInfo(), and Ext2SetReparsePoint().
BOOLEAN Ext2RemoveBlockExtent | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Start, | ||
IN ULONG | Number | ||
) |
Definition at line 1097 of file memory.c.
Referenced by Ext2FreeBlock(), Ext2NewBlock(), Ext2TruncateBlock(), and Ext2TruncateExtent().
Definition at line 1746 of file memory.c.
Referenced by Ext2DeleteFile(), Ext2FirstUnusedMcb(), Ext2SetRenameInfo(), and Ext2UnlinkFcb().
BOOLEAN Ext2RemoveMcbExtent | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_MCB | Mcb, | ||
IN LONGLONG | Vbn, | ||
IN LONGLONG | Length | ||
) |
Definition at line 848 of file memory.c.
Referenced by Ext2RemoveBlockExtent().
BOOLEAN Ext2RemoveMcbMetaExts | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Block, | ||
IN ULONG | Length | ||
) |
Definition at line 985 of file memory.c.
Referenced by Ext2TruncateBlock().
Definition at line 1943 of file memory.c.
Referenced by Ext2CheckDismount().
Definition at line 700 of file memory.c.
Referenced by Ext2RemoveBlockExtent(), and Ext2WriteVolume().
PEXT2_MCB Ext2SearchMcb | ( | PEXT2_VCB | Vcb, |
PEXT2_MCB | Parent, | ||
PUNICODE_STRING | FileName | ||
) |
Definition at line 1598 of file memory.c.
Referenced by Ext2ProcessEntry().
PEXT2_MCB Ext2SearchMcbWithoutLock | ( | PEXT2_MCB | Parent, |
PUNICODE_STRING | FileName | ||
) |
Definition at line 1622 of file memory.c.
Referenced by Ext2LookupFile(), and Ext2SearchMcb().
NTSTATUS Ext2StartReaper | ( | PEXT2_REAPER | Reaper, |
EXT2_REAPER_RELEASE | Free | ||
) |
Definition at line 3478 of file memory.c.
Referenced by DriverEntry().
VOID Ext2StopReaper | ( | PEXT2_REAPER | Reaper | ) |
Definition at line 3546 of file memory.c.
Referenced by DriverEntry().
VOID Ext2SyncUninitializeCacheMap | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 2883 of file memory.c.
Referenced by Ext2InitializeVcb(), and Ext2TearDownStream().
Definition at line 2798 of file memory.c.
Referenced by Ext2CheckDismount(), and Ext2DestroyVcb().
Definition at line 202 of file memory.c.
Referenced by Ext2QueryUnusedFcb().
Definition at line 2957 of file memory.c.
Referenced by Ext2FreeCcb(), and Ext2UnlinkFcb().
|
extern |
Definition at line 16 of file init.c.
Referenced by Ext2AllocateCcb(), Ext2AllocateEntry(), Ext2AllocateExtent(), Ext2AllocateFcb(), Ext2AllocateIrpContext(), Ext2AllocateMcb(), Ext2bhReaperThread(), Ext2FcbReaperThread(), Ext2FreeCcb(), Ext2FreeEntry(), Ext2FreeExtent(), Ext2FreeFcb(), Ext2FreeIrpContext(), Ext2FreeMcb(), Ext2InitializeVcb(), Ext2InsertVcb(), Ext2McbReaperThread(), Ext2PerformRegistryVolumeParams(), Ext2QueryUnusedFcb(), Ext2QueryVolumeParams(), and Ext2ReleaseFcb().