NVME_INIT_GET_FEATURES_KATO-LIBNVME3(2)
π nvme_init_get_features_kato(9) π
okay bestie, so this is a page straight out of the libnvme API manual β yes, the 9 section, kernel/API vibes only π β and it's all about getting your passthru command ready for the Keep Alive Timeout feature. literally it's giving "prep work before the actual work" energy β¨
πΈ NAME πΈ
nvme_init_get_features_kato β Initializes the passthru command for Get Features, specifically the Keep Alive Timeout one π«Ά
like, it's the setup bestie. the hype girl for the passthru command. no cap π
π¦ SYNOPSIS π¦
void nvme_init_get_features_kato (struct libnvme_passthru_cmd *cmd ,
enum nvme_get_features_sel sel );
that's the whole thing, icon, two arguments, void return so nothing comes back at you β it just does the thing and dips π
π ARGUMENTS π
cmdβ the Passthru command you're gonna use π this is the buffer getting initialized, so hand it over and let the function do its lil makeover on it.selβ Select which type of attribute to return, seeenum nvme_get_features_selπβ¨ it's literally picking which flavor of attribute you want back, so go look at that enum, iykyk.
β DESCRIPTION β
okay so here's the moment: nvme_init_get_features_kato Initializes the passthru command buffer for the Get Features command with FID value NVME_FEAT_FID_KATO π₯
that's it. that's the whole job. it sets up the passthru command buffer so it's Got Features ready with that exact FID. lowkey iconic that something so small is so important, but here we are π
ngl bestie, it doesn't fill in yourselfor you or anything extra β it just initializes the buffer for the Get Features command with FIDNVME_FEAT_FID_KATO. keep your expectations realistic and your enum values correct π
and that's the page!! short and sweet, just like this function π remember: cmd in, sel in, vibes immaculate, NVME_FEAT_FID_KATO set, periodt π
β§ο½₯οΎ: * big kisses from the libnvme API manual, October 2026 edition * :ο½₯οΎβ§ ππ§ββοΈπ«
π¦ 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