Scroll to navigation

libnvme_scan_topology(9) libnvme API manual libnvme_scan_topology(9)

NAME

libnvme_scan_topology - Scan NVMe topology and apply filter

SYNOPSIS

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

ARGUMENTS

struct libnvme_global_ctx object
filter to apply
user-specified argument to f

DESCRIPTION

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

RETURN

0 on success, negative error code otherwise.

libnvme_scan_topology July 2026