nvme_scan_topology(2)

Scan NVMe topology and apply filter

Section 2 libnvme-dev bookworm source

Description

nvme_scan_topology

NAME

nvme_scan_topology - Scan NVMe topology and apply filter

SYNOPSIS

int nvme_scan_topology (nvme_root_t r , nvme_scan_filter_t f , void *f_args );

ARGUMENTS

r

nvme_root_t object

f

filter to apply

f_args

user-specified argument to f

DESCRIPTION

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

RETURN

Number of elements scanned