Lines Matching refs:class

77 	"class",
232 static cfga_err_t list_common(list_stat_t *lstatp, const char *class);
238 const char *class, list_stat_t *lstatp);
638 * V1 interfaces don't support prefiltering, no class
673 char *class;
688 class = NULL;
689 if ((rc = parse_listopt((char *)listopts, &class, errstring))
694 prefilter = (class == NULL) ? 0 : 1;
715 rc = list_common(&lstat, class);
721 rc = stat_common(num_ap_ids, ap_ids, class, &lstat);
726 S_FREE(class);
750 * Prefiltering: requested class is absent
1628 char *class = NULL, *drv = NULL;
1632 /* Make sure pathname and class is null if we fail */
1640 class = get_class(minor);
1642 if (drv == NULL || class == NULL) {
1648 (void) snprintf(&name[i++][0], sizeof (name[0]), "%s", class);
1655 /* Attachment points may not have a class (i.e. are generic) */
1668 /* Record class name (if any) */
1670 class);
1686 char *class = NULL;
1689 /* Make sure pathname and class is null if we fail */
1695 * Only support PCI class for now, this will need to be
1698 class = "pci";
1701 * No type check for now as PCI is the only class SHP plugin
1703 * and set class accordingly, when non PCI plugins are migrated
1712 class = di_hp_type(hp);
1713 if ((strcmp(class, PCIE_NATIVE_HP_TYPE) == 0) ||
1714 (strcmp(class, PCIE_ACPI_HP_TYPE) == 0) ||
1715 (strcmp(class, PCIE_PCI_HP_TYPE) == 0)) {
1716 class = "pci";
1730 /* Record class name (if any) */
1732 class);
2466 list_common(list_stat_t *lstatp, const char *class)
2474 * a class is specified
2476 if (class != NULL) {
2478 l_class = class;
2493 /* No need to filter on class for now */
2718 const char *class,
2742 if (class != NULL && strcmp(libloc.ap_class, class)) {
2837 char *class;
2889 class = CFGA_NO_CLASS;
2891 class = libloc_p->ap_class;
2894 /* Fill in the class information for all list elements */
2897 sizeof ((alp->array[i]).ap_class), "%s", class);
3112 * Returns the class or the empty string if attacment point has
3113 * no class.