Lines Matching refs:num_hd
622 int num_hd = 0; in init_device_map() local
689 sprintf (discn, "/dev/discs/disc%d", num_hd); in init_device_map()
696 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
697 assert ((*map)[num_hd + 0x80]); in init_device_map()
701 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
704 num_hd++; in init_device_map()
723 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
724 assert ((*map)[num_hd + 0x80]); in init_device_map()
728 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
730 num_hd++; in init_device_map()
743 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
744 assert ((*map)[num_hd + 0x80]); in init_device_map()
748 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
750 num_hd++; in init_device_map()
763 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
764 assert ((*map)[num_hd + 0x80]); in init_device_map()
768 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
770 num_hd++; in init_device_map()
792 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
793 assert ((*map)[num_hd + 0x80]); in init_device_map()
797 fprintf (fp, "(hd%d)\t%s\n", num_hd, name); in init_device_map()
799 num_hd++; in init_device_map()