FsRtlOplockIsFastIoPossible - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

BOOLEAN FsRtlOplockIsFastIoPossible(
  [in] POPLOCK Oplock
);
View the official Windows Driver Kit DDI reference
// rxprocs.h

void FsRtlOplockIsFastIoPossible(
  __a
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-_fsrtl_advanced_fcb_header-fsrtloplockisfastiopossible)

FsRtlOplockIsFastIoPossible function

Description

FsRtlOplockIsFastIoPossible checks a file's opportunistic lock (oplock) state to determine whether fast I/O can be performed on the file.

Parameters

Oplock [in]

Opaque opportunistic lock pointer for the file. This pointer must have been initialized by a previous call to FsRtlInitializeOplock.

Return value

FsRtlOplockIsFastIoPossible returns FALSE if there are outstanding opportunistic locks on the file that prevent fast I/O from being performed; TRUE otherwise.

Remarks

FsRtlOplockIsFastIoPossible determines whether fast I/O can be performed on a file, according to the following conditions:

For detailed information about opportunistic locks, see the Windows SDK documentation.

Minifilters should call FltOplockIsFastIoPossible instead of FsRtlOplockIsFastIoPossible.

See also

FSCTL_OPBATCH_ACK_CLOSE_PENDING

FSCTL_OPLOCK_BREAK_ACKNOWLEDGE

FSCTL_OPLOCK_BREAK_ACK_NO_2

FSCTL_OPLOCK_BREAK_NOTIFY

FSCTL_REQUEST_BATCH_OPLOCK

FSCTL_REQUEST_FILTER_OPLOCK

FSCTL_REQUEST_OPLOCK_LEVEL_1

FSCTL_REQUEST_OPLOCK_LEVEL_2

FltOplockIsFastIoPossible

FsRtlCheckOplock

FsRtlCurrentBatchOplock

FsRtlInitializeOplock

FsRtlOplockFsctrl

FsRtlUninitializeOplock


Windows Driver Kit DDI reference (nf-rxprocs-fsrtloplockisfastiopossible)

FsRtlOplockIsFastIoPossible macro

Description

FsRtlOplockIsFastIoPossible checks a file's opportunistic lock (oplock) state to determine whether fast I/O can be performed on the file.

Parameters

__a

Opaque opportunistic lock pointer for the file. This pointer must have been initialized by a previous call to FsRtlInitializeOplock.

Remarks

FsRtlOplockIsFastIoPossible determines whether fast I/O can be performed on a file, according to the following conditions:

For detailed information about opportunistic locks, see the Microsoft Windows SDK documentation.

Minifilters should call FltOplockIsFastIoPossible instead of FsRtlOplockIsFastIoPossible.

See also

FSCTL_OPBATCH_ACK_CLOSE_PENDING

FSCTL_OPLOCK_BREAK_ACKNOWLEDGE

FSCTL_OPLOCK_BREAK_ACK_NO_2

FSCTL_OPLOCK_BREAK_NOTIFY

FSCTL_REQUEST_BATCH_OPLOCK

FSCTL_REQUEST_FILTER_OPLOCK

FSCTL_REQUEST_OPLOCK_LEVEL_1

FSCTL_REQUEST_OPLOCK_LEVEL_2

FltOplockIsFastIoPossible

FsRtlCheckOplock

FsRtlCurrentBatchOplock

FsRtlInitializeOplock

FsRtlOplockFsctrl

FsRtlUninitializeOplock