nvme\_init\_directive\_recv(9) libnvme API manual nvme\_init\_directive\_recv(9)

# [NAME](#NAME)

nvme\_init\_directive\_recv - Initialize passthru command for Directive Receive

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_directive\_recv** **(struct libnvme\_passthru\_cmd \*cmd ,** **\_\_u32 nsid ,** **enum nvme\_directive\_receive\_doper doper ,** **enum nvme\_directive\_dtype dtype ,** **\_\_u16 dspec ,** **void \*data ,** **\_\_u32 len );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[nsid](#nsid)

Namespace ID, if applicable

[doper](#doper)

Directive receive operation, see *enum nvme\_directive\_receive\_doper*

[dtype](#dtype)

Directive type, see *enum nvme\_directive\_dtype*

[dspec](#dspec)

Directive specific field

[data](#data)

Userspace address of data payload buffer

[len](#len)

Length of data payload in bytes

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Directive Receive command.

nvme\_init\_directive\_recv October 2026

---

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