Searched refs:sdhs (Results 1 – 2 of 2) sorted by relevance
2431 struct bioc_disk *sdhs; in mfi_bio_hs() local2500 sdhs = bio_hs; in mfi_bio_hs()2501 sdhs->bd_status = BIOC_SDHOTSPARE; in mfi_bio_hs()2502 sdhs->bd_size = pd->mpd_size * 512; /* bytes per block */ in mfi_bio_hs()2503 sdhs->bd_channel = pd->mpd_enc_idx; in mfi_bio_hs()2504 sdhs->bd_target = pd->mpd_enc_slot; in mfi_bio_hs()2508 strlcpy(sdhs->bd_vendor, vend, sizeof(sdhs->bd_vendor)); in mfi_bio_hs()
3738 struct bioc_disk *sdhs; in mfii_bio_hs() local3808 sdhs = bio_hs; in mfii_bio_hs()3809 sdhs->bd_status = BIOC_SDHOTSPARE; in mfii_bio_hs()3810 sdhs->bd_size = pd->mpd_size / 2 * 1024; /* XXX why? */ in mfii_bio_hs()3811 sdhs->bd_channel = pd->mpd_enc_idx; in mfii_bio_hs()3812 sdhs->bd_target = pd->mpd_enc_slot; in mfii_bio_hs()3817 strlcpy(sdhs->bd_vendor, vend, sizeof(sdhs->bd_vendor)); in mfii_bio_hs()