---
name: "nvme_init_get_log_ana-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_get_log_ana-libnvme3"
---

# nvme\_init\_get\_log\_ana-libnvme3(2)

Initialize passthru command for Asymmetric Namespace Access

## NAME

nvme\_init\_get\_log\_ana - Initialize passthru command for Asymmetric Namespace Access

## SYNOPSIS

**void nvme\_init\_get\_log\_ana** **(struct libnvme\_passthru\_cmd \*cmd** *,* **enum nvme\_log\_ana\_lsp lsp** *,* **\_\_u64 lpo** *,* **void \*log** *,* **\_\_u32 len** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- lsp

  Log specific, see *enum nvme\_get\_log\_ana\_lsp*

- lpo

  Offset to the start of the log page

- log

  User address to store the ana log

- len

  The allocated length of the log page

## DESCRIPTION

Initializes the passthru command buffer for the Get Log command with LID value NVME\_LOG\_LID\_ANA.
