Lines Matching refs:listp
76 static int match_alias(alias_t *ap, alias_t *listp);
544 disk_t *listp; in del_drive() local
564 for (listp = disk_listp; listp != NULL; listp = listp->next) { in del_drive()
565 if (dp == listp) { in del_drive()
591 disk_t *listp; in del_drive_by_name() local
593 for (listp = disk_listp; listp != NULL; listp = listp->next) { in del_drive_by_name()
596 for (ap = listp->aliases; ap; ap = ap->next) { in del_drive_by_name()
598 del_drive(listp); in del_drive_by_name()
718 match_alias(alias_t *ap, alias_t *listp) in match_alias() argument
724 while (listp != NULL) { in match_alias()
725 if (libdiskmgt_str_eq(ap->alias, listp->alias)) { in match_alias()
728 listp = listp->next; in match_alias()