| TCHBK | Back to Index page |
|
Prolog Control Block Contents TCHBK DSECT TCHSTDFM DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
|
| TCHBK Prolog | Top of page |
NAME : HCPTCHBK
DESCRIPTION: Track Cache Hash block
DSECT : TCHBK
FUNCTION : To provide mapping of a full track cache hash
table entry.
The data is stored right in the hash table.
Open hashing scheme is used with collisions.
verview and Terminology -
The MDC HASH TABLE logically consists
of a BASE TABLE and COLLISION NODEs.
Each MDC eligible track is represented by a
unique fullword KEY. A hashing algorithm is
used to convert the key to the address of an
entry in the base table called a BASE NODE.
Although each key is unique, multiple keys may
hash to the same base node causing a
COLLISION. Collision nodes are assigned from
storage that is not part of the base table.
A TCHBK is a 3 word entity that contains
or provides access to the data structures
required to serialize and process a single
track within the Minidisk cache. A TCHBK
can appear in a base node or a collision node.
Whereas a base node consists entirely of one
TCHBK, a collision node additionally contains
a one word prefix (see below and HCPCNODE).
CREATED BY :
Individual empty entries are filled in by
HCPFTHRD. The frames that form the base hash
table is obtained by HCPFTHIN. The first
collision frame is obtained in HCPFTHIN while
subsequent frames are acquired by HCPFTHRD as
needed.
Individual entries are cleared by
HCPFTHRD, HCPFTHEX, HCPFTHDR, HCPFTHDC,
HCPFTHSD, HCPFTHUD
The collection of TCHBKs that form the actual
hash table is deleted by
HCPFTHRD, HCPFTHEX, HCPFTHDR, HCPFTHDC,
HCPFTHSD, HCPFTHIN, HCPFTHRH, HCPFTHFH,
HCPFTHQH
DELETED BY :
|
| TCHBK Control Block Content | Top of page |
|
| TCHBK Storage Layout | Top of page |
*** TCHBK - Track Cache Hash block
*
* +---------------------------+---------------------------+
* 0 | TCHKEY | TCHTKFMT |
* +-------------+------+------+---------------------------+
* 8 |/////////////|:LOCK |:TBENT| C
* +-------------+------+------+
*
*** TCHBK - Track Cache Hash block
*** TCHSTDFM - Track Cache Hash block
*
* +-------------+------+------+
* 0 | TCHCYL |TCHFRN|TCHLRN| 4
* +-------------+------+------+
*
*** TCHSTDFM - Track Cache Hash block
|
| TCHBK Cross Reference | Top of page |
Symbol Dspl Value -------------- ---- ----- TCHADRLX 0008 TCHASPAC 000B C0 TCHCOLFG 0004 00000AD4 TCHCPEBK 0008 TCHCYL 0000 TCHDEFER 000A 08 TCHEXCL 000A 07 TCHFRN 0002 TCHIXMSK 000B 3F TCHKEY 0000 TCHLKBTS 000A 0F TCHLKINC 000A 0TCHLOCK TCHLOCK 000A TCHLRN 0003 TCHMAX 000A 04 TCHMAXS 000A 06 TCHSHAR1 000A 01 TCHSIZEB 000B 0000000C TCHTBENT 000B TCHTKFMT 0004 TCHUDREQ 0008 80 TCHXSTOR 0008 80 |
Copyright IBM Corporation, 1990, 2022