ReactOS
0.4.15-dev-2153-g62b4c61
|
#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 3219 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 1895 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 1844 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 2813 of file memory.c.
Referenced by Ext2CheckDismount(), and Ext2MountVolume().
Definition at line 3367 of file memory.c.
Referenced by DriverEntry().
Definition at line 2967 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 2241 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 2297 of file memory.c.
Definition at line 1121 of file memory.c.
Referenced by Ext2BuildExtents(), and Ext2TruncateIndirectFast().
Definition at line 309 of file memory.c.
Referenced by Ext2AllocateFcb().
Definition at line 1686 of file memory.c.
Referenced by Ext2LookupFile(), and Ext2SetRenameInfo().
Definition at line 2282 of file memory.c.
Referenced by Ext2InitializeVcb().
VOID Ext2JointExtents | ( | IN PEXT2_EXTENT | Chain, |
IN PEXT2_EXTENT | Extent | ||
) |
Definition at line 527 of file memory.c.
Referenced by Ext2QueryExtentMappings().
Definition at line 2923 of file memory.c.
Referenced by Ext2FreeCcb(), and Ext2UnlinkFcb().
Definition at line 2900 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().