libnvme_refresh_topology(9) libnvme API manual libnvme_refresh_topology(9)

libnvme_refresh_topology - Refresh libnvme_root_t object contents

int libnvme_refresh_topology (struct libnvme_global_ctx *ctx );

struct libnvme_global_ctx object

Removes all elements in r and rescans the existing topology.

0 on success, negative error code otherwise.

libnvme_refresh_topology September 2026