Scroll to navigation

libnvme_get_subsystem(9) libnvme API manual libnvme_get_subsystem(9)

NAME

libnvme_get_subsystem - Returns libnvme_subsystem_t object

SYNOPSIS

int libnvme_get_subsystem (struct libnvme_global_ctx *ctx , struct libnvme_host *h , const char *name , const char *subsysnqn , struct libnvme_subsystem **s );

ARGUMENTS

struct libnvme_global_ctx object
libnvme_host_t object
Name of the subsystem (may be NULL)
Subsystem NQN
libnvme_subsystem_t object

DESCRIPTION

Returns an libnvme_subsystem_t object in h base on name (if present) and subsysnqn or create one if not found.

libnvme_get_subsystem July 2026