libnvme(9)
π NAME π
okay so bestie, this is the libnvme(9) page from the API Manual, and the main character is enum nvme_id_ctrl_vwci β it's giving "This field indicates information about remaining number of times that VPD contents are able to be updated using the VPD Write command", and yes, it says see &struct nvme_id_ctrl.vwci π«Άβ¨
π¦ SYNOPSIS π¦
here's the whole shape of it, no cap:
enum nvme_id_ctrl_vwci {
NVME_CTRL_VWCI_VWCR_SHIFT ,
NVME_CTRL_VWCI_VWCRV_SHIFT ,
NVME_CTRL_VWCI_VWCR_MASK ,
NVME_CTRL_VWCI_VWCRV_MASK ,
NVME_CTRL_VWCI_VWCR ,
NVME_CTRL_VWCI_VWCRV
};
π Constants π
NVME_CTRL_VWCI_VWCR_SHIFTβVWCR shiftβ¨NVME_CTRL_VWCI_VWCRV_SHIFTβVWCRV shiftπNVME_CTRL_VWCI_VWCR_MASKβVWCR maskπNVME_CTRL_VWCI_VWCRV_MASKβVWCRV maskπΈNVME_CTRL_VWCI_VWCRβ 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 to7Fh, then the remaining number of times that VPD contents are able to be updated using the VPD Write command is greater than or equal to7Fh. π₯NVME_CTRL_VWCI_VWCRVβ 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 to0h. π
cute little sign-off bestie: this iconic page is from October 2026, it's the enum nvme_id_ctrl_vwci page, and the manual name is libnvme(9) β mwah, slay, bye πππ¦
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms