Lines Matching refs:hdr_len

1381 	int hdr_len, param_len;
1404 hdr_len = sizeof (struct spc3_log_params_header);
1405 if (i + hdr_len > len) {
1411 param_len = hdr_len + hp->lph_prlen;
1434 SCSI_READ64(&(log_cache_data[i + hdr_len +
1439 &log_cache_data[i + hdr_len], hp->lph_prlen,
1456 int hdr_len, param_len;
1462 hdr_len = sizeof (struct spc3_log_params_header);
1463 if (i + hdr_len > len) {
1469 param_len = hdr_len + hp->lph_prlen;
1482 &(log_factory_data[i + hdr_len]))) / 60.0);
1486 SCSI_READ32(&(log_factory_data[i + hdr_len])));
1644 int hdr_len;
1650 hdr_len = sizeof (struct spc3_mode_param_header10) +
1652 pp = (spc3_mode_page_0_t *)(&(mode_ctl_data[hdr_len]));
1653 if (len < (hdr_len + sizeof (struct spc3_mode_page_0) -
1660 hdr_len + sizeof (struct spc3_mode_page_0) -
1680 int hdr_len;
1686 hdr_len = sizeof (struct spc3_mode_param_header10) +
1688 sp = (spc3_mode_subpage_t *)(&(mode_ctl_ext_data[hdr_len]));
1689 if (len < (hdr_len + sizeof (struct spc3_mode_subpage) -
1698 hdr_len + sizeof (struct spc3_mode_subpage) -
1711 int hdr_len;
1717 hdr_len = sizeof (struct spc3_mode_param_header10) +
1719 pp = (spc3_mode_page_0_t *)(&(mode_dcrc_data[hdr_len]));
1720 if (len < (hdr_len + sizeof (struct spc3_mode_page_0) -
1728 hdr_len + sizeof (struct spc3_mode_page_0) -
1752 int hdr_len;
1758 hdr_len = sizeof (struct spc3_mode_param_header10) +
1760 pp = (spc3_mode_page_0_t *)(&(mode_iec_data[hdr_len]));
1761 if (len < (hdr_len + sizeof (struct spc3_mode_page_0) -
1770 hdr_len + sizeof (struct spc3_mode_page_0) -
1786 int hdr_len;
1792 hdr_len = sizeof (struct spc3_mode_param_header10) +
1794 pp = (spc3_mode_page_0_t *)(&(mode_pc_data[hdr_len]));
1795 if (len < (hdr_len + sizeof (struct spc3_mode_page_0) -
1803 hdr_len + sizeof (struct spc3_mode_page_0) -