| libnvmf_exclusion_add_ctrl(9) | libnvme API manual | libnvmf_exclusion_add_ctrl(9) |
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
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.
| libnvmf_exclusion_add_ctrl | October 2026 |