Lines Matching refs:num_matches
99 u_int32_t num_matches; /* number of matches returned */ member
154 pci_conf_match_native(struct pci_match_conf *matches, int num_matches, in pci_conf_match_native() argument
159 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_native()
162 for (i = 0; i < num_matches; i++) { in pci_conf_match_native()
220 pci_conf_match32(struct pci_match_conf32 *matches, int num_matches, in pci_conf_match32() argument
225 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match32()
228 for (i = 0; i < num_matches; i++) { in pci_conf_match32()
377 pci_conf_match_freebsd6(struct pci_match_conf_freebsd6 *matches, int num_matches, in pci_conf_match_freebsd6() argument
382 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_freebsd6()
385 for (i = 0; i < num_matches; i++) { in pci_conf_match_freebsd6()
441 pci_conf_match_freebsd6_32(struct pci_match_conf_freebsd6_32 *matches, int num_matches, in pci_conf_match_freebsd6_32() argument
446 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_freebsd6_32()
449 for (i = 0; i < num_matches; i++) { in pci_conf_match_freebsd6_32()
519 pci_conf_match(u_long cmd, struct pci_match_conf *matches, int num_matches, in pci_conf_match() argument
526 (struct pci_match_conf *)matches, num_matches, match_buf)); in pci_conf_match()
530 num_matches, match_buf)); in pci_conf_match()
535 (struct pci_match_conf_freebsd6 *)matches, num_matches, in pci_conf_match()
540 (struct pci_match_conf_freebsd6_32 *)matches, num_matches, in pci_conf_match()
717 cio->num_matches = cio32->num_matches; in pci_conf_io_init()
749 d_cio->num_matches = cio->num_matches; in pci_conf_io_update_data()
762 cio32->num_matches = cio->num_matches; in pci_conf_io_update_data()
1085 cio->num_matches = 0; in pci_ioctl()
1182 for (cio->num_matches = 0, i = 0, in pci_ioctl()
1215 if (cio->num_matches >= ionum) { in pci_ioctl()
1223 confsz * cio->num_matches, confsz); in pci_ioctl()
1226 cio->num_matches++; in pci_ioctl()