Searched refs:disklist (Results 1 – 9 of 9) sorted by relevance
713 static struct disklist *disklist = NULL; in get_bios_info() local721 if (disklist == NULL) { in get_bios_info()724 disklist = malloc(len); in get_bios_info()725 if (disklist == NULL) { in get_bios_info()729 sysctl(mib, 2, disklist, &len, NULL, 0); in get_bios_info()732 for (i = 0; i < disklist->dl_nnativedisks; i++) { in get_bios_info()733 nat = &disklist->dl_nativedisks[i]; in get_bios_info()754 bip = &disklist->dl_biosdisks[nip->ni_biosmatches[0]]; in get_bios_info()768 bip = &disklist->dl_biosdisks[ in get_bios_info()780 biosdisk = &disklist->dl_biosdisks[ in get_bios_info()
58 struct disklist_lh disklist; variable127 TAILQ_INSERT_TAIL(&disklist, dip, list); in hardprobe()269 TAILQ_INIT(&disklist); in diskprobe()285 for (dip = TAILQ_FIRST(&disklist); dip != NULL; in dkdevice()
74 struct disklist *x86_alldisks;139 dklist_size = sizeof(struct disklist) + (x86_ndisks - 1) * in matchbiosdisks()
1303 node.sysctl_size = sizeof(struct disklist) + in sysctl_machdep_diskinfo()
85 struct disklist *x86_alldisks;
641 struct disklist { struct
108 extern struct disklist *x86_alldisks;739 struct disklist *dl = x86_alldisks; in fd2biosinfo()
242 static struct disklist *dl;1293 dl = (struct disklist *) malloc(len); in get_bios_geometry()
2572 struct disklist *dl; in machdep_diskinfo()