Home
last modified time | relevance | path

Searched refs:NR_HD (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/ide/legacy/
Dhd.c100 static int NR_HD = ((sizeof (hd_info))/(sizeof (struct hd_i_struct))); variable
103 static int NR_HD; variable
162 NR_HD = hdind+1; in hd_setup()
339 if (++i < NR_HD) { in reset_hd()
570 if (dev >= (NR_HD<<6) || block >= hd[dev].nr_sects || ((block+nsect) > hd[dev].nr_sects)) { in hd_request()
572 if (dev >= (NR_HD<<6)) in hd_request()
634 if (dev >= NR_HD) in hd_ioctl()
678 if (target >= NR_HD) in hd_open()
748 if (!NR_HD) { in hd_geninit()
762 if (hd_info[drive].cyl && NR_HD == drive) in hd_geninit()
[all …]