Searched refs:sc_hdr (Results 1 – 6 of 6) sorted by relevance
414 sc->sc_hdr[i].hd_present = 1; in gdt_attach()415 sc->sc_hdr[i].hd_size = sc->sc_info; in gdt_attach()417 if (sc->sc_hdr[i].hd_size > 0) in gdt_attach()423 sc->sc_hdr[i].hd_size &= ~GDT_SECS32; in gdt_attach()425 gdt_eval_mapping(sc->sc_hdr[i].hd_size, in gdt_attach()430 drv_cyls = sc->sc_hdr[i].hd_size / drv_hds / in gdt_attach()433 sc->sc_hdr[i].hd_heads = drv_hds; in gdt_attach()434 sc->sc_hdr[i].hd_secs = drv_secs; in gdt_attach()436 sc->sc_hdr[i].hd_size = drv_cyls * drv_hds * drv_secs; in gdt_attach()440 sc->sc_hdr[i].hd_devtype = sc->sc_info; in gdt_attach()[all …]
382 sc->sc_hdr[i].hd_present = 1; in twe_attach()383 sc->sc_hdr[i].hd_devtype = 0; in twe_attach()384 sc->sc_hdr[i].hd_size = letoh32(*(u_int32_t *)cap->data); in twe_attach()386 i, sc->sc_hdr[i].hd_size)); in twe_attach()762 if (target >= TWE_MAX_UNITS || !sc->sc_hdr[target].hd_present || in twe_scsi_cmd()796 sc->sc_hdr[target].hd_devtype)); in twe_scsi_cmd()799 (sc->sc_hdr[target].hd_devtype & 4) ? T_CDROM : T_DIRECT; in twe_scsi_cmd()801 (sc->sc_hdr[target].hd_devtype & 1) ? SID_REMOVABLE : 0; in twe_scsi_cmd()815 _lto4b(sc->sc_hdr[target].hd_size - 1, rcd.addr); in twe_scsi_cmd()851 if (blockno >= sc->sc_hdr[target].hd_size || in twe_scsi_cmd()[all …]
81 } sc_hdr[TWE_MAX_UNITS]; member
284 sc->sc_hdr[i].hd_present = 1; in ami_copyhds()285 sc->sc_hdr[i].hd_is_logdrv = 1; in ami_copyhds()286 sc->sc_hdr[i].hd_size = letoh32(sizes[i]); in ami_copyhds()287 sc->sc_hdr[i].hd_prop = props[i]; in ami_copyhds()288 sc->sc_hdr[i].hd_stat = stats[i]; in ami_copyhds()1313 if (target >= sc->sc_nunits || !sc->sc_hdr[target].hd_present || in ami_scsi_cmd()1349 strlcpy(sc->sc_hdr[target].dev, dev->dv_xname, in ami_scsi_cmd()1350 sizeof(sc->sc_hdr[target].dev)); in ami_scsi_cmd()1404 _lto4b(sc->sc_hdr[target].hd_size - 1, rcd.addr); in ami_scsi_cmd()1432 if (blockno >= sc->sc_hdr[target].hd_size || in ami_scsi_cmd()[all …]
145 } sc_hdr[AMI_BIG_MAX_LDRIVES]; member
171 } sc_hdr[GDT_MAX_HDRIVES]; member