Lines Matching refs:drive
135 gctl_error(req, "drive '%s' is open", d->name);
139 /* A drive with subdisks needs a recursive removal. */
142 gctl_error(req, "drive '%s' still has subdisks"
170 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) {
185 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2)
299 /* Remove a drive. */
360 LIST_REMOVE(d, drive);
377 LIST_REMOVE(d, drive);
380 LIST_INSERT_HEAD(&sc->drives, d, drive);
382 LIST_INSERT_AFTER(d2, d, drive);