Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c1259 if (hdr->bdesc_length != sizeof (struct block_descriptor) && in uscsi_mode_sense()
1260 hdr->bdesc_length != 0) { in uscsi_mode_sense()
1262 "length %d incorrect\n", page_code, hdr->bdesc_length); in uscsi_mode_sense()
1267 (int)(MODE_HEADER_LENGTH + hdr->bdesc_length)); in uscsi_mode_sense()
1269 MODE_HEADER_LENGTH + hdr->bdesc_length); in uscsi_mode_sense()
1275 (MODE_HEADER_LENGTH + hdr->bdesc_length)) { in uscsi_mode_sense()
1283 (MODE_HEADER_LENGTH + hdr->bdesc_length)); in uscsi_mode_sense()
1293 (MODE_HEADER_LENGTH + hdr->bdesc_length)); in uscsi_mode_sense()
1350 ushort_t length, bdesc_length; in uscsi_mode_sense_10() local
1390 bdesc_length = BE_16(hdr->bdesc_length); in uscsi_mode_sense_10()
[all …]
H A Dds_scsi.c395 smh->ms_header.bdesc_length); in load_modepages()
409 BE_16(smh_g1->ms_header.bdesc_length)); in load_modepages()
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dmode.h57 uchar_t bdesc_length; /* length of block descriptor(s), if any */ member
71 ushort_t bdesc_length; /* len of block descriptor(s), if any */ member
113 ((mhdr)->bdesc_length && ((unsigned)(bdnum)) < \
114 ((mhdr)->bdesc_length/(sizeof (struct block_descriptor)))) ? \
151 ((type *)(((ulong_t)(mhdr))+MODE_HEADER_LENGTH+(mhdr)->bdesc_length))
/illumos-gate/usr/src/cmd/format/
H A Dctlr_scsi.c2185 if (hdr->bdesc_length != sizeof (struct block_descriptor) && in uscsi_mode_sense()
2186 hdr->bdesc_length != 0) { in uscsi_mode_sense()
2190 page_code, hdr->bdesc_length); in uscsi_mode_sense()
2199 sizeof (struct mode_header) + hdr->bdesc_length); in uscsi_mode_sense()
2201 sizeof (struct mode_header) + hdr->bdesc_length); in uscsi_mode_sense()
2219 maximum = page_size - sizeof (struct mode_page) - hdr->bdesc_length; in uscsi_mode_sense()
2286 if (header->mode_header.bdesc_length == in uscsi_mode_select()
2748 mh->bdesc_length + 1; in scsi_dump_mode_sense_pages()
2750 mh->bdesc_length; in scsi_dump_mode_sense_pages()
2752 (int)mh->bdesc_length, HEX_ONLY); in scsi_dump_mode_sense_pages()
H A Dmenu_scsi.c946 mh->bdesc_length + 1; in default_all_pages()
947 p = msbuf + sizeof (struct mode_header) + mh->bdesc_length; in default_all_pages()
/illumos-gate/usr/src/uts/common/io/
H A Demul64_bsd.c656 header.bdesc_length = 0; in bsd_mode_sense_dad_mode_geometry()
724 header.bdesc_length = 0; in bsd_mode_sense_dad_mode_err_recov()
777 header.bdesc_length = 0; in bsd_mode_sense_modepage_disco_reco()
831 header.bdesc_length = 0; in bsd_mode_sense_dad_mode_format()
891 header.bdesc_length = 0; in bsd_mode_sense_dad_mode_cache()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddrive.c1502 if (hdr->bdesc_length != sizeof (struct block_descriptor) && in uscsi_mode_sense()
1503 hdr->bdesc_length != 0) { in uscsi_mode_sense()
1508 (int) (sizeof (struct mode_header) + hdr->bdesc_length)); in uscsi_mode_sense()
1510 sizeof (struct mode_header) + hdr->bdesc_length); in uscsi_mode_sense()
1522 maximum = page_size - sizeof (struct mode_page) - hdr->bdesc_length; in uscsi_mode_sense()
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dg_scsi.h67 ushort_t bdesc_length; /* length of block descriptor(s), if any */ member
/illumos-gate/usr/src/cmd/luxadm/
H A Dg_adm.c2808 (uchar_t *)(uintptr_t)(mode_header_ptr->bdesc_length))); in adm_display_verbose_disk()
2810 mode_header_ptr->bdesc_length; in adm_display_verbose_disk()
3985 (uchar_t *)(uintptr_t)(mode_header_ptr->bdesc_length))); in display_fc_disk()
3987 mode_header_ptr->bdesc_length; in display_fc_disk()
4191 (uchar_t *)(uintptr_t)(mode_header_ptr->bdesc_length))); in non_encl_fc_disk_display()
4193 mode_header_ptr->bdesc_length; in non_encl_fc_disk_display()
6033 mode_header_ptr->bdesc_length; in lun_display()
H A Dfchba.c1939 ntohs(mode_header_ptr->bdesc_length); in fchba_display_config()
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c2024 headerp->bdesc_length = MODE_BLK_DESC_LENGTH; in amr_mode_sense()
2037 headerp->bdesc_length = MODE_BLK_DESC_LENGTH; in amr_mode_sense()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c2850 bd_len = ((struct mode_header *)header)->bdesc_length; in sd_enable_descr_sense()
4457 bd_len = ((struct mode_header *)headerp)->bdesc_length; in sd_get_physical_geometry()
4533 bd_len = ((struct mode_header *)headerp)->bdesc_length; in sd_get_physical_geometry()
8734 *bdlen = ((struct mode_header *)(*header))->bdesc_length; in sd_get_caching_mode_page()
8846 ((struct mode_header *)header)->bdesc_length = in sd_cache_control()
26357 if ((sense_mhp->bdesc_length == 0) ||
26358 (sense_mhp->bdesc_length > MODE_BLK_DESC_LENGTH)) {
26417 select_mhp->bdesc_length = MODE_BLK_DESC_LENGTH;
26541 bd_len = sense_mhp->bdesc_length;
26551 (sense + MODE_HEADER_LENGTH + sense_mhp->bdesc_length);
[all …]
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.c7844 modehdrp->bdesc_length = MODE_BLK_DESC_LENGTH; in mrsas_mode_sense_build()
7858 modehdrp->bdesc_length = MODE_BLK_DESC_LENGTH; in mrsas_mode_sense_build()
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c4067 headerp->bdesc_length = 0; in aac_mode_sense()
4073 g1_headerp->bdesc_length = 0; in aac_mode_sense()