Lines Matching full:matches
74 /* Match a system against the struct, all matches must be ok */
81 for (i = 0; i < nitems(dsi->matches); i++) { in linux_dmi_matches()
82 slot = dsi->matches[i].slot; in linux_dmi_matches()
88 if (dsi->matches[i].exact_match) { in linux_dmi_matches()
89 if (dmi_match(slot, dsi->matches[i].substr)) in linux_dmi_matches()
92 dsi->matches[i].substr) != NULL) { in linux_dmi_matches()
119 for (dsi = list; dsi->matches[0].slot != 0; dsi++) { in linux_dmi_first_match()
130 * Return the number of matches.
136 int matches = 0; in linux_dmi_check_system() local
138 for (dsi = sysid; dsi->matches[0].slot != 0; dsi++) { in linux_dmi_check_system()
140 matches++; in linux_dmi_check_system()
146 return (matches); in linux_dmi_check_system()