Lines Matching refs:mname
50 static int get_rmm_name(disk_t *dp, char *mname, int size);
86 char mname[MAXPATHLEN];
88 if (!media_read_name(dp->p.disk, mname, sizeof (mname))) {
108 media[0] = cache_get_desc(DM_MEDIA, dp->p.disk, mname, NULL, errp);
223 char mname[MAXPATHLEN];
228 if (media_read_name(dp, mname, sizeof (mname)))
229 cache_load_desc(DM_MEDIA, dp, mname, NULL, &error);
271 media_read_name(disk_t *dp, char *mname, int size)
273 mname[0] = 0;
278 (void) strlcpy(mname, dp->device_id, size);
284 return (get_rmm_name(dp, mname, size));
351 char mname[MAXPATHLEN];
353 if (!media_read_name(dp->p.disk, mname, sizeof (mname))) {
357 if (mname[0] == 0) {
360 return (libdiskmgt_str_eq(dp->name, mname));
590 get_rmm_name(disk_t *dp, char *mname, int size)
606 (void) strlcpy(mname,
610 (void) strlcpy(mname,