---
name: "dmi_first_match"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/dmi_first_match"
---

# dmi\_first\_match(9)

find dmi\_system\_id structure matching system DMI data

## NAME

dmi\_first\_match - find dmi\_system\_id structure matching system DMI data

## SYNOPSIS

**const struct dmi\_system\_id \* dmi\_first\_match(const struct dmi\_system\_id \*** *list***);**

## ARGUMENTS

*list*

array of dmi\_system\_id structures to match against All non-null elements of the list must match their slot's (field index's) data (i.e., each list string must be a substring of the specified DMI slot's string data) to be considered a successful match.

## DESCRIPTION

Walk the blacklist table until the first match is found. Return the pointer to the matching entry or NULL if there's no match.

## COPYRIGHT
