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

/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dmode.h55 uchar_t bdesc_length; /* length of block descriptor(s), if any */ member in struct:mode_header
69 ushort_t bdesc_length; /* len of block descriptor(s), if any */ member in struct:mode_header_g1
111 ((mhdr)->bdesc_length && ((unsigned)(bdnum)) < \
112 ((mhdr)->bdesc_length/(sizeof (struct block_descriptor)))) ? \
149 ((type *)(((ulong_t)(mhdr))+MODE_HEADER_LENGTH+(mhdr)->bdesc_length))
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c1247 if (hdr->bdesc_length != sizeof (struct block_descriptor) &&
1248 hdr->bdesc_length != 0) {
1250 "length %d incorrect\n", page_code, hdr->bdesc_length);
1255 (int)(MODE_HEADER_LENGTH + hdr->bdesc_length));
1257 MODE_HEADER_LENGTH + hdr->bdesc_length);
1264 (MODE_HEADER_LENGTH + hdr->bdesc_length));
1274 (MODE_HEADER_LENGTH + hdr->bdesc_length));
1331 ushort_t length, bdesc_length; local
1371 bdesc_length = BE_16(hdr->bdesc_length);
[all...]
H A Dds_scsi.c389 smh->ms_header.bdesc_length);
403 BE_16(smh_g1->ms_header.bdesc_length));
/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 in struct:mode_header_10_struct
/illumos-gate/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_ONL
[all...]
H A Dmenu_scsi.c983 mh->bdesc_length + 1;
984 p = msbuf + sizeof (struct mode_header) + mh->bdesc_length;
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddrive.c1478 if (hdr->bdesc_length != sizeof (struct block_descriptor) &&
1479 hdr->bdesc_length != 0) {
1484 (int) (sizeof (struct mode_header) + hdr->bdesc_length));
1486 sizeof (struct mode_header) + hdr->bdesc_length);
1498 maximum = page_size - sizeof (struct mode_page) - hdr->bdesc_length;
/illumos-gate/usr/src/uts/common/io/
H A Demul64_bsd.c656 header.bdesc_length = 0;
724 header.bdesc_length = 0;
777 header.bdesc_length = 0;
831 header.bdesc_length = 0;
891 header.bdesc_length = 0;
/illumos-gate/usr/src/cmd/luxadm/
H A Dg_adm.c2808 (uchar_t *)(uintptr_t)(mode_header_ptr->bdesc_length)));
2810 mode_header_ptr->bdesc_length;
3985 (uchar_t *)(uintptr_t)(mode_header_ptr->bdesc_length)));
3987 mode_header_ptr->bdesc_length;
4191 (uchar_t *)(uintptr_t)(mode_header_ptr->bdesc_length)));
4193 mode_header_ptr->bdesc_length;
6033 mode_header_ptr->bdesc_length;
H A Dfchba.c1939 ntohs(mode_header_ptr->bdesc_length);
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c2024 headerp->bdesc_length = MODE_BLK_DESC_LENGTH;
2037 headerp->bdesc_length = MODE_BLK_DESC_LENGTH;
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c3341 bd_len = ((struct mode_header *)header)->bdesc_length;
5019 bd_len = ((struct mode_header *)headerp)->bdesc_length;
5095 bd_len = ((struct mode_header *)headerp)->bdesc_length;
9460 bd_len = ((struct mode_header *)header)->bdesc_length;
9531 ((struct mode_header *)header)->bdesc_length = bd_len;
9660 bd_len = ((struct mode_header *)header)->bdesc_length;
26927 if ((sense_mhp->bdesc_length == 0) ||
26928 (sense_mhp->bdesc_length > MODE_BLK_DESC_LENGTH)) {
26987 select_mhp->bdesc_length = MODE_BLK_DESC_LENGTH;
27111 bd_len = sense_mhp->bdesc_length;
[all...]
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c4061 headerp->bdesc_length = 0;
4067 g1_headerp->bdesc_length = 0;
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.c7886 modehdrp->bdesc_length = MODE_BLK_DESC_LENGTH;
7900 modehdrp->bdesc_length = MODE_BLK_DESC_LENGTH;

Completed in 201 milliseconds