carta
libnvmf_exclusion_match-libnvme3(2)

libnvmf_exclusion_match-libnvme32

Check whether a controller matches any exclusion entry.

Usage

bool libnvmf_exclusion_match (struct libnvme_global_ctx *ctx , const struct libnvmf_tid *tid );

Arguments

ctx

libnvme global context; must not be NULL

tid

Transport ID identifying the controller. All fields are optional; NULL means "this connection has no value for this field".

Overview

Re-reads the exclusion directory on every call (no caching). Entries with unknown keys never match (fail-safe).

Return

true if any exclusion entry matches, false otherwise. Returns false (not excluded / fail-open) if the directory cannot be read.

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