Lines Matching defs:entry

507 		/* prepend new entry - deal with duplicates */
828 * variable. An array of boot_dev structs will be created, one entry
829 * for each device name in the boot-device variable. Each entry
831 * boot-device entry, if any.
864 /* now try to translate each entry to a logical device. */
883 char *entry, *ptr;
891 if ((entry = (char *)malloc(strlen(bootdevice) + 1)) == NULL) {
895 (void) strcpy(entry, bootdevice);
896 for (ptr = strtok(entry, " "); ptr != NULL;
900 (void) strcpy(entry, bootdevice);
906 free(entry);
912 free(entry);
916 /* for each entry in boot-device, do... */
917 for (ptr = strtok(entry, " "), i = 0; ptr != NULL;
922 free(entry);
969 free(entry);
1051 * for each entry in bootdev_array, convert the physical device
1052 * representation of the boot-device entry to one or more logical device
1117 * entry. The nftw function will create a list of logical device
1198 * for a logical dev entry, it walks the list of boot-devices and
1290 struct boot_dev *entry;
1292 entry = (struct boot_dev *)calloc(1, sizeof (struct boot_dev));
1294 if (entry == NULL) {
1297 if ((entry->bootdev_element = strdup(entry_name)) == NULL) {
1298 free(entry);
1305 if ((entry->bootdev_trans = (char **)calloc(2, sizeof (char *)))
1307 free(entry->bootdev_element);
1308 free(entry);
1311 return (entry);
1850 struct name_list *entry = *list;
1866 if (entry == NULL) {
1875 while (entry != NULL) {
1876 if ((colon2 = strchr(entry->name, ':')) != NULL) {
1879 ret = strcmp(alias_name, entry->name);
1893 new_entry->next = entry;
1906 prev_entry = entry;
1907 entry = entry->next;