DOKK / manpages / debian 12 / libnvme-dev / nvme_scan_topology.2.en
nvme_scan_topology(2) libnvme API manual nvme_scan_topology(2)

nvme_scan_topology - Scan NVMe topology and apply filter

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

nvme_root_t object
filter to apply
user-specified argument to f

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

Number of elements scanned

nvme_scan_topology January 2023