DOKK / manpages / debian 12 / libnvme-dev / nvme_id_ctrl_vwci.2.en
libnvme(2) API Manual libnvme(2)

enum nvme_id_ctrl_vwci - This field indicates information about remaining number of times that VPD contents are able to be updated using the VPD Write command, see &struct nvme_id_ctrl.vwci.

enum nvme_id_ctrl_vwci {
NVME_CTRL_VWCI_VWCR ,
NVME_CTRL_VWCI_VWCRV

};

Mask to get value of VPD Write Cycles Remaining. If the VPD Write Cycle Remaining Valid bit is set, then this field contains a value indicating the remaining number of times that VPD contents are able to be updated using the VPD Write command. If this field is set to 7Fh, then the remaining number of times that VPD contents are able to be updated using the VPD Write command is greater than or equal to 7Fh.
VPD Write Cycle Remaining Valid. If this bit is set, then the VPD Write Cycle Remaining field is valid. If this bit is cleared, then the VPD Write Cycles Remaining field is invalid and cleared to 0h.
enum nvme_id_ctrl_vwci January 2023