• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/cam/scsi/

Lines Matching refs:page

165  * elements detected via the SES configuration page by tracking the numerous
350 /* References into the config page. */
497 * element status page (page 0xa).
575 /* Clear references to the additional status page. */
713 * pointing to the same constant page data.
773 * is valid for processing the page data corresponding to
774 * the provided page header.
778 * page header.
1160 * \param pagenum SES diagnostic page to query for.
1170 cdb[1] = 1; /* Set page code valid bit */
1185 * page, and store the result in the softc, updating if necessary.
1268 * \param buf Buffer containing the config page.
1269 * \param xfer_len Length of the config page in the buffer.
1278 struct scsi_diag_page *page;
1290 if (xfer_len < sizeof(*page)) {
1295 page = (struct scsi_diag_page *)*bufp;
1296 length = scsi_2btoul(page->length);
1301 ENC_DLOG(enc, "%s: page length %d, xfer_len %d\n",
1306 if (page->params[i] == SesElementDescriptor)
1308 else if (page->params[i] == SesAddlElementStatus)
1318 * \brief Process the config page and update associated structures.
1321 * \param buf Buffer containing the config page.
1322 * \param xfer_len Length of the config page in the buffer.
1378 ENC_DLOG(enc, "%s: total page length %d, xfer_len %d\n",
1515 * \brief Update the status page and associated structures.
1518 * \param buf Buffer containing the status page.
1535 struct ses_status_page *page;
1545 page = (struct ses_status_page *)buf;
1546 length = ses_page_length(&page->hdr);
1555 * XXX all this means is that the page is larger than the space
1565 if (length >= 4 && page->hdr.page_code == SesShortStatus) {
1566 ENC_DLOG(enc, "Got Short Enclosure Status page\n");
1569 enc_cache->enc_status = page->hdr.page_specific_flags;
1576 if (length < (sizeof(*page) + sizeof(*page->elements))) {
1581 if (!ses_config_cache_valid(ses_cache, page->hdr.gen_code)) {
1589 ses_cache->status_page = page;
1592 enc_cache->enc_status = page->hdr.page_specific_flags;
1596 * matches the order reported in the config page (i.e. the
1600 cur_stat = page->elements;
1603 ENC_DLOG(enc, "%s: total page length %d, xfer_len %d\n",
1618 ENC_VLOG(enc, "Status page, length insufficient for "
1622 ENC_VLOG(enc, "Status page, exhausted objects before "
1623 "exhausing page\n");
1635 * status for this element type in page 0x0A.
1646 * in page 0x0A.
1652 * in page 0x0A, but i
1741 * page. However, it is necessary to skip elements that are not
1742 * supported by this page when counting them.
2851 * SES diagnostic page.
2891 /* Construct the page request */