---
name: "nvme_init_lm_migration_recv-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_lm_migration_recv-libnvme3"
---

# nvme\_init\_lm\_migration\_recv-libnvme3(2)

Initialize passthru command for Migration Receive command

## NAME

nvme\_init\_lm\_migration\_recv - Initialize passthru command for Migration Receive command

## SYNOPSIS

**void nvme\_init\_lm\_migration\_recv** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u64 offset** *,* **\_\_u16 mos** *,* **\_\_u16 cntlid** *,* **\_\_u16 csuuidi** *,* **\_\_u8 sel** *,* **\_\_u8 uidx** *,* **\_\_u8 csuidxp** *,* **void \*data** *,* **\_\_u32 len** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- offset

  Offset: This field specifies the offset, in bytes, within the data available to be returned and specifies the starting point for that data for what is actually returned to the host.

- mos

  Management Operation Specific (MOS): This field is specific to the SEL type

- cntlid

  Controller ID: This field specifies the identifier of the controller to which the operation is performed.

- csuuidi

  Controller State UUID Index (CSUUIDI)

- sel

  Select (SEL): This field specifies the type of management operation to perform

- uidx

  UUID Index (UIDX)

- csuidxp

  Controller State UUID Index Parameter (CSUIDXP)

- data

  Pointer to data buffer

- len

  Length of *data*

## DESCRIPTION

Initializes the passthru command buffer for the Migration Receive command.
