NVME_INIT_GET_LOG_CROSS_CTRL_RESET-LIBNVME3(2)
β¨ 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-uprmcβ Remove Completed (RMC), seeenum nvme_cross_ctrl_reset_lspπ yes literally go look at that enum, that's where the actual meaning lives, iykyklogβ the user address where the log page gets stored π think of it as the address of the little home your log page moves intolenβ 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
- 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