Lines Matching defs:mtype
137 char *mtype = NULL; /* media type */
176 media_info_gotten = get_media_info(bn, &mtype, &mnum, &spcl);
178 ret_val = call_unmount_prog(media_info_gotten, use_rmm, mtype,
185 if (get_media_info(bn, &mtype, &mnum, &spcl)) {
211 mtype, mnum, spcl, bn);
226 } while (get_media_info(bn, &mtype, &mnum, &spcl));
237 if (mtype != NULL) {
238 free(mtype);
447 char *mtype;
475 mtype = cp;
476 if ((cp = strchr(mtype, '/')) == NULL) {
489 mtype_len = strlen(mtype);
497 if (strncmp(dp->d_name, mtype, mtype_len) != 0) {
522 *mtypep = strdup(mtype);
543 dexit("get_media_info: returning mtype=%s, mnum=%d, spcl=%s\n",
560 call_unmount_prog(int mi_gotten, int use_rmm, char *mtype, int mnum,
574 mtype ? mtype : "<null ptr>", mnum, spcl ? spcl : "<null ptr>",
604 "VOLUME_MEDIATYPE=%s", mtype);
607 mtype, mnum);