Lines Matching defs:hcl
2753 struct hwc_class *hcl;
2764 hcl = kmem_zalloc(sizeof (struct hwc_class), KM_SLEEP);
2765 hcl->class_exporter = kmem_alloc(strlen(exporter) + 1, KM_SLEEP);
2766 hcl->class_name = kmem_alloc(strlen(class) + 1, KM_SLEEP);
2767 (void) strcpy(hcl->class_exporter, exporter);
2768 (void) strcpy(hcl->class_name, class);
2770 hcl->class_next = hcl_head;
2771 hcl_head = hcl;
2787 struct hwc_class *hcl;
2790 for (hcl = hcl_head; hcl != NULL; hcl = hcl->class_next) {
2791 if (strcmp(exporter, hcl->class_exporter) == 0) {
2793 buf[n] = hcl->class_name;
2805 struct hwc_class *hcl, *hcl1;
2815 hcl = hcl_head;
2816 while (hcl != NULL) {
2817 kmem_free(hcl->class_exporter,
2818 strlen(hcl->class_exporter) + 1);
2819 hcl1 = hcl;
2820 hcl = hcl->class_next;
2893 struct hwc_class *hcl;
2914 for (hcl = hcl_head; hcl != NULL; hcl = hcl->class_next) {
2915 if (strcmp(hwcp->hwc_class_name, hcl->class_name) != 0)
2917 major = ddi_name_to_major(hcl->class_exporter);