---
name: "nvme_init_get_log_fdp_events-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_fdp_events-libnvme3"
---

# nvme\_init\_get\_log\_fdp\_events-libnvme3(2)

Initialize passthru command for Flexible Data Placement Events

## NAME

nvme\_init\_get\_log\_fdp\_events - Initialize passthru command for Flexible Data Placement Events

## SYNOPSIS

**void nvme\_init\_get\_log\_fdp\_events** **(struct libnvme\_passthru\_cmd \*cmd** *,* **bool host\_events** *,* **\_\_u16 egid** *,* **\_\_u64 lpo** *,* **void \*log** *,* **\_\_u32 len** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- host\_events

  Whether to report host or controller events

- egid

  Endurance group identifier

- lpo

  Offset into log page

- log

  Log page data buffer

- len

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

## DESCRIPTION

Initializes the passthru command buffer for the Get Log command with LID value NVME\_LOG\_LID\_FDP\_EVENTS
