NVME_INIT_GET_FEATURES_KATO-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ’– 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, see enum 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 your sel for you or anything extra β€” it just initializes the buffer for the Get Features command with FID NVME_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