Lines Matching refs:label
95 getvol(char *device, char *label, int options, char *prompt) in getvol() argument
97 return (_getvol(device, label, options, prompt, NULL)); in getvol()
101 _getvol(char *device, char *label, int options, char *prompt, char *norewind) in _getvol() argument
123 if (label) { in _getvol()
124 (void) strncpy(origfsname, label, LABELSIZ); in _getvol()
129 if (pt = strchr(label, ',')) { in _getvol()
139 n = insert(device, label, options, prompt); in _getvol()
161 if (label) { in _getvol()
166 if (ckilabel(label, override)) { in _getvol()
180 ckilabel(char *label, int flag) in ckilabel() argument
188 (void) strncpy(fsname, label, LABELSIZ); in ckilabel()
193 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()
273 if (label) in wilabel()
274 (void) sprintf(label, "%s,%s", fsname, volname); in wilabel()
284 insert(char *device, char *label, int options, char *prompt) in insert() argument
330 if (label && (options & DM_ELABEL)) { in insert()
334 voltxt, label); in insert()
336 if (label && !(options & DM_ELABEL)) { in insert()
341 "\\n\\t%s\\n", label); in insert()
412 (void) wilabel(label); in insert()