Lines Matching defs:dl
347 g_offline_drive(struct dlist *dl, int force_flag)
353 for (; dl != NULL; dl = dl->next) {
356 if ((devhdl = devctl_device_acquire(dl->dev_path,
361 strerror(errno), dl->dev_path);
390 g_online_drive(struct dlist *dl, int force_flag)
395 while (dl != NULL) {
396 if ((devhdl = devctl_device_acquire(dl->dev_path,
401 dl = dl->next;
444 struct dlist *dl;
455 dl = disk_list->seslist;
457 dl = disk_list->dlhead;
459 while (dl != NULL) {
460 if (strstr(dl->dev_path, SCSI_VHCI) == NULL) {
463 p = strstr(dl->dev_path, SLASH_SES);
465 p = strstr(dl->dev_path, SLSH_DRV_NAME_SSD);
467 p = strstr(dl->dev_path,
475 "invalid.\n Path: %s\n", dl->dev_path);
476 dl = dl->next;
479 len = strlen(dl->dev_path) - strlen(p);
482 len = strlen(dl->dev_path);
493 dl->dev_path, len) == 0) {
498 dl = dl->next;
505 (void) strncpy(llist->adp_name, dl->dev_path, len);
515 dl = dl->next;