NVME_INIT_GET_LOG_CROSS_CTRL_RESET-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

✨ nvme_init_get_log_cross_ctrl_reset(9) ✨

okay so bestie, welcome to the libnvme API manual πŸ’– this one's a little function from the libnvme API manual pages, and honestly? she's a whole vibe. Pull up a chair, grab a boba, let's go πŸ§‹βœ¨


🌸 NAME 🌸

nvme_init_get_log_cross_ctrl_reset β€” the girl who initializes the passthru command for Cross-Controller Reset πŸ’… like that's literally her entire job and she does it flawlessly, no cap


πŸ¦‹ SYNOPSIS πŸ¦‹

void nvme_init_get_log_cross_ctrl_reset (struct libnvme_passthru_cmd *cmd , bool rmc , struct nvme_cross_ctrl_reset_log *log , __u32 len );

that's the whole signature, she's void, she returns nothing, she just does the thing and dips 🫢


πŸŽ€ ARGUMENTS πŸŽ€

four args, four little besties, let's meet them:

  • cmd β€” the passthru command you're gonna use ✨ this is the one that gets initialized, so like… hand her over, she's getting a glow-up
  • rmc β€” Remove Completed (RMC), see enum nvme_cross_ctrl_reset_lsp πŸ‘€ yes literally go look at that enum, that's where the actual meaning lives, iykyk
  • log β€” the user address where the log page gets stored 🏠 think of it as the address of the little home your log page moves into
  • len β€” the allocated length of the log page πŸ“ so like, how much room you're giving her. be generous

πŸ’œ DESCRIPTION πŸ’œ

so what does she actually do?

she initializes the passthru command buffer for the Get Log command, with LID value NVME_LOG_LID_CROSS_CTRL_RESET ⭐ that's it. that's the whole flex. she sets it up so the command knows exactly which log page it's asking for, and then she steps back and lets the passthru do its thing 😌

no extra steps, no surprises, no secret side quests β€” just a clean setup with that specific LID value πŸ’…

fr fr though β€” the LID is NVME_LOG_LID_CROSS_CTRL_RESET, not some other LID. don't come for her with a different log ID and expect her to be cool about it πŸ™ˆ

🌈 and that's the tea 🌈

okay that's genuinely the entire page, she's short and sweet and iconic for it πŸ‘‘

anyway mwah, this has been the libnvme API manual πŸ’– dropping October 2026 energy, courtesy of nvme_init_get_log_cross_ctrl_reset(9) β€” go initialize something gorgeous, bestie πŸŽ€πŸŒΈπŸ¦‹ ✨

πŸ“¦ where this page comes from