Lines Matching refs:controllers
137 * disks, controllers and paths on the system. This model is returned in the
217 (void ***)&bp->controllers) != 0) {
281 bp->controllers = (controller_t **)calloc(1, sizeof (controller_t *));
282 if (bp->controllers == NULL) {
287 bp->controllers[0] = NULL;
290 if (add_ptr2array(cp, (void ***)&bp->controllers) != 0) {
480 * Add other controllers for multipath disks.
683 for (i = 0; diskp->controllers[i]; i++) {
684 if (cp == diskp->controllers[i]) {
697 if (add_ptr2array(cp, (void ***)&diskp->controllers) != 0) {
892 for (j = 0; dp->controllers[j]; j++) {
895 if (libdiskmgt_str_eq(dp->controllers[j]->name,
904 for (k = j; dp->controllers[k]; k++) {
905 dp->controllers[k] =
906 dp->controllers[k + 1];
930 * considered to be controllers.
971 diskp->controllers = (controller_t **)
973 if (diskp->controllers == NULL) {
977 diskp->controllers[0] = NULL;
1891 for (i = 0; bp->controllers[i]; i++) {
1892 if (libdiskmgt_str_eq(bp->controllers[i]->name, name)) {
1898 for (j = i; bp->controllers[j]; j++) {
1899 bp->controllers[j] =
1900 bp->controllers[j + 1];