Lines Matching defs:dl
706 struct dlist *dl, *dl1;
708 for (dl = dl_head; dl != NULL; ) {
709 (void) g_online_drive(dl->multipath, force_flag);
710 (void) g_free_multipath(dl->multipath);
711 dl1 = dl;
712 dl = dl->next;
733 struct dlist *dl_head, *dl_tail, *dl, *dl_ses;
769 if ((dl = g_zalloc(sizeof (struct dlist))) == NULL) {
775 dl->dev_path = dev_path;
777 &(dl->multipath), wwn_list, 0)) != 0) {
779 if (dl->multipath != NULL) {
780 (void) g_free_multipath(dl->multipath);
782 (void) g_destroy_data(dl);
787 if ((err = g_offline_drive(dl->multipath,
790 (void) g_free_multipath(dl->multipath);
791 (void) g_destroy_data(dl);
797 dl_head = dl_tail = dl;
799 dl_tail->next = dl;
800 dl->prev = dl_tail;
801 dl_tail = dl;
813 if ((dl = g_zalloc(sizeof (struct dlist))) == NULL) {
819 dl->dev_path = dev_path;
821 &(dl->multipath), wwn_list, 0)) != 0) {
823 if (dl->multipath != NULL) {
824 (void) g_free_multipath(dl->multipath);
826 (void) g_destroy_data(dl);
831 if ((err = g_offline_drive(dl->multipath,
834 (void) g_free_multipath(dl->multipath);
835 (void) g_destroy_data(dl);
841 dl_head = dl_tail = dl;
843 dl_tail->next = dl;
844 dl->prev = dl_tail;
845 dl_tail = dl;