nvme_init_cross_ctrl_reset(9)
π nvme_init_cross_ctrl_reset(9) β like, the libnvme API manual, bestie β¨
Okay so picture this: you're deep in libnvme land (the API manual, to be exact) and you need to set up a passthru command buffer for a Cross-Controller Reset. That's the whole vibe of this page. Sit down, grab a strawberry drink π, and let's get into it.
πΈ NAME πΈ
nvme_init_cross_ctrl_reset β the function that initializes a passthru command for a Cross-Controller Reset. Yes, that's literally its job, no cap.
β¨ SYNOPSIS β¨
void nvme_init_cross_ctrl_reset (struct libnvme_passthru_cmd *cmd ,
__u16 icid , __u8 ciu , __u64 cirn );
Like β she returns void, she takes four things, she's an icon, periodt. π
π ARGUMENTS π
cmdβ the passthru command you're gonna use. It's astruct libnvme_passthru_cmd *, and it's the thing getting initialized. Main character energy fr. πicidβ the Impacted Controller ID (ICID). Type:__u16. It's giving "which controller is impacted" iykyk. π¦ciuβ the Controller Instance Uniquifier (CIU) of the Impacted Controller. Type:__u8. Yes bestie, "uniquifier" is a real word here, I don't make the rules. πΈcirnβ the Controller Instance Random Number (CIRN) of the Impacted Controller. Type:__u64. Random but make it 64-bit. π²β¨
π«Ά DESCRIPTION π«Ά
So what does she actually do? She initializes the passthru command buffer for the Cross-Controller Reset command. That's it, that's the whole thing β but like, do it right, okay? Lowkey essential. π
Heads up: cmd is an out-param situation β you hand her the buffer, she sets it up for the Cross-Controller Reset. Don't skip the setup, bestie, your command literally won't be ready π
π SEE ALSO π
Nothing else listed on this page β she's a standalone queen. π
Okay that's the whole page, you ate that πβ¨ β this was nvme_init_cross_ctrl_reset(9) from the libnvme API manual, dated October 2026. Mwah, go slay your resets ππ¦π
π¦ 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