Searched refs:num_hd (Results 1 – 2 of 2) sorted by relevance
622 int num_hd = 0; in init_device_map() local689 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()[all …]
8365 num_hd, which is used for counting how many drives are