Reference

nvme_init_get_features_lba_range-libnvme3(2)

Initialize passthru command for Get Features - LBA Range

NAME

nvme_init_get_features_lba_range - Initialize passthru command for Get Features - LBA Range

SYNOPSIS

void nvme_init_get_features_lba_range (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_get_features_sel sel , struct nvme_lba_range_type *lrt );

ARGUMENTS

cmd

Passthru command to use

nsid

Namespace ID

sel

Select which type of attribute to return, see enum nvme_get_features_sel

lrt

Buffer to receive LBA Range Type data structure

DESCRIPTION

Initializes the passthru command buffer for the Get Features command with FID value NVME_FEAT_FID_LBA_RANGE