libnvmf_exclusion_add_ctrl(9) libnvme API manual NAME libnvmf_exclusion_add_ctrl - append an entry built from a controller. SYNOPSIS int libnvmf_exclusion_add_ctrl (struct libnvme_global_ctx *ctx , const char *name , struct libnvme_ctrl *c ); ARGUMENTS ctx libnvme global context; must not be NULL name list name c connected controller; the entry's transport, traddr, trsvcid, subsysnqn and (when set) host-iface are taken from it DESCRIPTION Builds the exclusion entry from the controller's transport parameters inside libnvme -- the caller needs no knowledge of the on-disk entry format -- then appends it via libnvmf_exclusion_add. Creates the list if it does not exist. RETURN 0 on success, -EINVAL if ctx or c is NULL or the controller lacks a transport/traddr/subsysnqn, negative errno otherwise. October 2026 libnvmf_exclusion_add_ctrl libnvmf_exclusion_add_ctrl(9)