NVME_LBA_RANGE structure (nvme.h)

Contains parameters that define a collection of contiguous logical blocks specified by a starting LBA and number of logical blocks.

This structure is used by the Dataset Management command, which provides a list of LBA ranges with optional context attributes. Each LBA range consists of a starting LBA (StartingLBA), a length of logical blocks that the range consists of (LogicalBlockCount), and the optional context attributes (Attributes) to be applied to that range.

Syntax

typedef struct {
  NVME_CONTEXT_ATTRIBUTES Attributes;
  ULONG                   LogicalBlockCount;
  ULONGLONG               StartingLBA;
} NVME_LBA_RANGE, *PNVME_LBA_RANGE;

Members

Attributes

A NVME_CONTEXT_ATTRIBUTES structure that specifies context attributes for the logical block range.

The use of this information is optional and the controller is not required to perform any specific action.

LogicalBlockCount

Specifies the length of the LBA range in logical blocks.

StartingLBA

Specifies the starting logical block in the range.

Requirements

Requirement Value
Minimum supported client Windows 10
Header nvme.h

See also