Searched refs:bdesc_length (Results 1 – 14 of 14) sorted by relevance
1259 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() local1390 bdesc_length = BE_16(hdr->bdesc_length); in uscsi_mode_sense_10()[all …]
395 smh->ms_header.bdesc_length); in load_modepages()409 BE_16(smh_g1->ms_header.bdesc_length)); in load_modepages()
57 uchar_t bdesc_length; /* length of block descriptor(s), if any */ member71 ushort_t bdesc_length; /* len of block descriptor(s), if any */ member113 ((mhdr)->bdesc_length && ((unsigned)(bdnum)) < \114 ((mhdr)->bdesc_length/(sizeof (struct block_descriptor)))) ? \151 ((type *)(((ulong_t)(mhdr))+MODE_HEADER_LENGTH+(mhdr)->bdesc_length))
2185 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()
946 mh->bdesc_length + 1; in default_all_pages()947 p = msbuf + sizeof (struct mode_header) + mh->bdesc_length; in default_all_pages()
656 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()
1502 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()
67 ushort_t bdesc_length; /* length of block descriptor(s), if any */ member
2808 (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()
1939 ntohs(mode_header_ptr->bdesc_length); in fchba_display_config()
2024 headerp->bdesc_length = MODE_BLK_DESC_LENGTH; in amr_mode_sense()2037 headerp->bdesc_length = MODE_BLK_DESC_LENGTH; in amr_mode_sense()
2850 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 …]
7844 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()
4067 headerp->bdesc_length = 0; in aac_mode_sense()4073 g1_headerp->bdesc_length = 0; in aac_mode_sense()