nvme_init_g...sts_interval(9)
π nvme_init_get_features_lba_sts_interval
okay so this one is from the libnvme API manual, bestie β it's a little C function with a very long name and honestly the name is doing the most, but she's actually super simple. Let me put you on π«Ά
β¨ NAME β¨
nvme_init_get_features_lba_sts_interval β literally just sets up your passthru command for Get Features - LBA Status Information Interval. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
void nvme_init_get_features_lba_sts_interval (struct libnvme_passthru_cmd *cmd , enum nvme_get_features_sel sel );
she takes two things and returns void β so like, no return value to obsess over, she just does her little setup and dips π
π ARGUMENTS π
cmdβ the passthru command you're gonna use. hand her over, she fills it in, that's the whole relationship β¨selβ this one picks which type of attribute you want back. it's anenum nvme_get_features_sel, so go look at that enum if you wanna know your options, iykyk π
π¦ DESCRIPTION π¦
so what she actually does: she initializes the passthru command buffer for the Get Features command, and she sets the FID value to NVME_FEAT_FID_LBA_STS_INTERVAL. that's it. that's the function. iconic behaviour honestly π₯
like β you buffer up the command, she stamps it with the right FID, and you're ready to roll. main character energy from a function that's four underscores deep in her own name π
heads up bestie: it'svoid, so don't go assigning it to anything, she gives you nothing back except a nicely preppedcmdπ
β and that's the page! brought to you by the libnvme API manual, October 2026 edition β go forth and init your passthru commands, you're gonna slay πππ¦
π¦ 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