libnvme_get_subsystem-libnvme3(2)

libnvme_get_subsystem-libnvme32

Returns struct libnvme_subsystem object

Usage

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

Arguments

ctx

struct libnvme_global_ctx object

h

struct libnvme_host object

name

Name of the subsystem (may be NULL)

subsysnqn

Subsystem NQN

s

struct libnvme_subsystem object

Overview

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

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.