Lines Matching refs:controllers
779 descriptor_t **controllers;
785 for (cnt = 0; diskp->controllers[cnt]; cnt++);
788 controllers = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
789 if (controllers == NULL) {
794 for (i = 0; diskp->controllers[i]; i++) {
795 controllers[i] = cache_get_desc(DM_CONTROLLER,
796 diskp->controllers[i], NULL, NULL, errp);
798 cache_free_descriptors(controllers);
803 controllers[i] = NULL;
806 return (controllers);