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