Lines Matching defs:type
57 char *type;
65 static int add_use_record(char *devname, char *type, char *mname);
73 static int new_entry(char *sname, char *type, char *mname,
192 if (strcmp(listp->type, "mdb") == 0 ||
193 strcmp(listp->type, "hs") == 0) {
195 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->type, errp);
198 (void) snprintf(name, MAXPATHLEN, "%s:%s", listp->type,
213 add_use_record(char *devname, char *type, char *mname)
219 strcmp(svm_listp->type, type) == 0) {
239 if ((sp->type = strdup(type)) == NULL) {
506 free((void *)listp->type);
650 new_entry(char *sname, char *type, char *mname, mdsetname_t *sp)
662 mdn->drivenamep->type == MDT_ACCES ||
663 mdn->drivenamep->type == MDT_COMP ||
664 mdn->drivenamep->type == MDT_FAST_COMP)) {
666 return (add_use_record(mdn->bname, type, mname));