---
name: "nvme_init_manage_export_nvms_send_change_access_mode-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_manage_export_nvms_send_change_access_mode-libnvme3"
---

# nvme\_init\_manage\_export\_nvms\_send\_change\_access\_mode-libnvme3(2)

Initialize passthru command for Manage Exported NVM Subsystem Send - Change Access Mode (message-based transports only)

## NAME

nvme\_init\_manage\_export\_nvms\_send\_change\_access\_mode - Initialize passthru command for Manage Exported NVM Subsystem Send - Change Access Mode (message-based transports only)

## SYNOPSIS

**void nvme\_init\_manage\_export\_nvms\_send\_change\_access\_mode** **(struct libnvme\_passthru\_cmd \*cmd** *,* **bool ra** *,* **bool esubidv** *,* **\_\_u16 esubid** *,* **struct nvme\_exported\_nvm\_subsys\_nqn\_data \*data** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- ra

  Restricted Access (RA): if set, the Exported NVM Subsystem is configured to restrict access to Host NQNs in its Allowed Host List; if clear, unrestricted access is allowed

- esubidv

  Exported NVM Subsystem Identifier Valid (ESUBIDV): if set, *esubid* identifies the target Exported NVM Subsystem; otherwise the target is identified by the SUBNQN in *data*

- esubid

  Exported NVM Subsystem Identifier (ESUBID), used if *esubidv* is set

- data

  Exported NVM Subsystem NQN data buffer, see *struct* *nvme\_exported\_nvm\_subsys\_nqn\_data*. Ignored if *esubidv* is set.

## DESCRIPTION

Initializes the passthru command buffer for the Manage Exported NVM Subsystem Send command with SEL value NVME\_MANAGE\_EXPORT\_NVMS\_SEND\_SEL\_CHANGE\_ACCESS\_MODE.
