Lines Matching defs:entry
234 nms_t *entry;
236 entry = (nms_t *)malloc(sizeof (nms_t));
237 if (entry != (nms_t *)NULL) {
244 entry->real = (char *)malloc(len);
245 if (entry->real) {
246 (void) strcpy(entry->real, nlnm);
249 entry->dsk = (char *)malloc(len);
250 if (entry->dsk) {
251 (void) strcpy(entry->dsk, shortnm);
252 entry->dnum = -1;
253 entry->dty = (char *)NULL;
254 entry->next = (nms_t *)NULL;
255 entry->devtype = devtype;
257 entry->next = *list;
258 *list = entry;
260 *list = entry;
262 (void) free(entry->real);
263 (void) free(entry);
266 (void) free(entry);
319 nms_t *entry;
348 * Find a matching entry in the list of names from /dev/dsk.
357 if ((entry = find_str(ib, list)) == (nms_t *)NULL)
383 * device number. Point entry->dn at the
399 entry->dnum = atoi(rpt);
419 entry->dty = (char *)malloc(len);
420 if (entry->dty) {
421 (void) strcpy(entry->dty, bpt);
484 disk_list_t *entry;
487 entry = (disk_list_t *)malloc(
489 if (entry) {
490 entry->dnum = dn;
491 entry->dsk = (char *)nm;
492 entry->dtype = (char *)dty;
497 entry->dpart[i] = (char *)malloc(len);
498 if (entry->dpart[i]) {
499 (void) sprintf(entry->dpart[i],
503 entry->dpart[i] = NULL;
518 if ((mv = strcmp(entry->dtype,
527 if (strcmp(entry->dtype,
539 * entry...
543 entry->next = stuff;
544 *hd = entry;
546 entry->next = follw->next;
547 follw->next = entry;
554 follw->next = entry;
555 entry->next = (disk_list_t *)NULL;
558 *hd = entry;
559 entry->next = (disk_list_t *)NULL;