---
name: "nvme_init_directive_recv_stream_allocate-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_directive_recv_stream_allocate-libnvme3"
---

# nvme\_init\_directive\_recv\_stream\_allocate-libnvme3(2)

Initialize passthru command for Directive Receive Stream Allocate

## NAME

nvme\_init\_directive\_recv\_stream\_allocate - Initialize passthru command for Directive Receive Stream Allocate

## SYNOPSIS

**void nvme\_init\_directive\_recv\_stream\_allocate** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u32 nsid** *,* **\_\_u16 nsr** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- nsid

  Namespace ID

- nsr

  Namespace Streams Requested

## DESCRIPTION

Initializes the passthru command buffer for the Directive Receive - Stream Allocate command.
