Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/format/
H A Dctlr_scsi.c947 struct mode_format *page3; in scsi_ms_page3() local
958 struct mode_format page3; in scsi_ms_page3() member
963 page3 = &u_page3.page3; in scsi_ms_page3()
964 fixed = &u_fixed.page3; in scsi_ms_page3()
972 MODE_SENSE_PC_DEFAULT, (caddr_t)page3, in scsi_ms_page3()
975 MODE_SENSE_PC_CURRENT, (caddr_t)page3, in scsi_ms_page3()
984 MODE_SENSE_PC_SAVED, (caddr_t)page3, in scsi_ms_page3()
988 MODE_SENSE_PC_CURRENT, (caddr_t)page3, in scsi_ms_page3()
1002 length = MODESENSE_PAGE_LEN(page3); in scsi_ms_page3()
1022 tmp1 = page3->track_skew; in scsi_ms_page3()
[all …]
H A Dauto_sense.c914 struct mode_format page3; in generic_disk_sense() member
921 struct mode_format *page3 = &u_page3.page3; in generic_disk_sense() local
971 page3->tracks_per_zone = BE_16(page3->tracks_per_zone); in generic_disk_sense()
972 page3->alt_sect_zone = BE_16(page3->alt_sect_zone); in generic_disk_sense()
973 page3->alt_tracks_zone = BE_16(page3->alt_tracks_zone); in generic_disk_sense()
974 page3->alt_tracks_vol = BE_16(page3->alt_tracks_vol); in generic_disk_sense()
975 page3->sect_track = BE_16(page3->sect_track); in generic_disk_sense()
976 page3->data_bytes_sect = BE_16(page3->data_bytes_sect); in generic_disk_sense()
977 page3->interleave = BE_16(page3->interleave); in generic_disk_sense()
978 page3->track_skew = BE_16(page3->track_skew); in generic_disk_sense()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Demul64_bsd.c810 struct mode_format page3; in bsd_mode_sense_dad_mode_format() local
820 if (sp->cmd_count < (sizeof (header) + sizeof (page3))) { in bsd_mode_sense_dad_mode_format()
823 emul64_name, (int)(sizeof (header) + sizeof (page3))); in bsd_mode_sense_dad_mode_format()
828 (void) bzero(&page3, sizeof (page3)); in bsd_mode_sense_dad_mode_format()
830 header.length = sizeof (header) + sizeof (page3) - 1; in bsd_mode_sense_dad_mode_format()
833 page3.mode_page.code = DAD_MODE_FORMAT; in bsd_mode_sense_dad_mode_format()
834 page3.mode_page.ps = 1; in bsd_mode_sense_dad_mode_format()
835 page3.mode_page.length = sizeof (page3) - sizeof (struct mode_page); in bsd_mode_sense_dad_mode_format()
841 page3.data_bytes_sect = ushort_to_scsi_ushort(DEV_BSIZE); in bsd_mode_sense_dad_mode_format()
842 page3.interleave = ushort_to_scsi_ushort(1); in bsd_mode_sense_dad_mode_format()
[all …]