---
name: "nvme_init_dsm-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_dsm-libnvme3"
---

# nvme\_init\_dsm-libnvme3(2)

Initialize passthru command for NVMe I/O Data Set Management

## NAME

nvme\_init\_dsm - Initialize passthru command for NVMe I/O Data Set Management

## SYNOPSIS

**void nvme\_init\_dsm** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u32 nsid** *,* **\_\_u16 nr** *,* **\_\_u8 idr** *,* **\_\_u8 idw** *,* **\_\_u8 ad** *,* **void \*data** *,* **\_\_u32 len** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- nsid

  Namespace identifier

- nr

  Number of block ranges in the data set management attributes

- idr

  DSM Integral Dataset for Read attribute

- idw

  DSM Integral Dataset for Write attribute

- ad

  DSM Deallocate attribute

- data

  User space destination address to transfer the data

- len

  Length of provided user buffer to hold the log data in bytes
