Reference

nvme_init_set_features_lba_range-libnvme3(2)

Initialize passthru command for LBA Range

NAME

nvme_init_set_features_lba_range - Initialize passthru command for LBA Range

SYNOPSIS

void nvme_init_set_features_lba_range (struct libnvme_passthru_cmd *cmd , __u32 nsid , bool sv , __u8 num , struct nvme_lba_range_type *data );

ARGUMENTS

cmd

Passthru command to use

nsid

Namespace ID

sv

Save value across power states

num

Number of ranges in data

data

User address of feature data

DESCRIPTION

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