NVME_CDW11_FEATURE_LBA_RANGE_TYPE union (nvme.h)

Contains a parameter that specifies the number of LBA ranges for the LBA Range Type Feature in the Set Features command.

The values from this structure are used in the LbaRangeType field of the NVME_CDW11_FEATURES structure.

Syntax

typedef union {
  struct {
    ULONG NUM : 6;
    ULONG Reserved0 : 26;
  } DUMMYSTRUCTNAME;
  ULONG  AsUlong;
} NVME_CDW11_FEATURE_LBA_RANGE_TYPE, *PNVME_CDW11_FEATURE_LBA_RANGE_TYPE;

Members

DUMMYSTRUCTNAME

DUMMYSTRUCTNAME.NUM

Specifies the number of LBA ranges in this command. This is a 0’s based value. This field is used for the Set Features command only and is ignored for the Get Features command.

DUMMYSTRUCTNAME.Reserved0

AsUlong

Remarks

LBA range information may be used by a driver to determine if it may utilize a particular LBA range; the information is not exposed to higher level software.

This is optional information that is not required for proper behavior of the system. However, it may be utilized to avoid unintended software issues. For example, if the LBA range indicates that it is a RAID volume then a driver that does not have RAID functionality should not utilize that LBA range (including not overwriting the LBA range). The optional information may be utilized by the driver to determine whether the LBA Range should be exposed to higher level software.

Requirements

Requirement Value
Minimum supported client Windows 10
Header nvme.h

See also