nvme\_init\_lockdown(9) libnvme API manual nvme\_init\_lockdown(9)

# [NAME](#NAME)

nvme\_init\_lockdown - Initialize passthru command for Lockdown

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_lockdown** **(struct libnvme\_passthru\_cmd \*cmd ,** **\_\_u8 scp ,** **\_\_u8 prhbt ,** **\_\_u8 ifc ,** **\_\_u8 ofi ,** **\_\_u8 uidx ,** **\_\_u8 csel ,** **\_\_u16 css );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[scp](#scp)

Scope of the command

[prhbt](#prhbt)

Prohibit or allow the command opcode or Set Features command

[ifc](#ifc)

Affected interface

[ofi](#ofi)

Opcode or Feature Identifier

[uidx](#uidx)

UUID Index if controller supports this id selection method

[csel](#csel)

Controller Select (CSEL): specifies the controller(s) affected by this command, see *enum nvme\_lockdown\_csel*

[css](#css)

Controller Select Specific (CSS): meaning is specific to *csel* (a Controller Identifier, a Primary Controller Identifier, or vendor specific). Ignored if *csel* is NVME\_LOCKDOWN\_CSEL\_NVM\_SUBSYSTEM.

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Lockdown command.

nvme\_init\_lockdown October 2026

---

Document: nvme_init_lockdown-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
