nvme_init_cross_ctrl_reset(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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 a struct 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