Lines Matching refs:drive

117 			LIST_INSERT_HEAD(&sc->drives, d, drive);  in gv_create_drive()
119 LIST_INSERT_AFTER(d2, d, drive); in gv_create_drive()
127 LIST_FOREACH(d2, &sc->drives, drive) { in gv_create_drive()
173 LIST_INSERT_HEAD(&sc->drives, d, drive); in gv_create_drive()
237 d = gv_find_drive(sc, s->drive); in gv_create_sd()
248 strlcpy(d->name, s->drive, sizeof(d->name)); in gv_create_sd()
252 s->name, s->drive); in gv_create_sd()
315 char *drive, buf[30], *vol; in gv_concat() local
350 drive = gctl_get_param(req, buf, NULL); in gv_concat()
351 d = gv_find_drive(sc, drive); in gv_concat()
353 gctl_error(req, "No such drive '%s'", drive); in gv_concat()
359 strlcpy(s->drive, drive, sizeof(s->drive)); in gv_concat()
380 char *drive, buf[30], *vol; in gv_mirror() local
440 drive = gctl_get_param(req, buf, NULL); in gv_mirror()
441 d = gv_find_drive(sc, drive); in gv_mirror()
444 drive); in gv_mirror()
452 strlcpy(s->drive, drive, sizeof(s->drive)); in gv_mirror()
473 char *vol, *drive, buf[30]; in gv_raid5() local
520 drive = gctl_get_param(req, buf, NULL); in gv_raid5()
521 d = gv_find_drive(sc, drive); in gv_raid5()
523 gctl_error(req, "No such drive '%s'", drive); in gv_raid5()
529 strlcpy(s->drive, drive, sizeof(s->drive)); in gv_raid5()
550 char *drive, buf[30], *vol; in gv_stripe() local
591 drive = gctl_get_param(req, buf, NULL); in gv_stripe()
592 d = gv_find_drive(sc, drive); in gv_stripe()
594 gctl_error(req, "No such drive '%s'", drive); in gv_stripe()
600 strlcpy(s->drive, drive, sizeof(s->drive)); in gv_stripe()