Debian Codegraph @

doc/man/nvme_scan_topology.2

raw
1 .TH "nvme_scan_topology" 9 "nvme_scan_topology" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_scan_topology \- Scan NVMe topology and apply filter
4 .SH SYNOPSIS
5 .B "int" nvme_scan_topology
6 .BI "(nvme_root_t r " ","
7 .BI "nvme_scan_filter_t f " ","
8 .BI "void *f_args " ");"
9 .SH ARGUMENTS
10 .IP "r" 12
11 nvme_root_t object
12 .IP "f" 12
13 filter to apply
14 .IP "f_args" 12
15 user-specified argument to \fIf\fP
16 .SH "DESCRIPTION"
17 Scans the NVMe topology and filters out the resulting elements
18 by applying \fIf\fP.
19 .SH "RETURN"
20 0 on success, -1 on failure with errno set.