OS Manuals

libnvmf_exclusion_match-libnvme3(2)

libnvmf_exclusion_match - check whether a controller matches any exclusion entry.

libnvmf_exclusion_match(9) libnvme API manual libnvmf_exclusion_match(9)

libnvmf_exclusion_match - check whether a controller matches any exclusion entry.

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

libnvme global context; must not be NULL
Transport ID identifying the controller. All fields are optional; NULL means "this connection has no value for this field".

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

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

libnvmf_exclusion_match October 2026

nvme-cli 3.2-r0 · os · ingested 2026-10-31