'\" t .\" Title: dmi_check_system .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Firmware Interfaces .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DMI_CHECK_SYSTEM" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Firmware Interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" dmi_check_system \- check system DMI data .SH "SYNOPSIS" .HP \w'int\ dmi_check_system('u .BI "int dmi_check_system(const\ struct\ dmi_system_id\ *\ " "list" ");" .SH "ARGUMENTS" .PP \fIlist\fR .RS 4 array of dmi_system_id structures to match against All non\-null elements of the list must match their slot\*(Aqs (field index\*(Aqs) data (i\&.e\&., each list string must be a substring of the specified DMI slot\*(Aqs string data) to be considered a successful match\&. .RE .SH "DESCRIPTION" .PP Walk the blacklist table running matching functions until someone returns non zero or we hit the end\&. Callback function is called for each successful match\&. Returns the number of matches\&. .SH "COPYRIGHT" .br