ReactOS 0.4.16-dev-958-g208dfd2
|
#include <linux/module.h>
#include <ntdddisk.h>
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <linux/ext2_fs.h>
#include <linux/ext3_fs.h>
#include <linux/ext3_fs_i.h>
#include <linux/ext4.h>
#include "common.h"
Go to the source code of this file.
Classes | |
struct | _EXT2_IDENTIFIER |
struct | _EXT2_REAPER |
struct | _EXT2_GLOBAL |
struct | _EXT2_FCBVCB |
struct | _EXT2_VCB |
struct | _EXT2_FCB |
struct | _EXT2_MCB |
struct | _EXT2_CCB |
struct | ext2_icb |
struct | _EXT2_ALLOC_HEADER |
struct | _FCB_LIST_ENTRY |
struct | _EXT2_EXTENT |
struct | _EXT2_FILLDIR_CONTEXT |
struct | _EXT2_RW_CONTEXT |
Enumerations | |
enum | _EXT2_IDENTIFIER_TYPE { EXT2FGD = 0xE2FD0001 , EXT2VCB = 0xE2FD0002 , EXT2FCB = 0xE2FD0003 , EXT2CCB = 0xE2FD0004 , EXT2ICX = 0xE2FD0005 , EXT2FSD = 0xE2FD0006 , EXT2MCB = 0xE2FD0007 } |
Variables | |
PEXT2_GLOBAL | Ext2Global |
ULONG | ProcessNameOffset |
#define BLOCK_BITS (SUPER_BLOCK->s_log_block_size + 10) |
#define BLOCKS_PER_GROUP (SUPER_BLOCK->s_blocks_per_group) |
#define CanIWrite | ( | Vcb | ) | (IsExt3ForceWrite() || (!IsVcbReadOnly(Vcb) && IsVcbForceWrite(Vcb))) |
#define ClearLongFlag | ( | _F, | |
_SF | |||
) | InterlockedAnd(&(_F), ~((ULONG)(_SF))) |
#define DEC_IRP_COUNT | ( | IrpContext | ) | Ext2TraceIrpContext(FALSE, (IrpContext)) |
#define DL_JNL 0x00001000 /* dump journal operations */ |
#define EXT2_FILE_SYSTEM (FILE_SYSTEM) |
#define EXT2_FIRST_DATA_BLOCK (SUPER_BLOCK->s_first_data_block) |
#define Ext2CanIWait | ( | ) | (!IrpContext || IsFlagOn(IrpContext->Flags, IRP_CONTEXT_FLAG_WAIT)) |
#define Ext2CompleteRequest | ( | Irp, | |
bPrint, | |||
PriorityBoost | |||
) | IoCompleteRequest(Irp, PriorityBoost) |
#define Ext2DerefXcb | ( | _C | ) | DEC_OBJ_CNT(_C) |
#define Ext2GetCurrentProcessName | ( | ) |
#define Ext2IsGroupReadOnly | ( | m | ) | (!(Ext2IsGroupWritable(m)) && Ext2IsGroupReadable(m)) |
#define Ext2IsOtherReadOnly | ( | m | ) | (!(Ext2IsOtherWritable(m)) && Ext2IsOtherReadable(m)) |
#define Ext2IsOwnerReadOnly | ( | m | ) | (!(Ext2IsOwnerWritable(m)) && Ext2IsOwnerReadable(m)) |
#define Ext2ReferXcb | ( | _C | ) | InterlockedIncrement(_C) |
#define ext3_error ext3_warning |
#define ext4_error ext3_error |
#define FSCTL_GET_RETRIEVAL_POINTER_BASE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 141, METHOD_BUFFERED, FILE_ANY_ACCESS) |
#define INC_IRP_COUNT | ( | IrpContext | ) | Ext2TraceIrpContext(TRUE, (IrpContext)) |
#define INODES_PER_GROUP (SUPER_BLOCK->s_inodes_per_group) |
#define IsExt3ForceWrite | ( | ) | (IsFlagOn(Ext2Global->Flags, EXT3_FORCE_WRITING)) |
#define IsLazyWriter | ( | Fcb | ) | ((Fcb)->LazyWriterThread == PsGetCurrentThread()) |
#define IsLinkInvalid | ( | Mcb | ) | (IsMcbSymLink(Mcb) && IsFileDeleted(Mcb->Target)) |
#define IsMcbRoot | ( | Mcb | ) | ((Mcb)->Inode.i_ino == EXT2_ROOT_INO) |
#define SetLongFlag | ( | _F, | |
_SF | |||
) | InterlockedOr(&(_F), (ULONG)(_SF)) |
#define TOTAL_BLOCKS (ext3_blocks_count(SUPER_BLOCK)) |
typedef struct ext3_dir_entry EXT2_DIR_ENTRY |
typedef struct ext3_dir_entry_2 EXT2_DIR_ENTRY2 |
typedef struct _EXT2_EXTENT EXT2_EXTENT |
typedef struct _EXT2_FCBVCB EXT2_FCBVCB |
typedef struct _EXT2_GLOBAL EXT2_GLOBAL |
typedef struct ext4_group_desc EXT2_GROUP_DESC |
typedef struct _EXT2_IDENTIFIER EXT2_IDENTIFIER |
typedef struct ext3_inode EXT2_INODE |
typedef struct ext2_icb EXT2_IRP_CONTEXT |
typedef struct _EXT2_REAPER EXT2_REAPER |
typedef struct _EXT2_RW_CONTEXT EXT2_RW_CONTEXT |
typedef struct ext3_super_block EXT2_SUPER_BLOCK |
typedef struct _FCB_LIST_ENTRY FCB_LIST_ENTRY |
typedef struct _EXT2_ALLOC_HEADER * PEXT2_ALLOC_HEADER |
typedef struct ext3_dir_entry * PEXT2_DIR_ENTRY |
typedef struct ext3_dir_entry_2 * PEXT2_DIR_ENTRY2 |
typedef struct _EXT2_EXTENT * PEXT2_EXTENT |
typedef struct _EXT2_FCBVCB * PEXT2_FCBVCB |
typedef struct _EXT2_FILLDIR_CONTEXT * PEXT2_FILLDIR_CONTEXT |
typedef struct _EXT2_GLOBAL * PEXT2_GLOBAL |
typedef struct ext4_group_desc * PEXT2_GROUP_DESC |
typedef struct _EXT2_IDENTIFIER * PEXT2_IDENTIFIER |
typedef struct ext3_inode * PEXT2_INODE |
typedef struct ext2_icb * PEXT2_IRP_CONTEXT |
typedef struct _EXT2_REAPER * PEXT2_REAPER |
typedef struct _EXT2_RW_CONTEXT * PEXT2_RW_CONTEXT |
typedef struct ext3_super_block * PEXT2_SUPER_BLOCK |
typedef IO_STACK_LOCATION * PEXTENDED_IO_STACK_LOCATION |
typedef struct _FCB_LIST_ENTRY * PFCB_LIST_ENTRY |
Enumerator | |
---|---|
EXT2FGD | |
EXT2VCB | |
EXT2FCB | |
EXT2CCB | |
EXT2ICX | |
EXT2FSD | |
EXT2MCB |
int add_dirent_to_buf | ( | struct ext2_icb * | icb, |
struct dentry * | dentry, | ||
struct inode * | inode, | ||
struct ext3_dir_entry_2 * | de, | ||
struct buffer_head * | bh | ||
) |
Definition at line 386 of file htree.c.
Referenced by ext3_add_entry().
ext3_fsblk_t descriptor_loc | ( | struct super_block * | sb, |
ext3_fsblk_t | logical_sb_block, | ||
unsigned int | nr | ||
) |
Definition at line 2736 of file generic.c.
Referenced by Ext2LoadGroup().
struct ext3_dir_entry_2 * do_split | ( | struct ext2_icb * | icb, |
struct inode * | dir, | ||
struct buffer_head ** | bh, | ||
struct dx_frame * | frame, | ||
struct dx_hash_info * | hinfo, | ||
int * | error | ||
) |
VOID DriverUnload | ( | IN PDRIVER_OBJECT | DriverObject | ) |
NTSTATUS Ex2ProcessMountPoint | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_MOUNT_POINT | MountPoint, | ||
IN ULONG | Length | ||
) |
Definition at line 723 of file devctl.c.
Referenced by Ext2DeviceControl().
NTSTATUS Ex2ProcessUserPerfStat | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_QUERY_PERFSTAT | QueryPerf, | ||
IN ULONG | Length | ||
) |
Definition at line 640 of file devctl.c.
Referenced by Ext2DeviceControl().
void ext2_destroy_linux | ( | ) |
Definition at line 1019 of file linux.c.
Referenced by DriverEntry().
int ext2_init_linux | ( | ) |
Definition at line 1004 of file linux.c.
Referenced by DriverEntry().
NTSTATUS Ext2AcquireFileForCcFlush | ( | IN PFILE_OBJECT | FileObject, |
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 1135 of file fastio.c.
Referenced by DriverEntry().
NTSTATUS Ext2AcquireFileForModWrite | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | EndingOffset, | ||
OUT PERESOURCE * | ResourceToRelease, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 1081 of file fastio.c.
Referenced by DriverEntry().
VOID Ext2AcquireForCreateSection | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 27 of file cmcb.c.
Referenced by DriverEntry().
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().
NTSTATUS Ext2AddEntry | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_FCB | Dcb, | ||
IN struct inode * | Inode, | ||
IN PUNICODE_STRING | FileName, | ||
OUT struct dentry ** | dentry | ||
) |
Referenced by Ext2CreateInode(), Ext2SetLinkInfo(), and Ext2SetRenameInfo().
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 2684 of file debug.c.
Referenced by DriverEntry(), Ext2BuildName(), Ext2CreateFile(), Ext2ExpandLast(), Ext2FillEntry(), Ext2FollowLink(), Ext2GetReparsePoint(), Ext2LoadSuper(), Ext2QueryDirectory(), Ext2QueryExtentMappings(), Ext2QueryRegistrySettings(), Ext2QueryVolumeParams(), Ext2ReadDisk(), Ext2ReadSync(), Ext2ReadWriteBlocks(), Ext2SetParentEntry(), Ext2SetReparsePoint(), and Ext2StartFloppyFlushDpc().
NTSTATUS Ext2AllowExtendedDasdIo | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 407 of file fsctl.c.
Referenced by Ext2UserFsRequest().
Definition at line 3239 of file memory.c.
Referenced by DriverEntry().
NTSTATUS Ext2BlockMap | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Index, | ||
IN BOOLEAN | bAlloc, | ||
OUT PULONG | pBlock, | ||
OUT PULONG | Number | ||
) |
Definition at line 1127 of file fileinfo.c.
Referenced by Ext2BuildExtents().
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().
NTSTATUS Ext2BuildRequest | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp | ||
) |
Referenced by DriverEntry().
BOOLEAN Ext2CheckBitmapConsistency | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb | ||
) |
Definition at line 1899 of file memory.c.
Referenced by Ext2InitializeVcb().
Definition at line 2592 of file fsctl.c.
Referenced by Ext2DismountVolume(), Ext2ExceptionHandler(), Ext2FreeFcb(), and Ext2InvalidateVolumes().
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().
Definition at line 51 of file access.c.
Referenced by Ext2CreateFile(), Ext2LookupFile(), Ext2SetFileInformation(), and Ext2WriteFile().
Definition at line 20 of file access.c.
Referenced by Ext2CheckFileAccess(), and Ext2ProcessEntry().
Definition at line 55 of file recover.c.
Referenced by Ext2RecoverJournal().
BOOLEAN Ext2CheckSetBlock | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
LONGLONG | Block | ||
) |
Definition at line 1848 of file memory.c.
Referenced by Ext2CheckBitmapConsistency().
NTSTATUS Ext2Cleanup | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 21 of file cleanup.c.
Referenced by Ext2DispatchRequest().
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().
Definition at line 530 of file generic.c.
Referenced by Ext2CreateInode().
Definition at line 56 of file fsctl.c.
Referenced by Ext2Cleanup(), and Ext2UnlockVcb().
NTSTATUS Ext2Close | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 26 of file close.c.
Referenced by Ext2DeQueueCloseRequest(), and Ext2DispatchRequest().
NTSTATUS Ext2CompleteIrpContext | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN NTSTATUS | Status | ||
) |
Definition at line 32 of file read.c.
Referenced by Ex2ProcessMountPoint(), Ex2ProcessUserPerfStat(), Ext2AllowExtendedDasdIo(), Ext2Cleanup(), Ext2Close(), Ext2Create(), Ext2DeleteReparsePoint(), Ext2DeviceControlNormal(), Ext2DirectoryControl(), Ext2DismountVolume(), Ext2DispatchRequest(), Ext2ExceptionHandler(), Ext2FileSystemControl(), Ext2Flush(), Ext2GetReparsePoint(), Ext2GetRetrievalPointerBase(), Ext2GetRetrievalPointers(), Ext2InvalidateVolumes(), Ext2IsVolumeDirty(), Ext2IsVolumeMounted(), Ext2LockControl(), Ext2LockVolume(), Ext2MountVolume(), Ext2NotifyChangeDirectory(), Ext2OplockComplete(), Ext2OplockRequest(), Ext2ProcessUserProperty(), Ext2QueryDirectory(), Ext2QueryEa(), Ext2QueryFileInformation(), Ext2QueryRetrievalPointers(), Ext2QueryVolumeInformation(), Ext2Read(), Ext2ReadComplete(), Ext2ReadFile(), Ext2ReadVolume(), Ext2SetEa(), Ext2SetFileInformation(), Ext2SetReparsePoint(), Ext2SetVolumeInformation(), Ext2ShutDown(), Ext2UnlockVolume(), Ext2UserFsRequest(), Ext2VerifyVolume(), Ext2Write(), Ext2WriteComplete(), Ext2WriteFile(), and Ext2WriteVolume().
ULONG Ext2CountExtents | ( | IN PEXT2_EXTENT | Chain | ) |
Definition at line 513 of file memory.c.
Referenced by Ext2QueryExtentMappings().
NTSTATUS Ext2Create | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 1951 of file create.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2CreateFile | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
OUT PBOOLEAN | OpPostIrp | ||
) |
NTSTATUS Ext2CreateInode | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_FCB | pParentFcb, | ||
IN ULONG | Type, | ||
IN ULONG | FileAttr, | ||
IN PUNICODE_STRING | FileName | ||
) |
Definition at line 64 of file block.c.
Referenced by get_block_bh_mdl().
NTSTATUS Ext2CreateVolume | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb | ||
) |
VOID Ext2DbgPrintCall | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp | ||
) |
Referenced by Ext2BuildRequest().
NTSTATUS Ext2DeleteFile | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_FCB | Fcb, | ||
PEXT2_MCB | Mcb | ||
) |
Definition at line 1920 of file fileinfo.c.
Referenced by Ext2Cleanup(), Ext2CreateFile(), Ext2SetLinkInfo(), and Ext2SetRenameInfo().
Definition at line 222 of file close.c.
Referenced by Ext2QueueCloseRequest().
Definition at line 190 of file dispatch.c.
Referenced by Ext2QueueRequest().
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().
NTSTATUS Ext2DeviceControl | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 783 of file devctl.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2DeviceControlNormal | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 65 of file devctl.c.
Referenced by Ext2DeviceControl().
NTSTATUS Ext2DirectoryControl | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 1236 of file dirctl.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2DiskIoControl | ( | IN PDEVICE_OBJECT | DeviceOjbect, |
IN ULONG | IoctlCode, | ||
IN PVOID | InputBuffer, | ||
IN ULONG | InputBufferSize, | ||
IN OUT PVOID | OutputBuffer, | ||
IN OUT PULONG | OutputBufferSize | ||
) |
Definition at line 609 of file block.c.
Referenced by Ext2InitializeVcb(), Ext2MountVolume(), Ext2VerifyVcb(), and Ext2VerifyVolume().
Definition at line 748 of file block.c.
Referenced by Ext2ShutDown().
NTSTATUS Ext2DismountVolume | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 2521 of file fsctl.c.
Referenced by Ext2UserFsRequest().
NTSTATUS Ext2DispatchRequest | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 228 of file dispatch.c.
Referenced by Ext2BuildRequest(), and Ext2DeQueueRequest().
Definition at line 266 of file generic.c.
Referenced by Ext2DestroyVcb(), Ext2FlushVcb(), and Ext2PurgeVolume().
Definition at line 132 of file generic.c.
Referenced by Ext2DropBH(), and Ext2PutGroup().
NTSTATUS Ext2ExceptionFilter | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXCEPTION_POINTERS | ExceptionPointer | ||
) |
Definition at line 21 of file except.c.
Referenced by Ext2BuildRequest(), Ext2DeQueueCloseRequest(), and Ext2DeQueueRequest().
NTSTATUS Ext2ExceptionHandler | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 112 of file except.c.
Referenced by Ext2BuildRequest(), Ext2DeQueueCloseRequest(), and Ext2DeQueueRequest().
NTSTATUS Ext2ExpandExtent | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_MCB | Mcb, | ||
ULONG | Start, | ||
ULONG | End, | ||
PLARGE_INTEGER | Size | ||
) |
Definition at line 151 of file extents.c.
Referenced by Ext2ExpandFile().
NTSTATUS Ext2ExpandFile | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_MCB | Mcb, | ||
PLARGE_INTEGER | Size | ||
) |
Definition at line 1152 of file fileinfo.c.
Referenced by Ext2CreateFile(), Ext2SetFileInformation(), Ext2SupersedeOrOverWriteFile(), Ext2WriteFile(), and ext3_append().
NTSTATUS Ext2ExpandIndirect | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_MCB | Mcb, | ||
ULONG | Start, | ||
ULONG | End, | ||
PLARGE_INTEGER | Size | ||
) |
Definition at line 948 of file indirect.c.
Referenced by Ext2ExpandFile().
BOOLEAN Ext2FastIoCheckIfPossible | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length, | ||
IN BOOLEAN | Wait, | ||
IN ULONG | LockKey, | ||
IN BOOLEAN | CheckForReadOperation, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 64 of file fastio.c.
Referenced by DriverEntry().
BOOLEAN Ext2FastIoLock | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN PLARGE_INTEGER | Length, | ||
IN PEPROCESS | Process, | ||
IN ULONG | Key, | ||
IN BOOLEAN | FailImmediately, | ||
IN BOOLEAN | ExclusiveLock, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 517 of file fastio.c.
Referenced by DriverEntry().
BOOLEAN Ext2FastIoQueryBasicInfo | ( | IN PFILE_OBJECT | FileObject, |
IN BOOLEAN | Wait, | ||
OUT PFILE_BASIC_INFORMATION | Buffer, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 280 of file fastio.c.
Referenced by DriverEntry(), and Ext2FastIoQueryBasicInfo().
BOOLEAN Ext2FastIoQueryNetworkOpenInfo | ( | IN PFILE_OBJECT | FileObject, |
IN BOOLEAN | Wait, | ||
OUT PFILE_NETWORK_OPEN_INFORMATION | Buffer, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Referenced by DriverEntry().
BOOLEAN Ext2FastIoQueryStandardInfo | ( | IN PFILE_OBJECT | FileObject, |
IN BOOLEAN | Wait, | ||
OUT PFILE_STANDARD_INFORMATION | Buffer, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 396 of file fastio.c.
Referenced by DriverEntry().
BOOLEAN Ext2FastIoRead | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length, | ||
IN BOOLEAN | Wait, | ||
IN ULONG | LockKey, | ||
OUT PVOID | Buffer, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 172 of file fastio.c.
Referenced by DriverEntry().
BOOLEAN Ext2FastIoUnlockAll | ( | IN PFILE_OBJECT | FileObject, |
IN PEPROCESS | Process, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 736 of file fastio.c.
Referenced by DriverEntry().
BOOLEAN Ext2FastIoUnlockAllByKey | ( | IN PFILE_OBJECT | FileObject, |
IN PEPROCESS | Process, | ||
IN ULONG | Key, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 831 of file fastio.c.
Referenced by DriverEntry().
BOOLEAN Ext2FastIoUnlockSingle | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN PLARGE_INTEGER | Length, | ||
IN PEPROCESS | Process, | ||
IN ULONG | Key, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 629 of file fastio.c.
Referenced by DriverEntry().
BOOLEAN Ext2FastIoWrite | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length, | ||
IN BOOLEAN | Wait, | ||
IN ULONG | LockKey, | ||
OUT PVOID | Buffer, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 207 of file fastio.c.
Referenced by DriverEntry().
Definition at line 3391 of file memory.c.
Referenced by DriverEntry().
NTSTATUS Ext2FileSystemControl | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 2848 of file fsctl.c.
Referenced by Ext2DispatchRequest().
Definition at line 2979 of file memory.c.
Referenced by Ext2CleanupAllMcbs(), and Ext2McbReaperThread().
NTSTATUS Ext2Flush | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 148 of file flush.c.
Referenced by Ext2DispatchRequest().
Definition at line 58 of file flush.c.
Referenced by Ext2Cleanup(), Ext2Flush(), and Ext2FlushFiles().
Definition at line 112 of file flush.c.
Referenced by Ext2CreateVolume(), Ext2DismountVolume(), Ext2Flush(), Ext2LockVolume(), Ext2ProcessVolumeProperty(), and Ext2ShutDown().
Definition at line 323 of file generic.c.
Referenced by Ext2FloppyFlush(), and Ext2FlushVolume().
NTSTATUS Ext2FlushVolume | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN BOOLEAN | bShutDown | ||
) |
Definition at line 43 of file flush.c.
Referenced by Ext2CreateVolume(), Ext2DismountVolume(), Ext2Flush(), Ext2LockVolume(), Ext2ProcessVolumeProperty(), Ext2ReadVolume(), Ext2ShutDown(), and sync_blockdev().
NTSTATUS Ext2FollowLink | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Parent, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Linkdep | ||
) |
Definition at line 67 of file create.c.
Referenced by Ext2LookupFile(), and Ext2ProcessEntry().
NTSTATUS Ext2FreeBlock | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN ULONG | Block, | ||
IN ULONG | Number | ||
) |
Definition at line 1217 of file generic.c.
Referenced by Ext2ExpandLast(), Ext2TruncateBlock(), Ext2TruncateIndirectFast(), and ext4_free_blocks().
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().
NTSTATUS Ext2FreeInode | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN ULONG | Inode, | ||
IN ULONG | Type | ||
) |
Definition at line 1766 of file generic.c.
Referenced by Ext2CreateInode(), and Ext2DeleteFile().
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().
Definition at line 2697 of file debug.c.
Referenced by DriverEntry(), Ext2AllocateMcb(), Ext2BuildName(), Ext2CreateFile(), Ext2DestroyVcb(), Ext2ExpandBlock(), Ext2ExpandLast(), Ext2FillEntry(), Ext2FloppyFlush(), Ext2FollowLink(), Ext2FreeCcb(), Ext2FreeMcb(), Ext2GetReparsePoint(), Ext2GetRetrievalPointers(), Ext2LoadSuper(), Ext2MountVolume(), Ext2PerformRegistryVolumeParams(), Ext2QueryDirectory(), Ext2QueryExtentMappings(), Ext2QueryVolumeParams(), Ext2ReadDisk(), Ext2ReadSync(), Ext2ReadWriteBlockAsyncCompletionRoutine(), Ext2ReadWriteBlocks(), Ext2SetParentEntry(), Ext2SetReparsePoint(), and Ext2VerifyVolume().
NTSTATUS Ext2GetBlock | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Base, | ||
IN ULONG | Layer, | ||
IN ULONG | Start, | ||
IN ULONG | SizeArray, | ||
IN PULONG | BlockArray, | ||
IN BOOLEAN | bAlloc, | ||
IN OUT PULONG | Hint, | ||
OUT PULONG | Block, | ||
OUT PULONG | Number | ||
) |
Definition at line 136 of file indirect.c.
Referenced by Ext2GetBlock(), and Ext2MapIndirect().
ULONG Ext2GetInfoLength | ( | IN FILE_INFORMATION_CLASS | FileInformationClass | ) |
Definition at line 30 of file dirctl.c.
Referenced by Ext2FillEntry(), and Ext2ProcessEntry().
Definition at line 418 of file generic.c.
Referenced by Ext2ClearInode(), Ext2LoadInode(), Ext2LoadInodeXattr(), Ext2SaveInode(), and Ext2SaveInodeXattr().
Referenced by DriverEntry().
NTSTATUS Ext2GetRetrievalPointerBase | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 1160 of file fsctl.c.
Referenced by Ext2UserFsRequest().
NTSTATUS Ext2GetRetrievalPointers | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 911 of file fsctl.c.
Referenced by Ext2UserFsRequest().
Definition at line 146 of file block.c.
Referenced by Ext2GetRetrievalPointerBase(), Ext2GetRetrievalPointers(), Ext2QueryDirectory(), Ext2QueryEa(), Ext2ReadFile(), Ext2ReadInode(), Ext2ReadVolume(), Ext2WriteFile(), and Ext2WriteVolume().
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 | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_SUPER_BLOCK | Ext2Sb, | ||
PDEVICE_OBJECT | TargetDevice, | ||
PDEVICE_OBJECT | VolumeDevice, | ||
PVPB | Vpb | ||
) |
Referenced by Ext2MountVolume().
Definition at line 1121 of file memory.c.
Referenced by Ext2BuildExtents(), and Ext2TruncateIndirectFast().
Definition at line 1906 of file fileinfo.c.
Referenced by Ext2DeleteFile().
Definition at line 1686 of file memory.c.
Referenced by Ext2LookupFile(), and Ext2SetRenameInfo().
Definition at line 1935 of file memory.c.
Referenced by Ext2MountVolume().
BOOLEAN Ext2IsDirectoryEmpty | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb | ||
) |
Referenced by Ext2DeleteFile(), and Ext2IsFileRemovable().
BOOLEAN Ext2IsDot | ( | PUNICODE_STRING | name | ) |
BOOLEAN Ext2IsDotDot | ( | PUNICODE_STRING | name | ) |
BOOLEAN Ext2IsEaNameValid | ( | IN OEM_STRING | Name | ) |
Definition at line 389 of file ea.c.
Referenced by Ext2OverwriteEa(), and Ext2SetEa().
FAST_IO_POSSIBLE Ext2IsFastIoPossible | ( | IN PEXT2_FCB | Fcb | ) |
Definition at line 38 of file fastio.c.
Referenced by Ext2Cleanup(), Ext2FastIoLock(), Ext2FastIoUnlockAll(), Ext2FastIoUnlockAllByKey(), Ext2FastIoUnlockSingle(), Ext2LockControl(), Ext2OplockRequest(), Ext2ReadFile(), Ext2SetFileInformation(), and Ext2WriteFile().
NTSTATUS Ext2IsFileRemovable | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_FCB | Fcb, | ||
IN PEXT2_CCB | Ccb | ||
) |
Definition at line 1239 of file fileinfo.c.
Referenced by Ext2CreateFile(), Ext2SetDispositionInfo(), Ext2SetLinkInfo(), and Ext2SetRenameInfo().
Definition at line 68 of file fsctl.c.
Referenced by Ext2LockVcb().
BOOLEAN Ext2IsMediaWriteProtected | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PDEVICE_OBJECT | TargetDevice | ||
) |
Definition at line 2005 of file fsctl.c.
Referenced by Ext2InitializeVcb(), and Ext2VerifyVolume().
BOOLEAN Ext2IsNameValid | ( | PUNICODE_STRING | FileName | ) |
Definition at line 36 of file create.c.
Referenced by Ext2CreateFile(), and Ext2LookupFile().
BOOLEAN Ext2IsSpecialSystemFile | ( | IN PUNICODE_STRING | FileName, |
IN BOOLEAN | bDirectory | ||
) |
Definition at line 224 of file create.c.
Referenced by Ext2LookupFile(), and Ext2ProcessEntry().
NTSTATUS Ext2IsVolumeMounted | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 2494 of file fsctl.c.
Referenced by Ext2UserFsRequest().
BOOLEAN Ext2IsWearingCloak | ( | IN PEXT2_VCB | Vcb, |
IN POEM_STRING | OeName | ||
) |
Definition at line 372 of file dirctl.c.
Referenced by Ext2FillEntry(), and Ext2QueryDirectory().
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().
Definition at line 304 of file misc.c.
Referenced by ext3_bread(), and ext4_new_meta_blocks().
ULONG Ext2LinuxTime | ( | IN LARGE_INTEGER | SysTime | ) |
Definition at line 51 of file misc.c.
Referenced by Ext2Cleanup(), Ext2CreateInode(), Ext2DeleteFile(), Ext2FlushFile(), Ext2SetFileInformation(), Ext2SupersedeOrOverWriteFile(), and ext3_current_time().
BOOLEAN Ext2ListExtents | ( | PLARGE_MCB | Extents | ) |
Definition at line 558 of file memory.c.
Referenced by Ext2DestroyVcb(), Ext2FreeMcb(), and Ext2TruncateFile().
int Ext2LoadAllNls | ( | ) |
Definition at line 118 of file nls.c.
Referenced by DriverEntry().
Definition at line 659 of file generic.c.
BOOLEAN Ext2LoadBuffer | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN LONGLONG | Offset, | ||
IN ULONG | Size, | ||
IN PVOID | Buf | ||
) |
Definition at line 733 of file generic.c.
Referenced by Ext2LoadInode(), and Ext2SaveInode().
Definition at line 207 of file generic.c.
Referenced by Ext2InitializeVcb(), and ext4_get_group_desc().
Definition at line 170 of file generic.c.
Referenced by Ext2LoadGroup(), and ext4_get_group_desc().
Definition at line 508 of file generic.c.
Referenced by Ext2InitializeVcb(), Ext2LoadInternalJournal(), Ext2LookupFile(), Ext2ProcessEntry(), and Ext2RefreshSuper().
Definition at line 590 of file generic.c.
Referenced by ext4_fs_get_xattr_ref().
Definition at line 29 of file recover.c.
Referenced by Ext2RecoverJournal().
Definition at line 29 of file generic.c.
Referenced by Ext2MountVolume(), and Ext2VerifyVolume().
NTSTATUS Ext2LockControl | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 25 of file lock.c.
Referenced by Ext2DispatchRequest().
Definition at line 94 of file dispatch.c.
Referenced by Ext2CreateFile(), Ext2QueueRequest(), Ext2ReadFile(), and Ext2WriteFile().
Definition at line 113 of file block.c.
Referenced by Ext2LockIrp(), Ext2QueryDirectory(), Ext2ReadFile(), Ext2ReadVolume(), Ext2WriteFile(), and Ext2WriteVolume().
NTSTATUS Ext2LockVcb | ( | IN PEXT2_VCB | Vcb, |
IN PFILE_OBJECT | FileObject | ||
) |
Definition at line 94 of file fsctl.c.
Referenced by Ext2LockVolume().
NTSTATUS Ext2LockVolume | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 136 of file fsctl.c.
Referenced by Ext2Format(), and Ext2UserFsRequest().
Definition at line 25 of file misc.c.
Referenced by Ext2InitializeVcb().
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().
NTSTATUS Ext2LookupFile | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PUNICODE_STRING | FullName, | ||
IN PEXT2_MCB | Parent, | ||
OUT PEXT2_MCB * | Ext2Mcb, | ||
IN ULONG | Linkdep | ||
) |
Definition at line 273 of file create.c.
Referenced by Ext2CreateFile(), Ext2FollowLink(), Ext2ProcessEntry(), Ext2SetLinkInfo(), and Ext2SetRenameInfo().
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().
NTSTATUS Ext2MapExtent | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Index, | ||
IN BOOLEAN | Alloc, | ||
OUT PULONG | Block, | ||
OUT PULONG | Number | ||
) |
Definition at line 25 of file extents.c.
Referenced by Ext2BlockMap(), Ext2InitializeZone(), and ext3_bread().
NTSTATUS Ext2MapIndirect | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Index, | ||
IN BOOLEAN | bAlloc, | ||
OUT PULONG | pBlock, | ||
OUT PULONG | Number | ||
) |
Definition at line 835 of file indirect.c.
Referenced by Ext2BlockMap(), Ext2InitializeZone(), and ext3_bread().
Definition at line 3055 of file memory.c.
Referenced by DriverEntry().
VOID Ext2MediaEjectControl | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN BOOLEAN | bPrevent | ||
) |
Definition at line 685 of file block.c.
NTSTATUS Ext2MountVolume | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 2050 of file fsctl.c.
Referenced by Ext2FileSystemControl().
NTSTATUS Ext2NewBlock | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN ULONG | GroupHint, | ||
IN ULONG | BlockHint, | ||
OUT PULONG | Block, | ||
IN OUT PULONG | Number | ||
) |
Definition at line 1008 of file generic.c.
Referenced by Ext2ExpandLast(), and ext4_new_meta_blocks().
NTSTATUS Ext2NewInode | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN ULONG | GroupHint, | ||
IN ULONG | Type, | ||
OUT PULONG | Inode | ||
) |
Definition at line 1366 of file generic.c.
Referenced by Ext2CreateInode().
NTSTATUS Ext2NotifyChangeDirectory | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 1029 of file dirctl.c.
Referenced by Ext2DirectoryControl().
VOID Ext2NotifyReportChange | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Filter, | ||
IN ULONG | Action | ||
) |
Definition at line 1209 of file dirctl.c.
Referenced by Ext2Cleanup(), Ext2CreateFile(), Ext2DeleteReparsePoint(), Ext2QueryEa(), Ext2SetEa(), Ext2SetFileInformation(), Ext2SetLinkInfo(), Ext2SetRenameInfo(), Ext2SetReparsePoint(), and Ext2WriteFile().
Referenced by Ext2FastIoLock(), Ext2FastIoUnlockAll(), Ext2FastIoUnlockAllByKey(), and Ext2FastIoUnlockSingle().
LARGE_INTEGER Ext2NtTime | ( | IN ULONG | i_time | ) |
Definition at line 40 of file misc.c.
Referenced by Ext2Cleanup(), Ext2FlushFile(), Ext2InitializeVcb(), Ext2LookupFile(), Ext2ProcessEntry(), Ext2RefreshSuper(), and Ext2SetFileInformation().
NTSTATUS Ext2OEMToUnicode | ( | IN PEXT2_VCB | Vcb, |
IN OUT PUNICODE_STRING | Oem, | ||
IN POEM_STRING | Unicode | ||
) |
Definition at line 206 of file misc.c.
Referenced by Ext2FillEntry(), Ext2FollowLink(), Ext2GetReparsePoint(), Ext2InitializeLabel(), and Ext2QueryDirectory().
ULONG Ext2OEMToUnicodeSize | ( | IN PEXT2_VCB | Vcb, |
IN PANSI_STRING | Oem | ||
) |
Definition at line 183 of file misc.c.
Referenced by Ext2FillEntry(), Ext2FollowLink(), Ext2GetReparsePoint(), and Ext2QueryDirectory().
Definition at line 45 of file dispatch.c.
Referenced by Ext2CreateFile(), Ext2LockControl(), Ext2ReadFile(), and Ext2WriteFile().
NTSTATUS Ext2OplockRequest | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 451 of file fsctl.c.
Referenced by Ext2UserFsRequest().
NTSTATUS Ext2Pnp | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2PnpCancelRemove | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb | ||
) |
NTSTATUS Ext2PnpQueryRemove | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb | ||
) |
NTSTATUS Ext2PnpRemove | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb | ||
) |
NTSTATUS Ext2PnpSurpriseRemove | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb | ||
) |
NTSTATUS Ext2PreAcquireForCreateSection | ( | IN PFS_FILTER_CALLBACK_DATA | cd, |
OUT PVOID * | cc | ||
) |
Definition at line 1178 of file fastio.c.
Referenced by DriverEntry().
NTSTATUS Ext2PrepareToUnload | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Referenced by Ext2DeviceControl().
NTSTATUS Ext2ProcessEntry | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_FCB | Dcb, | ||
IN FILE_INFORMATION_CLASS | FileInformationClass, | ||
IN ULONG | in, | ||
IN PVOID | Buffer, | ||
IN ULONG | UsedLength, | ||
IN ULONG | Length, | ||
IN ULONG | FileIndex, | ||
IN PUNICODE_STRING | pName, | ||
OUT PULONG | EntrySize, | ||
IN BOOLEAN | Single | ||
) |
Definition at line 60 of file dirctl.c.
Referenced by Ext2FillEntry(), and Ext2QueryDirectory().
NTSTATUS Ext2ProcessGlobalProperty | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PEXT2_VOLUME_PROPERTY3 | Property, | ||
IN ULONG | Length | ||
) |
Definition at line 240 of file devctl.c.
Referenced by Ext2ProcessUserProperty().
NTSTATUS Ext2ProcessUserProperty | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VOLUME_PROPERTY3 | Property, | ||
IN ULONG | Length | ||
) |
Definition at line 591 of file devctl.c.
Referenced by Ext2DeviceControl().
NTSTATUS Ext2ProcessVolumeProperty | ( | IN PEXT2_VCB | Vcb, |
IN PEXT2_VOLUME_PROPERTY3 | Property, | ||
IN ULONG | Length | ||
) |
Definition at line 368 of file devctl.c.
Referenced by Ext2PerformRegistryVolumeParams(), and Ext2ProcessUserProperty().
Definition at line 2811 of file fsctl.c.
Referenced by Ext2PurgeVolume().
Definition at line 2704 of file fsctl.c.
Referenced by Ext2DismountVolume(), Ext2VerifyVolume(), and Ext2WriteVolume().
Definition at line 150 of file generic.c.
Referenced by Ext2InitializeVcb(), and Ext2LoadGroup().
NTSTATUS Ext2QueryDirectory | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 525 of file dirctl.c.
Referenced by Ext2DirectoryControl().
NTSTATUS Ext2QueryEa | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 94 of file ea.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2QueryExtentMappings | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_FCB | Fcb, | ||
IN PLARGE_INTEGER | RequestVbn, | ||
OUT PLARGE_INTEGER * | pMappedRuns | ||
) |
Definition at line 670 of file fsctl.c.
Referenced by Ext2GetRetrievalPointers(), and Ext2QueryRetrievalPointers().
NTSTATUS Ext2QueryFileInformation | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 48 of file fileinfo.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2QueryGlobalParameters | ( | IN PUNICODE_STRING | RegistryPath | ) |
Definition at line 199 of file init.c.
Referenced by Ext2QueryRegistrySettings().
BOOLEAN Ext2QueryRegistrySettings | ( | IN PUNICODE_STRING | RegistryPath | ) |
Definition at line 305 of file init.c.
Referenced by DriverEntry().
NTSTATUS Ext2QueryRetrievalPointers | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 774 of file fsctl.c.
Referenced by Ext2UserFsRequest().
NTSTATUS Ext2QueryVolumeInformation | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 27 of file volinfo.c.
Referenced by Ext2DispatchRequest().
VOID Ext2QueueCloseRequest | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 190 of file close.c.
Referenced by Ext2Close().
NTSTATUS Ext2QueueRequest | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 158 of file dispatch.c.
Referenced by Ext2Cleanup(), Ext2Create(), Ext2DeferWrite(), Ext2DeleteReparsePoint(), Ext2ExceptionHandler(), Ext2GetReparsePoint(), Ext2GetRetrievalPointerBase(), Ext2GetRetrievalPointers(), Ext2NotifyChangeDirectory(), Ext2OplockComplete(), Ext2QueryDirectory(), Ext2QueryEa(), Ext2QueryFileInformation(), Ext2QueryRetrievalPointers(), Ext2QueryVolumeInformation(), Ext2ReadFile(), Ext2ReadVolume(), Ext2SetEa(), Ext2SetFileInformation(), Ext2SetReparsePoint(), Ext2SetVolumeInformation(), Ext2ShutDown(), Ext2WriteFile(), and Ext2WriteVolume().
NTSTATUS Ext2Read | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 863 of file read.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2ReadDisk | ( | IN PEXT2_VCB | Vcb, |
IN ULONGLONG | Offset, | ||
IN ULONG | Size, | ||
IN PVOID | Buffer, | ||
IN BOOLEAN | bVerify | ||
) |
Definition at line 559 of file block.c.
Referenced by ext2_load_inode(), ext2_read_block(), ext2_read_inode(), Ext2LoadSuper(), read_bitmaps(), and zap_sector().
NTSTATUS Ext2ReadInode | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONGLONG | Offset, | ||
IN PVOID | Buffer, | ||
IN ULONG | Size, | ||
IN BOOLEAN | bDirectIo, | ||
OUT PULONG | dwReturn | ||
) |
Definition at line 311 of file read.c.
Referenced by Ext2QueryDirectory(), Ext2ReadFile(), Ext2ReadSymlink(), and Ext2SetParentEntry().
NTSTATUS Ext2ReadSymlink | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN PVOID | Buffer, | ||
IN ULONG | Size, | ||
OUT PULONG | BytesRead | ||
) |
Definition at line 1364 of file fsctl.c.
Referenced by Ext2FollowLink(), and Ext2GetReparsePoint().
NTSTATUS Ext2ReadSync | ( | IN PEXT2_VCB | Vcb, |
IN ULONGLONG | Offset, | ||
IN ULONG | Length, | ||
OUT PVOID | Buffer, | ||
IN BOOLEAN | bVerify | ||
) |
NTSTATUS Ext2ReadWriteBlocks | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_EXTENT | Extent, | ||
IN ULONG | Length | ||
) |
Definition at line 260 of file block.c.
Referenced by Ext2ReadInode(), Ext2ReadVolume(), Ext2WriteInode(), and Ext2WriteVolume().
INT Ext2RecoverJournal | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb | ||
) |
Definition at line 95 of file recover.c.
Referenced by Ext2InitializeVcb(), and Ext2ProcessVolumeProperty().
BOOLEAN Ext2RefreshGroup | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb | ||
) |
Definition at line 409 of file generic.c.
Referenced by Ext2RecoverJournal().
BOOLEAN Ext2RefreshSuper | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb | ||
) |
Definition at line 92 of file generic.c.
Referenced by Ext2RecoverJournal().
Definition at line 276 of file memory.c.
Referenced by Ext2CreateFile(), Ext2DeleteFile(), Ext2DeleteReparsePoint(), Ext2SetLinkInfo(), Ext2SetRenameInfo(), and Ext2SetReparsePoint().
NTSTATUS Ext2ReleaseFileForCcFlush | ( | IN PFILE_OBJECT | FileObject, |
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 1156 of file fastio.c.
Referenced by DriverEntry().
NTSTATUS Ext2ReleaseFileForModWrite | ( | IN PFILE_OBJECT | FileObject, |
IN PERESOURCE | ResourceToRelease, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 1110 of file fastio.c.
Referenced by DriverEntry().
VOID Ext2ReleaseForCreateSection | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 63 of file cmcb.c.
Referenced by DriverEntry().
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().
NTSTATUS Ext2RemoveEntry | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_FCB | Dcb, | ||
IN PEXT2_MCB | Mcb | ||
) |
Definition at line 2021 of file generic.c.
Referenced by Ext2DeleteFile(), and Ext2SetRenameInfo().
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().
BOOLEAN Ext2SaveBlock | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN ULONG | dwBlk, | ||
IN PVOID | Buf | ||
) |
Definition at line 698 of file generic.c.
Referenced by Ext2ExpandBlock(), and Ext2ExpandLast().
BOOLEAN Ext2SaveBuffer | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN LONGLONG | Offset, | ||
IN ULONG | Size, | ||
IN PVOID | Buf | ||
) |
Definition at line 928 of file generic.c.
Referenced by Ext2SaveInode(), Ext2SaveInodeXattr(), Ext2SaveSuper(), and Ext2WriteInode().
Definition at line 386 of file generic.c.
Referenced by Ext2FreeBlock(), Ext2FreeInode(), Ext2NewBlock(), Ext2NewInode(), and Ext2UpdateGroupDirStat().
BOOLEAN Ext2SaveInode | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN struct inode * | Inode | ||
) |
Definition at line 552 of file generic.c.
Referenced by Ext2Cleanup(), Ext2CreateInode(), Ext2DeleteFile(), Ext2DoExtentExpand(), Ext2ExpandExtent(), Ext2ExpandIndirect(), Ext2FlushFile(), Ext2GetBlock(), Ext2MapExtent(), Ext2MapIndirect(), Ext2SetFileInformation(), Ext2SetReparsePoint(), Ext2SupersedeOrOverWriteFile(), Ext2TruncateExtent(), Ext2TruncateIndirect(), Ext2TruncateSymlink(), Ext2WriteFile(), Ext2WriteSymlink(), ext3_append(), ext3_mark_inode_dirty(), and ext4_fs_put_xattr_ref().
BOOLEAN Ext2SaveInodeXattr | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN struct inode * | Inode, | ||
IN PEXT2_INODE | InodeXattr | ||
) |
Definition at line 621 of file generic.c.
Referenced by ext4_fs_put_xattr_ref().
BOOLEAN Ext2SaveSuper | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb | ||
) |
Definition at line 67 of file generic.c.
Referenced by Ext2RecoverJournal(), Ext2SetFileInformation(), Ext2SetVolumeInformation(), Ext2ShutDown(), Ext2UpdateVcbStat(), Ext2WriteFile(), and ext3_inode_blocks_set().
NTSTATUS Ext2ScanDir | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Parent, | ||
IN PUNICODE_STRING | FileName, | ||
OUT PULONG | Inode, | ||
struct dentry ** | dentry | ||
) |
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 Ext2SetDispositionInfo | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_FCB | Fcb, | ||
PEXT2_CCB | Ccb, | ||
BOOLEAN | bDelete | ||
) |
Definition at line 1282 of file fileinfo.c.
Referenced by Ext2SetFileInformation().
NTSTATUS Ext2SetEa | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 436 of file ea.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2SetFileInformation | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 514 of file fileinfo.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2SetFileType | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_FCB | Dcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN umode_t | mode | ||
) |
Definition at line 1951 of file generic.c.
Referenced by Ext2SetReparsePoint().
NTSTATUS Ext2SetLinkInfo | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_FCB | Fcb, | ||
PEXT2_CCB | Ccb | ||
) |
Definition at line 1665 of file fileinfo.c.
Referenced by Ext2SetFileInformation().
NTSTATUS Ext2SetParentEntry | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_FCB | Dcb, | ||
IN ULONG | OldParent, | ||
IN ULONG | NewParent | ||
) |
Definition at line 2098 of file generic.c.
Referenced by Ext2SetRenameInfo().
NTSTATUS Ext2SetRenameInfo | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_FCB | Fcb, | ||
PEXT2_CCB | Ccb | ||
) |
Definition at line 1325 of file fileinfo.c.
Referenced by Ext2SetFileInformation().
NTSTATUS Ext2SetVolumeInformation | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 292 of file volinfo.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2ShutDown | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 25 of file shutdown.c.
Referenced by Ext2DispatchRequest().
Definition at line 297 of file misc.c.
Referenced by Ext2AddMcbExtent(), Ext2AddMcbMetaExts(), Ext2AddVcbExtent(), Ext2ExpandBlock(), Ext2ExpandLast(), Ext2GetBlock(), Ext2QueueCloseRequest(), Ext2RemoveMcbExtent(), Ext2RemoveMcbMetaExts(), Ext2RemoveVcbExtent(), Ext2TruncateBlock(), get_block_bh_mdl(), and get_block_bh_pin().
VOID Ext2StartFloppyFlushDpc | ( | PEXT2_VCB | Vcb, |
PEXT2_FCB | Fcb, | ||
PFILE_OBJECT | FileObject | ||
) |
Definition at line 139 of file write.c.
Referenced by Ext2SaveInode(), Ext2SaveInodeXattr(), Ext2SaveSuper(), Ext2WriteFile(), and Ext2WriteInode().
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().
NTSTATUS Ext2SupersedeOrOverWriteFile | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PFILE_OBJECT | FileObject, | ||
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_FCB | Fcb, | ||
IN PLARGE_INTEGER | AllocationSize, | ||
IN ULONG | Disposition | ||
) |
Definition at line 2137 of file create.c.
Referenced by Ext2CreateFile().
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().
ULONG Ext2TotalBlocks | ( | PEXT2_VCB | Vcb, |
PLARGE_INTEGER | Size, | ||
PULONG | pMeta | ||
) |
Definition at line 1077 of file fileinfo.c.
Referenced by Ext2CreateFile().
__inline VOID Ext2TraceIrpContext | ( | BOOLEAN | _n, |
PEXT2_IRP_CONTEXT | IrpContext | ||
) |
NTSTATUS Ext2TruncateBlock | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONG | Base, | ||
IN ULONG | Start, | ||
IN ULONG | Layer, | ||
IN ULONG | SizeArray, | ||
IN PULONG | BlockArray, | ||
IN PULONG | Extra | ||
) |
Definition at line 632 of file indirect.c.
Referenced by Ext2TruncateBlock(), and Ext2TruncateIndirect().
NTSTATUS Ext2TruncateExtent | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_MCB | Mcb, | ||
PLARGE_INTEGER | Size | ||
) |
Definition at line 200 of file extents.c.
Referenced by Ext2TruncateFile().
NTSTATUS Ext2TruncateFile | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_MCB | Mcb, | ||
PLARGE_INTEGER | AllocationSize | ||
) |
Definition at line 1204 of file fileinfo.c.
Referenced by Ext2Cleanup(), Ext2CreateFile(), Ext2DeleteFile(), Ext2SetFileInformation(), Ext2SetReparsePoint(), Ext2SupersedeOrOverWriteFile(), Ext2TruncateSymlink(), and Ext2WriteSymlink().
NTSTATUS Ext2TruncateIndirect | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_MCB | Mcb, | ||
PLARGE_INTEGER | Size | ||
) |
Definition at line 1099 of file indirect.c.
Referenced by Ext2TruncateFile().
NTSTATUS Ext2TruncateSymlink | ( | PEXT2_IRP_CONTEXT | IrpContext, |
PEXT2_VCB | Vcb, | ||
PEXT2_MCB | Mcb, | ||
ULONG | Size | ||
) |
Definition at line 1751 of file fsctl.c.
Referenced by Ext2DeleteReparsePoint().
NTSTATUS Ext2UnicodeToOEM | ( | IN PEXT2_VCB | Vcb, |
IN OUT POEM_STRING | Oem, | ||
IN PUNICODE_STRING | Unicode | ||
) |
Definition at line 261 of file misc.c.
Referenced by Ext2BuildEntry(), Ext2SetReparsePoint(), and Ext2SetVolumeInformation().
ULONG Ext2UnicodeToOEMSize | ( | IN PEXT2_VCB | Vcb, |
IN PUNICODE_STRING | Unicode | ||
) |
Definition at line 239 of file misc.c.
Referenced by Ext2BuildEntry(), and Ext2SetReparsePoint().
Definition at line 202 of file memory.c.
Referenced by Ext2QueryUnusedFcb().
Definition at line 2957 of file memory.c.
Referenced by Ext2FreeCcb(), and Ext2UnlinkFcb().
VOID Ext2UnloadAllNls | ( | ) |
NTSTATUS Ext2UnlockVcb | ( | IN PEXT2_VCB | Vcb, |
IN PFILE_OBJECT | FileObject | ||
) |
Definition at line 206 of file fsctl.c.
Referenced by Ext2UnlockVolume().
NTSTATUS Ext2UnlockVolume | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 241 of file fsctl.c.
Referenced by Ext2UserFsRequest().
NTSTATUS Ext2UpdateGroupDirStat | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN ULONG | Group | ||
) |
Definition at line 1728 of file generic.c.
Referenced by Ext2SetReparsePoint().
VOID Ext2UpdateVcbStat | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb | ||
) |
Definition at line 997 of file generic.c.
Referenced by Ext2FreeBlock(), Ext2FreeInode(), Ext2NewBlock(), Ext2NewInode(), and Ext2UpdateGroupDirStat().
NTSTATUS Ext2UserFsRequest | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 1903 of file fsctl.c.
Referenced by Ext2FileSystemControl().
VOID Ext2VerifyVcb | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb | ||
) |
Definition at line 2277 of file fsctl.c.
Referenced by Ext2Create(), Ext2Flush(), Ext2IsVolumeMounted(), and Ext2SetVolumeInformation().
NTSTATUS Ext2VerifyVolume | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 2378 of file fsctl.c.
Referenced by Ext2FileSystemControl().
Definition at line 410 of file misc.c.
Referenced by Ext2AddDotEntries(), Ext2AddEntry(), Ext2DoExtentExpand(), Ext2FreeInode(), Ext2MapExtent(), Ext2NewBlock(), Ext2NewInode(), Ext2OverwriteEa(), Ext2QueryEa(), Ext2QueryFileInformation(), Ext2RemoveEntry(), and Ext2SetEa().
NTSTATUS Ext2Write | ( | IN PEXT2_IRP_CONTEXT | IrpContext | ) |
Definition at line 1355 of file write.c.
Referenced by Ext2DispatchRequest().
NTSTATUS Ext2WriteInode | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN ULONGLONG | Offset, | ||
IN PVOID | Buffer, | ||
IN ULONG | Size, | ||
IN BOOLEAN | bDirectIo, | ||
OUT PULONG | dwReturn | ||
) |
Definition at line 668 of file write.c.
Referenced by Ext2SetParentEntry(), Ext2WriteFile(), and Ext2WriteSymlink().
NTSTATUS Ext2WriteSymlink | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PEXT2_MCB | Mcb, | ||
IN PVOID | Buffer, | ||
IN ULONG | Size, | ||
OUT PULONG | BytesWritten | ||
) |
Definition at line 1519 of file fsctl.c.
Referenced by Ext2SetReparsePoint().
BOOLEAN Ext2ZeroBuffer | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN LONGLONG | Offset, | ||
IN ULONG | Size | ||
) |
Definition at line 795 of file generic.c.
Referenced by Ext2ClearInode().
BOOLEAN Ext2ZeroData | ( | IN PEXT2_IRP_CONTEXT | IrpContext, |
IN PEXT2_VCB | Vcb, | ||
IN PFILE_OBJECT | FileObject, | ||
IN PLARGE_INTEGER | Start, | ||
IN PLARGE_INTEGER | End | ||
) |
Definition at line 186 of file write.c.
Referenced by Ext2WriteFile().
Definition at line 1946 of file htree.c.
Referenced by Ext2AddEntry().
struct buffer_head * ext3_append | ( | struct ext2_icb * | icb, |
struct inode * | inode, | ||
ext3_lblk_t * | block, | ||
int * | err | ||
) |
Definition at line 279 of file htree.c.
Referenced by Ext2AddDotEntries(), and ext3_add_entry().
int ext3_bg_has_super | ( | struct super_block * | sb, |
ext3_group_t | group | ||
) |
ext4_bg_has_super - number of blocks used by the superblock in group @sb: superblock for filesystem @group: group number to check
Return the number of blocks used by the superblock (primary or backup) in this group. Currently this will be only 0 or 1.
Definition at line 2686 of file generic.c.
Referenced by descriptor_loc(), ext4_bg_num_gdb_nometa(), and ext4_init_block_bitmap().
|
inlinestatic |
Definition at line 1745 of file ext2fs.h.
Referenced by Ext2InitializeVcb(), Ext2QueryVolumeInformation(), ext4_check_descriptors(), and ext4_init_block_bitmap().
|
inlinestatic |
struct buffer_head * ext3_bread | ( | struct ext2_icb * | icb, |
struct inode * | inode, | ||
unsigned long | block, | ||
int * | err | ||
) |
Definition at line 230 of file htree.c.
Referenced by ext3_add_entry(), ext3_append(), ext3_find_entry(), and ext3_is_dir_empty().
int ext3_check_dir_entry | ( | const char * | function, |
struct inode * | dir, | ||
struct ext3_dir_entry_2 * | de, | ||
struct buffer_head * | bh, | ||
unsigned long | offset | ||
) |
Definition at line 2209 of file generic.c.
Referenced by add_dirent_to_buf(), ext3_delete_entry(), ext3_is_dir_empty(), and search_dirblock().
Definition at line 204 of file htree.c.
Referenced by add_dirent_to_buf(), Ext2RemoveEntry(), and Ext2SetFileType().
Definition at line 312 of file htree.c.
Referenced by Ext2RemoveEntry(), Ext2SetFileType(), and Ext2SetReparsePoint().
int ext3_delete_entry | ( | struct ext2_icb * | icb, |
struct inode * | dir, | ||
struct ext3_dir_entry_2 * | de_del, | ||
struct buffer_head * | bh | ||
) |
Definition at line 2005 of file htree.c.
Referenced by Ext2RemoveEntry().
struct buffer_head * ext3_dx_find_entry | ( | struct ext2_icb * | , |
struct dentry * | dentry, | ||
struct ext3_dir_entry_2 ** | res_dir, | ||
int * | err | ||
) |
Referenced by ext3_find_entry().
Referenced by Ext2QueryDirectory().
struct buffer_head * ext3_find_entry | ( | struct ext2_icb * | icb, |
struct dentry * | dentry, | ||
struct ext3_dir_entry_2 ** | res_dir | ||
) |
Definition at line 2166 of file htree.c.
Referenced by Ext2RemoveEntry(), Ext2ScanDir(), and Ext2SetFileType().
|
inlinestatic |
Definition at line 1757 of file ext2fs.h.
Referenced by Ext2CreateFile(), Ext2DeleteFile(), and Ext2QueryVolumeInformation().
|
inlinestatic |
Definition at line 1770 of file ext2fs.h.
Referenced by Ext2UpdateVcbStat(), and ext4_check_descriptors().
Definition at line 307 of file htree.c.
Referenced by Ext2AddEntry(), and Ext2SetFileType().
blkcnt_t ext3_inode_blocks | ( | struct ext3_inode * | raw_inode, |
struct inode * | inode | ||
) |
Definition at line 2395 of file generic.c.
Referenced by Ext2DecodeInode().
int ext3_inode_blocks_set | ( | struct ext3_inode * | raw_inode, |
struct inode * | inode | ||
) |
Definition at line 2418 of file generic.c.
Referenced by Ext2EncodeInode().
Definition at line 2038 of file htree.c.
Referenced by Ext2IsDirectoryEmpty().
Definition at line 360 of file htree.c.
Referenced by add_dirent_to_buf(), Ext2AddDotEntries(), Ext2AddEntry(), Ext2RemoveEntry(), and Ext2SetFileType().
Definition at line 2337 of file generic.c.
Referenced by Ext2InitializeVcb().
Definition at line 2301 of file generic.c.
Referenced by Ext2InitializeVcb().
struct ext3_dir_entry_2 * ext3_next_entry | ( | struct ext3_dir_entry_2 * | p | ) |
Definition at line 2244 of file generic.c.
Referenced by ext3_delete_entry(), and ext3_is_dir_empty().
|
inlinestatic |
|
inlinestatic |
void ext3_set_de_type | ( | struct super_block * | sb, |
struct ext3_dir_entry_2 * | de, | ||
umode_t | mode | ||
) |
Definition at line 347 of file htree.c.
Referenced by add_dirent_to_buf(), Ext2AddDotEntries(), and Ext2SetFileType().
Definition at line 368 of file htree.c.
Referenced by add_dirent_to_buf(), and Ext2RemoveEntry().
Definition at line 212 of file htree.c.
Referenced by Ext2RemoveEntry(), and ext3_is_dir_empty().
unsigned long ext4_bg_num_gdb | ( | struct super_block * | sb, |
ext4_group_t | group | ||
) |
ext4_bg_num_gdb - number of blocks used by the group table in group @sb: superblock for filesystem @group: group number to check
Return the number of blocks used by the group descriptor table (primary or backup) in this group. In the future there may be a different number of descriptor blocks in each group.
Definition at line 2722 of file generic.c.
Referenced by ext4_init_block_bitmap().
ext4_fsblk_t ext4_block_bitmap | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg | ||
) |
Definition at line 2459 of file generic.c.
Referenced by Ext2CheckBitmapConsistency(), Ext2CheckSetBlock(), Ext2FreeBlock(), Ext2NewBlock(), Ext2NewInode(), ext4_check_descriptors(), ext4_group_used_meta_blocks(), and ext4_init_block_bitmap().
void ext4_block_bitmap_set | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg, | ||
ext4_fsblk_t | blk | ||
) |
int ext4_check_descriptors | ( | struct super_block * | sb | ) |
Definition at line 3091 of file generic.c.
Referenced by Ext2LoadGroup().
ext4_fsblk_t ext4_count_free_blocks | ( | struct super_block * | sb | ) |
ext4_count_free_blocks() – count filesystem free blocks @sb: superblock
Adds up the number of free blocks from each block group.
Definition at line 3033 of file generic.c.
Referenced by Ext2UpdateVcbStat(), and ext4_check_descriptors().
unsigned long ext4_count_free_inodes | ( | struct super_block * | sb | ) |
Definition at line 3054 of file generic.c.
Referenced by Ext2UpdateVcbStat(), and ext4_check_descriptors().
__u32 ext4_free_blks_count | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg | ||
) |
Definition at line 2483 of file generic.c.
Referenced by Ext2NewBlock(), and ext4_count_free_blocks().
void ext4_free_blks_set | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg, | ||
__u32 | count | ||
) |
Definition at line 2539 of file generic.c.
Referenced by Ext2FreeBlock(), Ext2NewBlock(), Ext2NewInode(), ext4_init_block_bitmap(), and ext4_init_inode_bitmap().
__u32 ext4_free_inodes_count | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg | ||
) |
Definition at line 2491 of file generic.c.
Referenced by Ext2NewInode(), and ext4_count_free_inodes().
void ext4_free_inodes_set | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg, | ||
__u32 | count | ||
) |
Definition at line 2547 of file generic.c.
Referenced by Ext2FreeInode(), Ext2NewInode(), ext4_init_block_bitmap(), and ext4_init_inode_bitmap().
struct ext4_group_desc * ext4_get_group_desc | ( | struct super_block * | sb, |
ext4_group_t | block_group, | ||
struct buffer_head ** | bh | ||
) |
ext4_get_group_desc() – load group descriptor from disk @sb: super block @block_group: given block group @bh: pointer to the buffer head to store the block group descriptor
Definition at line 2976 of file generic.c.
Referenced by Ext2CheckBitmapConsistency(), Ext2CheckSetBlock(), Ext2FreeBlock(), Ext2FreeInode(), Ext2GetInodeLba(), Ext2NewBlock(), Ext2NewInode(), Ext2SaveGroup(), Ext2UpdateGroupDirStat(), ext4_check_descriptors(), ext4_count_dirs(), ext4_count_free_blocks(), ext4_count_free_inodes(), and ext4_group_used_meta_blocks().
__le16 ext4_group_desc_csum | ( | struct ext3_sb_info * | sbi, |
__u32 | block_group, | ||
struct ext4_group_desc * | gdp | ||
) |
Definition at line 2619 of file generic.c.
Referenced by Ext2NewBlock(), Ext2NewInode(), Ext2SaveGroup(), ext4_check_descriptors(), and ext4_group_desc_csum_verify().
int ext4_group_desc_csum_verify | ( | struct ext3_sb_info * | sbi, |
__u32 | block_group, | ||
struct ext4_group_desc * | gdp | ||
) |
Definition at line 2648 of file generic.c.
Referenced by ext4_check_descriptors(), ext4_init_block_bitmap(), and ext4_init_inode_bitmap().
unsigned ext4_init_block_bitmap | ( | struct super_block * | sb, |
struct buffer_head * | bh, | ||
ext4_group_t | block_group, | ||
struct ext4_group_desc * | gdp | ||
) |
Definition at line 2877 of file generic.c.
unsigned ext4_init_inode_bitmap | ( | struct super_block * | sb, |
struct buffer_head * | bh, | ||
ext4_group_t | block_group, | ||
struct ext4_group_desc * | gdp | ||
) |
Definition at line 2786 of file generic.c.
ext4_fsblk_t ext4_inode_bitmap | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg | ||
) |
Definition at line 2467 of file generic.c.
Referenced by Ext2CheckBitmapConsistency(), Ext2FreeInode(), Ext2NewBlock(), Ext2NewInode(), ext4_check_descriptors(), ext4_group_used_meta_blocks(), and ext4_init_block_bitmap().
void ext4_inode_bitmap_set | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg, | ||
ext4_fsblk_t | blk | ||
) |
ext4_fsblk_t ext4_inode_table | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg | ||
) |
Definition at line 2475 of file generic.c.
Referenced by Ext2CheckBitmapConsistency(), Ext2GetInodeLba(), Ext2NewBlock(), ext4_check_descriptors(), ext4_group_used_meta_blocks(), and ext4_init_block_bitmap().
void ext4_inode_table_set | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg, | ||
ext4_fsblk_t | blk | ||
) |
__u32 ext4_itable_unused_count | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg | ||
) |
void ext4_itable_unused_set | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg, | ||
__u32 | count | ||
) |
Definition at line 2563 of file generic.c.
Referenced by Ext2NewInode(), ext4_init_block_bitmap(), and ext4_init_inode_bitmap().
__u32 ext4_used_dirs_count | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg | ||
) |
Definition at line 2499 of file generic.c.
Referenced by Ext2FreeInode(), Ext2NewInode(), Ext2UpdateGroupDirStat(), and ext4_count_dirs().
void ext4_used_dirs_set | ( | struct super_block * | sb, |
struct ext4_group_desc * | bg, | ||
__u32 | count | ||
) |
Definition at line 2555 of file generic.c.
Referenced by Ext2FreeInode(), Ext2NewInode(), and Ext2UpdateGroupDirStat().
|
extern |
Definition at line 16 of file init.c.
Referenced by Ext2TraceIrpContext(), and Ext2TraceMemory().
|
extern |
Referenced by DriverEntry(), Ext2FastIoLock(), Ext2FastIoUnlockAll(), Ext2FastIoUnlockAllByKey(), and Ext2FastIoUnlockSingle().