libnvme_scan_topology-libnvme3(2)

libnvme_scan_topology-libnvme32

Scan nvme topology and apply filter

Usage

int libnvme_scan_topology (struct libnvme_global_ctx *ctx , libnvme_scan_filter_t f , void *f_args );

Arguments

ctx

struct libnvme_global_ctx object

f

filter to apply

f_args

user-specified argument to f

Overview

Scans the NVMe topology and filters out the resulting elements by applying f.

Return

0 on success, negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.