NVME_INIT_GET_FEATURES_VOLTAGE_MEASUREMENT-LIBNVME3(2)
π nvme_init_get_features_voltage_measurement β like, the libnvme API manual but make it make sense β¨
okay bestie, so this one lives in the libnvme API manual and it's genuinely such a vibe once you get it. it's section 9, it's a function, and it's about getting a passthru command ready for Get Features β Voltage Measurement. yes, voltage. we're measuring it. slay. π₯
πΈ NAME πΈ
nvme_init_get_features_voltage_measurement β initializes the passthru command for Get Features β Voltage Measurement. that's literally the whole job, and she does it well π«Ά
π¦ SYNOPSIS π¦
void nvme_init_get_features_voltage_measurement (struct
libnvme_passthru_cmd *cmd , enum nvme_get_features_sel sel , void *data
, __u32 len );
it's void, so she's not giving you anything back β she's setting things up for you. very generous of her honestly π
π ARGUMENTS π
cmdβ the passthru command you're gonna use. this is the main character, the thing getting initialized πselβ selects which type of attribute to return. it's anenum nvme_get_features_sel, so go look at that enum if you need the deets, iykyk β¨dataβ the Start Voltage Measurements data buffer. this is where the good stuff goes. it's astruct nvme_voltage_measurement_start_data, so check that struct out too π§lenβ length ofdata. a__u32. don't forget her, she matters π
π DESCRIPTION π
so what does she actually do? she initializes the passthru command buffer for the Get Features command, with the FID value set to NVME_FEAT_FID_VOLTAGE_MEASUREMENT. that's it. that's the whole thing. no cap.
like it's giving "setup era" β she's not running the command for you, she's just making sure the buffer is cute and ready so the command knows exactly what it's about. πΈ
heads up bestie: if you're confused aboutsel,data, orlen, the answers are inenum nvme_get_features_selandstruct nvme_voltage_measurement_start_data. she's not gatekeeping, the types are right there π
and that's the whole page, bestie!! π¦ this was the libnvme API manual, section 9, dated October 2026 β so like, go init some passthru commands and measure some voltage, periodt πβ¨
π¦ 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