Lines Matching refs:label
94 getvol(char *device, char *label, int options, char *prompt) in getvol() argument
96 return (_getvol(device, label, options, prompt, NULL)); in getvol()
100 _getvol(char *device, char *label, int options, char *prompt, char *norewind) in _getvol() argument
122 if (label) { in _getvol()
123 (void) strncpy(origfsname, label, LABELSIZ); in _getvol()
128 if (pt = strchr(label, ',')) { in _getvol()
138 n = insert(device, label, options, prompt); in _getvol()
160 if (label) { in _getvol()
165 if (ckilabel(label, override)) { in _getvol()
179 ckilabel(char *label, int flag) in ckilabel() argument
187 (void) strncpy(fsname, label, LABELSIZ); in ckilabel()
192 if (pt = strchr(label, ',')) { in ckilabel()
232 (void) sprintf(label, "%s,%s", pfsname, pvolname); in ckilabel()
242 wilabel(char *label) in wilabel() argument
249 if (!label || !strlen(origfsname)) { in wilabel()
255 if (!label || !strlen(origvolname)) { in wilabel()
275 if (label) in wilabel()
277 (void) sprintf(label, "%s,%s", fsname, volname); in wilabel()
287 insert(char *device, char *label, int options, char *prompt) in insert() argument
334 if (label && (options & DM_ELABEL)) { in insert()
339 voltxt, label); in insert()
341 if (label && !(options & DM_ELABEL)) { in insert()
348 "\\n\\t%s\\n", label); in insert()
426 (void) wilabel(label); in insert()