Searched refs:bdesc_length (Results 1 – 14 of 14) sorted by relevance
1247 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() local1371 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 …]
389 smh->ms_header.bdesc_length); in load_modepages()403 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))
67 ushort_t bdesc_length; /* length of block descriptor(s), if any */ member
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()
1478 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()
2273 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);
983 mh->bdesc_length + 1; in default_all_pages()984 p = msbuf + sizeof (struct mode_header) + mh->bdesc_length; in default_all_pages()
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()
3343 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 …]
7886 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()
4061 headerp->bdesc_length = 0; in aac_mode_sense()4067 g1_headerp->bdesc_length = 0; in aac_mode_sense()