Lines Matching refs:num_hd
650 int num_hd = 0; in init_device_map() local
717 sprintf (discn, "/dev/discs/disc%d", num_hd); in init_device_map()
724 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
725 assert ((*map)[num_hd + 0x80]); in init_device_map()
729 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
732 num_hd++; in init_device_map()
751 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
752 assert ((*map)[num_hd + 0x80]); in init_device_map()
756 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
758 num_hd++; in init_device_map()
771 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
772 assert ((*map)[num_hd + 0x80]); in init_device_map()
776 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
778 num_hd++; in init_device_map()
791 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
792 assert ((*map)[num_hd + 0x80]); in init_device_map()
796 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
798 num_hd++; in init_device_map()
820 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
821 assert ((*map)[num_hd + 0x80]); in init_device_map()
825 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
827 num_hd++; in init_device_map()