Skip to content

Latest commit

 

History

History
219 lines (151 loc) · 6.24 KB

ns-winioctl-filesystem_statistics_ex.md

File metadata and controls

219 lines (151 loc) · 6.24 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist f1_keywords dev_langs topic_type api_type api_location api_name
NS:winioctl._FILESYSTEM_STATISTICS_EX
FILESYSTEM_STATISTICS_EX
Contains statistical information from the file system.Support for this structure started with Windows 10.
*PFILESYSTEM_STATISTICS_EX
FILESYSTEM_STATISTICS_EX
FILESYSTEM_STATISTICS_EX structure [Files]
FILESYSTEM_STATISTICS_TYPE_EXFAT
FILESYSTEM_STATISTICS_TYPE_FAT
FILESYSTEM_STATISTICS_TYPE_NTFS
PFILESYSTEM_STATISTICS_EX
PFILESYSTEM_STATISTICS_EX structure pointer [Files]
fs.filesystem_statistics_ex
winioctl/FILESYSTEM_STATISTICS_EX
winioctl/PFILESYSTEM_STATISTICS_EX
fs\filesystem_statistics_ex.htm
fs
E869CF11-E321-478A-948F-226B04D61492
12/05/2018
*PFILESYSTEM_STATISTICS_EX, FILESYSTEM_STATISTICS_EX, FILESYSTEM_STATISTICS_EX structure [Files], FILESYSTEM_STATISTICS_TYPE_EXFAT, FILESYSTEM_STATISTICS_TYPE_FAT, FILESYSTEM_STATISTICS_TYPE_NTFS, PFILESYSTEM_STATISTICS_EX, PFILESYSTEM_STATISTICS_EX structure pointer [Files], fs.filesystem_statistics_ex, winioctl/FILESYSTEM_STATISTICS_EX, winioctl/PFILESYSTEM_STATISTICS_EX
winioctl.h
Windows.h
Windows
Windows 10 [desktop apps only]
Windows Server 2016 [desktop apps only]
Windows
FILESYSTEM_STATISTICS_EX, *PFILESYSTEM_STATISTICS_EX
_FILESYSTEM_STATISTICS_EX
winioctl/_FILESYSTEM_STATISTICS_EX
PFILESYSTEM_STATISTICS_EX
winioctl/PFILESYSTEM_STATISTICS_EX
FILESYSTEM_STATISTICS_EX
winioctl/FILESYSTEM_STATISTICS_EX
c++
APIRef
kbSyntax
HeaderDef
WinIoCtl.h
FILESYSTEM_STATISTICS_EX

FILESYSTEM_STATISTICS_EX structure

-description

Contains statistical information from the file system.Support for this structure started with Windows 10.

-struct-fields

-field FileSystemType

The type of file system.

This member can be one of the following values.

Value Meaning
FILESYSTEM_STATISTICS_TYPE_EXFAT
3
The file system is an exFAT file system.

If this value is set, this structure is followed by an EXFAT_STATISTICS structure.

Windows Vista, Windows Server 2003 and Windows XP:  This value is not supported until Windows Vista with SP1.

FILESYSTEM_STATISTICS_TYPE_FAT
2
The file system is a FAT file system.

If this value is set, this structure is followed by a FAT_STATISTICS structure.

FILESYSTEM_STATISTICS_TYPE_NTFS
1
The file system is the NTFS file system.

If this value is set, this structure is followed by an NTFS_STATISTICS_EX structure.

-field Version

This member is set to 1 (one).

-field SizeOfCompleteStructure

The size of this structure plus the size of the file system-specific structure that follows this structure, multiplied by the number of processors.

This value must be a multiple of 64. For example, if the size of FILESYSTEM_STATISTICS_EX is 0x68, the size of NTFS_STATISTICS_EX is 0x1D8, and if there are 2 processors, the buffer allocated must be 0x480.

sizeof(FILESYSTEM_STATISTICS_EX) = 0x68

sizeof(NTFS_STATISTICS_EX) = 0x1D8

Total Size = 0x240

size of the complete structure = 0x240 (which is the aligned length, a multiple of 64)

multiplied by 2 (the number of processors) = 0x480

-field UserFileReads

The number of read operations on user files.

-field UserFileReadBytes

The number of bytes read from user files.

-field UserDiskReads

The number of read operations on user files.

This value includes sub-read operations.

-field UserFileWrites

The number of write operations on user files.

-field UserFileWriteBytes

The number of bytes written to user files.

-field UserDiskWrites

The number of write operations on user files.

This value includes sub-write operations.

-field MetaDataReads

The number of read operations on metadata files.

-field MetaDataReadBytes

The number of bytes read from metadata files.

-field MetaDataDiskReads

The number of read operations on metadata files.

This value includes sub-read operations.

-field MetaDataWrites

The number of write operations on metadata files.

-field MetaDataWriteBytes

The number of bytes written to metadata files.

-field MetaDataDiskWrites

The number of write operations on metadata files.

This value includes sub-write operations.

-remarks

There are two types of files: user and metadata. User files are available for the user. Metadata files are system files that contain information, which the file system uses for its internal organization.

The number of read and write operations measured is the number of paging operations.

-see-also

EXFAT_STATISTICS

FAT_STATISTICS

FSCTL_FILESYSTEM_GET_STATISTICS

NTFS_STATISTICS_EX