Lines Matching defs:class

78 	"class",
233 static cfga_err_t list_common(list_stat_t *lstatp, const char *class);
239 const char *class, list_stat_t *lstatp);
639 * V1 interfaces don't support prefiltering, no class
674 char *class;
689 class = NULL;
690 if ((rc = parse_listopt((char *)listopts, &class, errstring))
695 prefilter = (class == NULL) ? 0 : 1;
716 rc = list_common(&lstat, class);
722 rc = stat_common(num_ap_ids, ap_ids, class, &lstat);
727 S_FREE(class);
751 * Prefiltering: requested class is absent
1629 char *class = NULL, *drv = NULL;
1633 /* Make sure pathname and class is null if we fail */
1641 class = get_class(minor);
1643 if (drv == NULL || class == NULL) {
1649 (void) snprintf(&name[i++][0], sizeof (name[0]), "%s", class);
1656 /* Attachment points may not have a class (i.e. are generic) */
1669 /* Record class name (if any) */
1671 class);
1687 char *class = NULL;
1690 /* Make sure pathname and class is null if we fail */
1696 * Only support PCI class for now, this will need to be
1699 class = "pci";
1702 * No type check for now as PCI is the only class SHP plugin
1704 * and set class accordingly, when non PCI plugins are migrated
1713 class = di_hp_type(hp);
1714 if ((strcmp(class, PCIE_NATIVE_HP_TYPE) == 0) ||
1715 (strcmp(class, PCIE_ACPI_HP_TYPE) == 0) ||
1716 (strcmp(class, PCIE_PCI_HP_TYPE) == 0)) {
1717 class = "pci";
1731 /* Record class name (if any) */
1733 class);
2467 list_common(list_stat_t *lstatp, const char *class)
2475 * a class is specified
2477 if (class != NULL) {
2479 l_class = class;
2494 /* No need to filter on class for now */
2719 const char *class,
2743 if (class != NULL && strcmp(libloc.ap_class, class)) {
2838 char *class;
2890 class = CFGA_NO_CLASS;
2892 class = libloc_p->ap_class;
2895 /* Fill in the class information for all list elements */
2898 sizeof ((alp->array[i]).ap_class), "%s", class);
3113 * Returns the class or the empty string if attacment point has
3114 * no class.