Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

#### QSBLK

Prolog

Control Block Contents
QSBLK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### QSBLK Prolog

     NAME       : HCPQSBLK
     DESCRIPTION: QDIO Statistics Block
     DSECT      : QSBLK
     FUNCTION   : Control Block used to maintain various counters for
                  QDIO connections.
     CREATED BY : Dynamically created when a guest issues
                  an Establish-QDIO-Queues CCW.
     DELETED BY : Deleted by HCPRELST when a QDIO Activate-
                  QDIO-Queues channel command terminates.
     LOCATED BY : QDIO Block for the VDEV in QDIQSBLK.
     Serialized : All fields are serialized using
                  Compare and Swap.

#### QSBLK Control Block Content

#### QSBLK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      QSBLK          QDIO Statistics Block
          QEBSM Partial Execution Interception (PEI) Event Flags
          The following flags indicate events which occurred while
          processing a PEI for QEBSM.
    0000    0 Bitstring    1 QSBFLAG1       QEBSM Exceptions Flag 1
              1... ....      QSBPEI05       X'80' PEI Code 5 Buffer Sync CHK
                                            Occurred
              .1.. ....      QSBPEI06       X'40' PEI Code 6 FOB Validation
                                            Error
              ..1. ....      QSBPEI08       X'20' PEI Code 8 Request ID Not
                                            Active
              ...1 ....      QSBPEI09       X'10' PEI Code 9 Request ID for
                                            an incomplete request
              .... 1...      QSBPEI10       X'08' PEI Code 10 Request ID
                                            posted more than once
    0001    1 Bitstring    1 * (7)          Reserved for future IBM Use
          SQBS Executed by z/VM                           (QSBSQBVM)
          The number of SQBS Instructions for this QDIO connection
          that were totally processed by z/VM.
    0008    8 Signed       4 QSBSQBVM       SQBS Executed by z/VM
          SQBS Partially Executed by z/VM                 (QSBSQBPV)
          The number of SQBS Instructions for this QDIO connection
          that the hardware started to process, but z/VM had to
          complete.
    000C   12 Signed       4 QSBSQBPV       SQBS Partially Executed by z/VM
          EQBS Executed by z/VM                           (QSBEQBVM)
          The number of EQBS Instructions for this QDIO connection
          that were totally processed by z/VM.
    0010   16 Signed       4 QSBEQBVM       EQBS Executed by z/VM
          EQBS Partially Executed by z/VM                 (QSBEQBPV)
          The number of SQBS Instructions for this QDIO connection
          that the hardware started to process, but z/VM had to
          complete.
    0014   20 Signed       4 QSBEQBPV       EQBS Partially Executed by z/VM
          PEI Code (01) QSD Lock Failure Counter          (QSBLOCK)
          The number of times the QIOBK/QSD Lock could not be
          acquired by CP Millicode in an acceptable time frame
          during the interpretive execution of a QEBSM instruction.
    0018   24 Signed       4 QSBLOCK        QIOBK/QSD Lock Failure
          PEI Code (02) Guest SL Access Exception         (QSBGSL)
          The number of times CP Millicode encounters an access
          exception during the interpretive execution of a QEBSM
          instruction referencing a guest's SL.
    001C   28 Signed       4 QSBGSL         Guest SL Access Exception
          PEI Code (03) Guest SBAL Access Exception       (QSBGSBAL)
          The number of times CP Millicode encounters an access
          exception during the interpretive execution of a QEBSM
          instruction referencing a guest's SBAL.
    0020   32 Signed       4 QSBGSBAL       Guest SBAL Access Exception
          PEI Code (04) Guest SB Access Exception         (QSBGSB)
          The number of times CP Millicode encounters an access
          exception during the interpretive execution of a QEBSM
          instruction referencing a guest's SB.
    0024   36 Signed       4 QSBGSB         Guest SB Access Exception
          PEI Code (07) FOBLK/FOB Resource Exhaustion     (QSBPP07)
          The number of times CP Millicode found the available-FOB
          list for the running CPU was empty.
    0028   40 Signed       4 QSBFOBX        FOBLK/FOB Resource Exhaustion
          PEI Code (11) QSD Output Lock Failure Counter  (QSBOLCK)
          The number of times the QIOBK/QSD Lock could not be
          acquired by CP Millicode in an acceptable time frame
          during the interpretive execution of a QEBSM instruction
          for a format 1 output queue.
    002C   44 Signed       4 QSBOLCK        QIOBK/QSD Output Lock Failure
          PEI Code (32) Page Pin Failure 1                (QSBPP32)
          The number of times CP Millicode could not pin a page
          because the RCP-bypass assist is enabled and an access
          exception condition exists for the host page frame
          corresponding to the designated page.
    0030   48 Signed       4 QSBPPF32       Page Pin Failure 1
          PEI Code (33) Page Pin Failure 2                (QSBPP33)
          The number of times CP Millicode could not pin a page
          because an access exception condition exists that is a
          higher priority than an addressing exception for fetching
          the PTE for the designated page.
    0034   52 Signed       4 QSBPPF33       Page Pin Failure 2
          PEI Code (34) Page Pin Failure 3                (QSBPP34)
          The number of times CP Millicode could not pin a page
          because the PGSTE page-control-interlock PCL bit could
          not be set for the page.
    0038   56 Signed       4 QSBPPF34       Page Pin Failure 3
          PEI Code (35) Page Pin Failure 4                (QSBPP35)
          The number of times CP Millicode could not pin a page
          because an overflow of the PGSTE pin count would occur.
    003C   60 Signed       4 QSBPPF35       Page Pin Failure 4
          PEI Code (36) Page Pin Failure 5                (QSBPP36)
          The number of times CP Millicode could not pin a page
          because the page-protection (P) bit is on in the STE or
          PTE for the designated page and a store access is required
          for the page.
    0040   64 Signed       4 QSBPPF36       Page Pin Failure 5
          PEI Code (37) Page Pin Failure 6                (QSBPP37)
          The number of times CP Millicode could not pin a page
          because the page-invalid (I) bit in the PTE is one for the
          page and there are no available frames for page resolution
          (i.e. the available-frames-descriptor-list origin (AFDLO)
          for the running CPU contains zero).
    0044   68 Signed       4 QSBPPF37       Page Pin Failure 6
          PEI Code (38) Page Pin Failure 7                (QSBPP38)
          The number of times CP Millicode could not pin a page
          because the page-invalid (I) bit in the PTE is one for the
          page and the HPMA resolve-host-page function has failed
          to resolve the page for reasons other that PEI Code 37.
    0048   72 Signed       4 QSBPPF38       Page Pin Failure 7
          PEI Code (39) Page Pin Failure 8                (QSBPP39)
          The number of times CP Millicode could not pin a page
          because of a model dependent reason.
    004C   76 Signed       4 QSBPPF39       Page Pin Failure 8
          PEI Code (64) Page UnPin Failure 1              (QSBUP64)
          The number of times CP Millicode could not unpin a page
          because an access exception condition exists that is a
          higher priority than an addressing exception for fetching
          the PTE for the designated page.
    0050   80 Signed       4 QSBUPF64       Page UnPin Failure 1
          PEI Code (65) Page UnPin Failure 2              (QSBUP65)
          The number of times CP Millicode could not unpin a page
          because the PGSTE page-control-interlock PCL bit could
          not be set for the page.
    0054   84 Signed       4 QSBUPF65       Page UnPin Failure 2
          PEI Code (66) Page UnPin Failure 3              (QSBUP66)
          The number of times CP Millicode could not unpin a page
          because an underflow of the PGSTE pin count would occur.
    0058   88 Signed       4 QSBUPF66       Page UnPin Failure 3
          PEI Code (67) Page UnPin Failure 4              (QSBUP67)
          The number of times CP Millicode could not unpin a page
          because the page-invalid (I) bit in the PTE is one for the
          page.
    005C   92 Signed       4 QSBUPF67       Page UnPin Failure 4
          PEI Code (68) Page UnPin Failure 5              (QSBUP68)
          The number of times CP Millicode could not unpin a page
          because the contents of the PTE page-frame-real-address
          (PFRA) indicate a page that is different from the frame
          specified for the page by the host SBALE for the page.
    0060   96 Signed       4 QSBUPF68       Page UnPin Failure 5
          Start of SIGA Contiguous Area
          Notes      : The following fields must be contiguous and exist
                in the following order in storage
    0064  100 Bitstring   12 QSBSIGA (0)    SIGA Counters
          SIGA-wt Executed by z/VM                        (QSBSIGWT)
          The number of SIGA instructions issued with the write by
          token function code that were processed by z/VM.
    0064  100 Signed       4 QSBSIGWT       SIGA-wt Executed by z/VM
          SIGA-rt Executed by z/VM                        (QSBSIGRT)
          The number of SIGA instructions issued with the read by
          token function code that were processed by z/VM.
    0068  104 Signed       4 QSBSIGRT       SIGA-rt Executed by z/VM
          SIGA-lt Executed by z/VM                        (QSBSIGLT)
          The number of SIGA instructions issued with the logout by
          token function code that were processed by z/VM.
    006C  108 Signed       4 QSBSIGLT       SIGA-lt Executed by z/VM
          END of SIGA Contiguous Area
    0070  112 Dbl-Word     8 *              Reserved for future IBM use
    0078  120 Character    1 QSB$END (0)    End of QDIO Statistics Block

#### QSBLK Storage Layout

    *** QSBLK - QDIO Statistics Block
    *
    *     +------+------------------------------------------------+
    *   0 |:FLAG1|////////////////////////////////////////////////|
    *     +------+--------------------+---------------------------+
    *   8 |         QSBSQBVM          |         QSBSQBPV          |
    *     +---------------------------+---------------------------+
    *  10 |         QSBEQBVM          |         QSBEQBPV          |
    *     +---------------------------+---------------------------+
    *  18 |         QSBLOCK           |          QSBGSL           |
    *     +---------------------------+---------------------------+
    *  20 |         QSBGSBAL          |          QSBGSB           |
    *     +---------------------------+---------------------------+
    *  28 |         QSBFOBX           |         QSBOLCK           |
    *     +---------------------------+---------------------------+
    *  30 |         QSBPPF32          |         QSBPPF33          |
    *     +---------------------------+---------------------------+
    *  38 |         QSBPPF34          |         QSBPPF35          |
    *     +---------------------------+---------------------------+
    *  40 |         QSBPPF36          |         QSBPPF37          |
    *     +---------------------------+---------------------------+
    *  48 |         QSBPPF38          |         QSBPPF39          |
    *     +---------------------------+---------------------------+
    *  50 |         QSBUPF64          |         QSBUPF65          |
    *     +---------------------------+---------------------------+
    *  58 |         QSBUPF66          |         QSBUPF67          |
    *     +---------------------------+---------------------------+
    *  60 |         QSBUPF68          |         QSBSIGWT          |
    *     +---------------------------+---------------------------+
    *  68 |         QSBSIGRT          |         QSBSIGLT          |
    *     +---------------------------+---------------------------+
    *  70 |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *
    *** QSBLK - QDIO Statistics Block

#### QSBLK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    QSB$END        0078
    QSBEQBPV       0014
    QSBEQBVM       0010
    QSBFLAG1       0000
    QSBFOBX        0028
    QSBGSB         0024
    QSBGSBAL       0020
    QSBGSL         001C
    QSBLOCK        0018
    QSBOLCK        002C
    QSBPEI05       0000 80
    QSBPEI06       0000 40
    QSBPEI08       0000 20
    QSBPEI09       0000 10
    QSBPEI10       0000 08
    QSBPPF32       0030
    QSBPPF33       0034
    QSBPPF34       0038
    QSBPPF35       003C
    QSBPPF36       0040
    QSBPPF37       0044
    QSBPPF38       0048
    QSBPPF39       004C
    QSBSIGA        0064
    QSBSIGLT       006C
    QSBSIGRT       0068
    QSBSIGWT       0064
    QSBSQBPV       000C
    QSBSQBVM       0008
    QSBUPF64       0050
    QSBUPF65       0054
    QSBUPF66       0058
    QSBUPF67       005C
    QSBUPF68       0060

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 17:19:19 EDT.
Copyright IBM Corporation, 1990, 2005