---
name: "nvme_get_ana_log_len_from_id_ctrl"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_get_ana_log_len_from_id_ctrl"
---

# nvme\_get\_ana\_log\_len\_from\_id\_ctrl(2)

Retrieve maximum possible ANA log size

## NAME

nvme\_get\_ana\_log\_len\_from\_id\_ctrl - Retrieve maximum possible ANA log size

## SYNOPSIS

**size\_t nvme\_get\_ana\_log\_len\_from\_id\_ctrl** **(const struct nvme\_id\_ctrl \*id\_ctrl** *,* **bool rgo** *);*

## ARGUMENTS

- id\_ctrl

  Controller identify data

- rgo

  If true, return maximum log page size without NSIDs

## RETURN

A byte limit on the size of the controller's ANA log page
