Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c1247 if (hdr->bdesc_length != sizeof (struct block_descriptor) && in uscsi_mode_sense()
1248 hdr->bdesc_length != 0) { in uscsi_mode_sense()
1250 "length %d incorrect\n", page_code, hdr->bdesc_length); in uscsi_mode_sense()
1255 (int)(MODE_HEADER_LENGTH + hdr->bdesc_length)); in uscsi_mode_sense()
1257 MODE_HEADER_LENGTH + hdr->bdesc_length); in uscsi_mode_sense()
1264 (MODE_HEADER_LENGTH + hdr->bdesc_length)); in uscsi_mode_sense()
1274 (MODE_HEADER_LENGTH + hdr->bdesc_length)); in uscsi_mode_sense()
1331 ushort_t length, bdesc_length; in uscsi_mode_sense_10() local
1371 bdesc_length = BE_16(hdr->bdesc_length); in uscsi_mode_sense_10()
1374 if (bdesc_length != sizeof (struct block_descriptor) && in uscsi_mode_sense_10()
[all …]
H A Dds_scsi.c389 smh->ms_header.bdesc_length); in load_modepages()
403 BE_16(smh_g1->ms_header.bdesc_length)); in load_modepages()
/titanic_50/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))
/titanic_50/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
/titanic_50/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()
/titanic_50/usr/src/lib/libdiskmgt/common/
H A Ddrive.c1478 if (hdr->bdesc_length != sizeof (struct block_descriptor) && in uscsi_mode_sense()
1479 hdr->bdesc_length != 0) { in uscsi_mode_sense()
1484 (int) (sizeof (struct mode_header) + hdr->bdesc_length)); in uscsi_mode_sense()
1486 sizeof (struct mode_header) + hdr->bdesc_length); in uscsi_mode_sense()
1498 maximum = page_size - sizeof (struct mode_page) - hdr->bdesc_length; in uscsi_mode_sense()
/titanic_50/usr/src/cmd/format/
H A Dctlr_scsi.c2273 if (hdr->bdesc_length != sizeof (struct block_descriptor) &&
2274 hdr->bdesc_length != 0) {
2278 page_code, hdr->bdesc_length);
2287 (int) (sizeof (struct mode_header) + hdr->bdesc_length));
2289 sizeof (struct mode_header) + hdr->bdesc_length);
2308 maximum = page_size - sizeof (struct mode_page) - hdr->bdesc_length;
2379 if (header->mode_header.bdesc_length ==
2860 mh->bdesc_length + 1;
2862 mh->bdesc_length;
2864 (int)mh->bdesc_length, HEX_ONLY);
H A Dmenu_scsi.c983 mh->bdesc_length + 1; in default_all_pages()
984 p = msbuf + sizeof (struct mode_header) + mh->bdesc_length; in default_all_pages()
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dsd.c3343 bd_len = ((struct mode_header *)header)->bdesc_length; in sd_enable_descr_sense()
5032 bd_len = ((struct mode_header *)headerp)->bdesc_length; in sd_get_physical_geometry()
5108 bd_len = ((struct mode_header *)headerp)->bdesc_length; in sd_get_physical_geometry()
9442 *bdlen = ((struct mode_header *)(*header))->bdesc_length; in sd_get_caching_mode_page()
9554 ((struct mode_header *)header)->bdesc_length = in sd_cache_control()
26946 if ((sense_mhp->bdesc_length == 0) ||
26947 (sense_mhp->bdesc_length > MODE_BLK_DESC_LENGTH)) {
27006 select_mhp->bdesc_length = MODE_BLK_DESC_LENGTH;
27130 bd_len = sense_mhp->bdesc_length;
27140 (sense + MODE_HEADER_LENGTH + sense_mhp->bdesc_length);
[all …]
/titanic_50/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.c7886 modehdrp->bdesc_length = MODE_BLK_DESC_LENGTH; in mrsas_mode_sense_build()
7900 modehdrp->bdesc_length = MODE_BLK_DESC_LENGTH; in mrsas_mode_sense_build()
/titanic_50/usr/src/uts/common/io/aac/
H A Daac.c4061 headerp->bdesc_length = 0; in aac_mode_sense()
4067 g1_headerp->bdesc_length = 0; in aac_mode_sense()