nvme_init_g...rted_effects(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… nvme_init_get_log_fid_supported_effects β€” the libnvme API manual, bestie edition πŸŽ€

okay so real talk, this one lives in the libnvme API manual, and the page header is out here looking like nvme_init_g...rted_effects(9) because apparently even man pages get the ellipsis treatment when the name is A LOT. Anyway. Sit down, hydrate, let's go. ✨


✨ NAME ✨

nvme_init_get_log_fid_supported_effects β€” this is the girl that initializes the passthru command for Feature Identifiers Supported and Effects. She's a setup function. She does not run the command, she just gets the buffer cute and ready. πŸ’…


🌸 SYNOPSIS 🌸

void nvme_init_get_log_fid_supported_effects (struct libnvme_passthru_cmd *cmd ,
                                             enum nvme_csi csi ,
                                             struct nvme_fid_supported_effects_log *log );

she returns void, so like... no return value to obsess over. No cap. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” the passthru command you're gonna use. hand her over and she'll fill her in πŸ’–
  • csi β€” the Command Set Identifier. not sure which one? check enum nvme_csi for the known values, iykyk 🧚
  • log β€” the FID Supported and Effects data structure. this is where the good stuff lands πŸ“

🌈 DESCRIPTION 🌈

So what she actually does: she initializes the passthru command buffer for the Get Log command, with the LID value set to NVME_LOG_LID_FID_SUPPORTED_EFFECTS. That's it. That's the whole vibe. She sets up the buffer, she sets the LID, she's done, she's iconic, periodt. πŸ‘‘

basically she's the pregame, not the party β€” you still gotta actually send the command yourself. πŸ’€


ngl this is the entire function. three arguments, one buffer, one LID constant. lowkey elegant. highkey slay. 🌟

okay that's the whole page bestie, hope it ate πŸ™ˆ and for the credits: this was the libnvme API manual, dated October 2026, and the footer out here was also doing the nvme_init_g...rted_effects(9) thing again because the name is literally too long for the line 😭 stay hydrated, go initialize some buffers, mwah πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from