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.