qclib
Loading...
Searching...
No Matches
hcpinfbk_qclib.h
1/* Copyright IBM Corp. 2013, 2019 */
2
3struct infbk
4{
5 long int infresp; /* Minimum response buffer size @VRLDWDN */
6};
7/* Values for field "infresp" */
8#define infrcok 0 /* Success @U7128DN */
9#define infrfc 4 /* Unsupported function code @U7128DN */
10#define infrcaut 8 /* Unauthorized function code @VRLDWDN */
11#define infrcmis 12 /* Missing or invalid name @VRLDWDN */
12#define infrcnam 16 /* Specified name is unknown @VRLDWDN */
13#define infrcbuf 20 /* Response buffer is too small @VRLDWDN */
14#define infrcnxt 24 /* Next, unused return code @VRLDWDN */
15#define infcapac 0 /* FC=0 - Obtain CPU Capacity Info @U7128DN */
16#define infhyper 1 /* FC=1 - Hypervisor Environment Info@VRLDWDN */
17#define infgstl 2 /* FC=2 - Guest List @VRLDWDN */
18#define infgsti 3 /* FC=3 - Designated Guest Info @VRLDWDN */
19#define infpooll 4 /* FC=4 - Resource Pool List @VRLDWDN */
20#define infpooli 5 /* FC=5 - Designated Resource Pool */
21#define infpoolm 6 /* FC=6 - Resource Pool Member List @VRLDWDN */
22struct inf0hdr
23{
24 unsigned char infhflg1; /* Header Flag Byte 1 */
25 unsigned char infhflg2; /* Header Flag Byte 2 reserved for IBM use */
26 unsigned char infhval1; /* Header Validity Byte 1 */
27 unsigned char infhval2; /* Header Validity Byte 2 */
28 unsigned char _filler1[3]; /* Reserved for IBM use @VRLDWDN */
29 char infhygct; /* Count of reported hypervisors/ */
30 short int infhtotl; /* Total length of the response */
31 short int infhdln; /* Length of Header Section in bytes */
32 short int infmoff; /* Offset to Machine Section mapped */
33 short int infmlen; /* Length of Machine Section in bytes */
34 short int infpoff; /* Offset to Partition Section mapped */
35 short int infplen; /* Length of Partition Section in bytes */
36 union
37 {
38 long int infhygs1; /* Hypervisor/Guest Header 1 @VRLDWDN */
39 struct
40 {
41 short int infhoff1; /* Offset to Hypervisor Section 1, */
42 short int infhlen1; /* Length of Hypervisor Section 1 in */
43 short int infgoff1; /* Offset to Guest Section 1 mapped */
44 short int infglen1; /* Length of Guest Section 1 in bytes */
45 };
46 };
47 union
48 {
49 long int infhygs2; /* Hypervisor/Guest Header 2 @VRLDWDN */
50 struct
51 {
52 short int infhoff2; /* Offset to Hypervisor Section 2 */
53 short int infhlen2; /* Length of Hypervisor Section 2 in */
54 short int infgoff2; /* Offset to Guest Section 2 mapped */
55 short int infglen2; /* Length of Guest Section 2 in bytes */
56 };
57 };
58 union
59 {
60 long int infhygs3; /* Hypervisor/Guest Header 3 @VRLDWDN */
61 struct
62 {
63 short int infhoff3; /* Offset to Hypervisor Section 3 */
64 short int infhlen3; /* Length of Hypervisor Section 3 in */
65 short int infgoff3; /* Offset to Guest Section 3 mapped */
66 short int infglen3; /* Length of Guest Section 3 in bytes */
67 };
68 };
69 unsigned char _filler2[4]; /* Reserved for IBM use @VRLDWDN */
70};
71/* Values for field "infhflg1" */
72#define infgpdu 0x80 /* Global Performance Data unavailable */
73#define infsthyi 0x40 /* One or more hypervisor levels */
74#define infvsi 0x20 /* Virtualization stack is incomplete. */
75#define infbasic 0x10 /* Execution environment is not */
76/* Values for field "infhygct" */
77#define inf0ygmx 3 /* Maximum Hypervisor/Guest sections @VRLDWDN */
78/* Values for field "_filler2" */
79#define inf0hdsz 0x30 /* Size of header in bytes */
80#define inf0hdsd 0x06 /* Size of Header in doublewords @VRLDWDN */
82{
83 short int infyoff; /* Offset to Hypervisor Section */
84 short int infylen; /* Length of Hypervisor Section in */
85 short int infgoff; /* Offset to Guest Section mapped */
86 short int infglen; /* Length of Guest Section in bytes */
87};
88/* Values for field "infglen" */
89#define inf0hysz 0x08 /* Size of section description in bytes */
90#define inf0hysd 0x01 /* Size of section description in */
91struct inf0mac
92{
93 unsigned char infmflg1; /* Machine Flag Byte 1 @VRLRXDN */
94 unsigned char infmflg2; /* Machine Flag Byte 2 reserved */
95 unsigned char infmval1; /* Machine Validity Byte 1 */
96 unsigned char infmval2; /* Machine Validity Byte 2 */
97 short int infmscps; /* Count of shared CPs configured */
98 short int infmdcps; /* Count of dedicated CPs configured */
99 short int infmsifl; /* Count of shared IFLs configured */
100 short int infmdifl; /* Count of dedicated IFLs configured */
101 unsigned char infmname[8]; /* Machine Name, in EBCDIC format. */
102 unsigned char infmtype[4]; /* Machine Type, in EBCDIC format. */
103 unsigned char infmmanu[16]; /* Machine Manufacturer, in EBCDIC */
104 unsigned char infmseq[16]; /* Sequence Code, in EBCDIC format. */
105 unsigned char infmpman[4]; /* Plant of Manufacture, in EBCDIC */
106 unsigned char _filler1[4]; /* Reserved for IBM use @VRLDWDN */
107 unsigned char infmplnm[8]; /* Reserved for IBM use. @Y1302DN */
108 short int infmsziip; /* Count of shared zIIPs configured */
109 short int infmdziip; /* Count of dedicated zIIPs configured */
110 unsigned char _filler2[4]; /* Reserved for IBM use @VRLDXDN */
111};
112/* Values for field "infmflg1" */
113#define infmpool 0x80 /* Reserved for IBM use. @Y1302DN */
114/* Values for field "infmval1" */
115#define infmproc 0x80 /* Processor Count Validity */
116#define infmmid 0x40 /* Machine ID Validity */
117#define infmmnam 0x20 /* Machine Name Validity */
118#define infmplnv 0x10 /* Reserved for IBM use. @Y1302DN */
119#define infmziipv 0x08 /* Machine zIIP reporting validity. */
120/* Values for field "_filler2" */
121#define inf0msiz 0x50 /* Size of Machine Section in bytes */
122#define inf0mszd 0x0A /* Size of Machine Section in */
124{
125 unsigned char infpflg1; /* Partition Flag Byte 1 @VRKP30K */
126 unsigned char infpflg2; /* Partition Flag Byte 2 reserved for */
127 unsigned char infpval1; /* Partition Validity Byte 1 */
128 unsigned char infpval2; /* Partition Validity Byte 2 reserved */
129 short int infppnum; /* Logical Partition Number. This is */
130 short int infpscps; /* Count of shared logical CP cores @VRKP30K */
131 short int infpdcps; /* Count of dedicated logical CP cores */
132 short int infpsifl; /* Count of shared logical IFL cores @VRKP30K */
133 short int infpdifl; /* Count of dedicated logical IFL cores */
134 unsigned char _filler1[2]; /* Reserved for IBM use @VRLDWDN */
135 unsigned char infppnam[8]; /* Logical Partition Name, in EBCDIC */
136 int infpwbcp; /* Partition weight-based capped */
137 int infpabcp; /* Partition absolute capped */
138 int infpwbif; /* Partition weight-based capped */
139 int infpabif; /* Partition absolute capped */
140 unsigned char infplgnm[8]; /* LPAR Group Name (Valid if INFPLGVL) */
141 int infplgcp; /* LPAR Group Absolute Capacity */
142 int infplgif; /* LPAR Group Absolute Capacity */
143 unsigned char infpplnm[8]; /* Reserved for IBM use. @Y1302DN */
144 short int infpsziip; /* Count of shared logical zIIP cores */
145 /* configured for this partition. */
146 /* (Valid if INFPZIIPV) */
147 short int infpdziip; /* Count of dedicated logical zIIP cores */
148 /*configured for this partition. */
149 /* (Valid if INFPZIIPV) */
150 int infpwbziip; /* Partition weight-based capped */
151 /* capacity for zIIPs, a scaled */
152 /* number where X'00010000' */
153 /* represents one core. */
154 /* Cap is applicable only to shared */
155 /* processors. Zero if not capped. */
156 /* (Valid if INFPWBCC + INFPZIIPV) */
157 int infpabziip; /* Partition absolute capped */
158 /* capacity for zIIPs, a scaled */
159 /* number where X'00010000' */
160 /* represents one core. */
161 /* Cap is applicable only to shared */
162 /* processors. Zero if not capped. */
163 /* (Valid if INFPACC + INFPZIIPV) */
164 int infplgziip; /* LPAR Group Absolute Capacity */
165 /* Value for the zIIP CPU type */
166 /* when nonzero. Nonzero only when */
167 /* INFPLGNM is nonzero and a cap is */
168 /* defined for this LPAR Group for */
169 /* the zIIP CPU type. When nonzero, */
170 /* contains a scaled number where */
171 /* X'00010000' represents one core. */
172 /* (Valid if INFPLGVL + INFPZIIPV) */
173};
174/* Values for field "infpflg1" */
175#define infpmten 0x80 /* Multithreading (MT) is enabled. */
176#define infppool 0x40 /* Reserved for IBM use. @Y1302DN */
177/* Values for field "infpval1" */
178#define infpproc 0x80 /* Processor Count Validity */
179 /* This bit being on indicates that */
180 /* INFPSCPS, INFPDCPS, INFPSIFL, */
181 /* and INFPDIFL contain valid counts. */
182#define infpwbcc 0x40 /* Partition weight-based capped */
183 /* capacity validity. */
184 /* This bit being on indicates that */
185 /* INFPWBCP and INFPWBIF are valid. */
186#define infpacc 0x20 /* Partition absolute capped capacity */
187 /* validity. */
188 /* This bit being on indicates that */
189#define infppid 0x10 /* Partition ID Validity. */
190 /* This bit being on indicates that */
191 /* a SYSIB 2.2.2 was obtained from */
192 /* STSI and information reported in */
193 /* the following fields is valid: */
194 /* INFPPNUM, INFPPNAM */
195#define infplgvl 0x08 /* LPAR Group Absolute Capacity */
196 /* Capping information validity */
197 /* This bit being on indicates */
198 /* that INFPLGNM, INFPLGCP and */
199 /* INFPLGIF are valid. */
200#define infpplnv 0x04 /* Reserved for IBM use. @Y1302DN */
201#define infpziipv 0x02 /* Partition zIIP reporting validity. */
202 /* When on, INFPSZIIP, INFPDZIIP, */
203 /* INFPWBZIIP, INFPABZIIP and */
204 /* INFPLGZIIP fields are valid. */
205#define infpmtiv 0x01 /* INFPMTIV=1 indicates data is not */
206/* Values for field "infplgziip" */
207#define inf0psiz 0x50 /* Size of Partition Section in bytes */
208#define inf0pszd 0x0A /* Size of Partition Section in */
210{
211 unsigned char infyflg1; /* Hypervisor Flag Byte 1 @U7105P4 */
212 unsigned char infyflg2; /* Hypervisor Flag Byte 2 */
213 unsigned char infyval1; /* Hypervisor Validity Byte 1 @VRLDXDN */
214 unsigned char infyval2; /* Hypervisor Validity Byte 2 */
215 char infytype; /* Hypervisor type @VRLDWDN */
216 unsigned char _filler1; /* Reserved for IBM use @VRLDWDN */
217 unsigned char infycpt; /* Threads in use per CP core. @VRKP30K */
218 unsigned char infyiflt; /* Threads in use per IFL core. @VRKP30K */
219 unsigned char infysyid[8]; /* System Identifier, in EBCDIC */
220 unsigned char infyclnm[8]; /* Cluster Name, in EBCDIC format, */
221 short int infyscps; /* Number of CP cores shared by @VRKP30K */
222 short int infydcps; /* Number of CP cores dedicated @VRKP30K */
223 short int infysifl; /* Number of IFL cores shared by @VRKP30K */
224 short int infydifl; /* Number of IFL cores dedicated @VRKP30K */
225 struct
226 {
227 unsigned char infyins0; /* Function codes 0-7. @VRLDWDN */
228 unsigned char infyins1; /* Function codes 8-15. @VRLDWDN */
229 unsigned char infyins2; /* Function codes 16-23. @VRLDWDN */
230 unsigned char infyins3; /* Function codes 24-31. @VRLDWDN */
231 unsigned char infyins4; /* Function codes 32-39. @VRLDWDN */
232 unsigned char infyins5; /* Function codes 40-47. @VRLDWDN */
233 unsigned char infyins6; /* Function codes 48-55. @VRLDWDN */
234 unsigned char infyins7; /* Function codes 56-63. @VRLDWDN */
235 } infyinsf;
236 struct
237 {
238 unsigned char infyaut0; /* Function codes 0-7. @VRLDWDN */
239 unsigned char infyaut1; /* Function codes 8-15. @VRLDWDN */
240 unsigned char infyaut2; /* Function codes 16-23. @VRLDWDN */
241 unsigned char infyaut3; /* Function codes 24-31. @VRLDWDN */
242 unsigned char infyaut4; /* Function codes 32-39. @VRLDWDN */
243 unsigned char infyaut5; /* Function codes 40-47. @VRLDWDN */
244 unsigned char infyaut6; /* Function codes 48-55. @VRLDWDN */
245 unsigned char infyaut7; /* Function codes 56-63. @VRLDWDN */
246 } infyautf;
247 unsigned char infyziipt; /* Threads in use per zIIP core. */
248 unsigned char _filler2; /* Reserved for IBM use. @VRLDXDN */
249 short int infysziip; /* Number of zIIP cores shared by */
250 int _filler3; /* Reserved for IBM use. @VRLDXDN */
251};
252/* Values for field "infyflg1" */
253#define infylmcn 0x80 /* Consumption method is used to */
254#define infylmpr 0x40 /* If on, Limithard caps use */
255#define infymten 0x20 /* Hypervisor is MT-enabled. @VRLDWDN */
256/* Values for field "infyval1" */
257#define infyziipv 0x80 /* Hypervisor zIIP reporting validity. */
258#define infymtiv 0x40 /* INFYMTIV=1 indicates data is not */
259/* Values for field "infytype" */
260#define infytvm 0x01 /* z/VM is the hypervisor */
261#define infytkvm 0x02 /* KVM is the hypervisor @VRLDXDN */
262#define infytzcx 0x03 /* zCX is the hypervisor @VRLDXDN */
263/* Values for field "infyins0" */
264#define infyfccp 0x80 /* FC=0 - Obtain CPU Capacity Info. @VRLDWDN */
265#define infyfhyp 0x40 /* FC=1 - Hypervisor Environment Info@VRLDWDN */
266#define infyfgls 0x20 /* FC=2 - Guest List @VRLDWDN */
267#define infyfgst 0x10 /* FC=3 - Designated Guest Info @VRLDWDN */
268#define infyfpls 0x08 /* FC=4 - Resource Pool List @VRLDWDN */
269#define infyfpds 0x04 /* FC=5 - Designated Resource Pool */
270#define infyfpml 0x02 /* FC=6 - Resource Pool Member List @VRLDWDN */
271/* Values for field "_filler3" */
272#define inf0ysiz 0x38 /* Size of Hypervisor Section in bytes */
273#define inf0yszd 0x07 /* Size of Hypervisor Section in */
275{
276 unsigned char infgflg1; /* Guest Flag Byte 1 */
277 unsigned char infgflg2; /* Guest Flag Byte 2 */
278 unsigned char infgval1; /* Guest Validity Byte 1 @VRLDXDN */
279 unsigned char infgval2; /* Guest Validity Byte 2 */
280 unsigned char infgusid[8]; /* Guest's userid, in EBCDIC format */
281 short int infgscps; /* Number of guest shared CPs */
282 short int infgdcps; /* Number of guest dedicated CPs */
283 unsigned char infgcpdt; /* Dispatch type for guest CPs */
284 unsigned char _filler1[3]; /* Reserved for IBM use @VRLDWDN */
285 int infgcpcc; /* Guest current capped capacity for */
286 short int infgsifl; /* Number of guest shared IFLs */
287 short int infgdifl; /* Number of guest dedicated IFLs */
288 unsigned char infgifdt; /* Dispatch type for guest IFLs. This */
289 unsigned char _filler2[3]; /* Reserved for IBM use @VRLDWDN */
290 int infgifcc; /* Guest current capped capacity for */
291 unsigned char infgpflg; /* Resource Pool Capping Flags @VRLDWDN */
292 unsigned char _filler3[3]; /* Reserved for IBM use @VRLDWDN */
293 unsigned char infgpnam[8]; /* Resource pool name. Blanks if not */
294 int infgpccc; /* Resource pool capped capacity for */
295 int infgpicc; /* Resource pool capped capacity for */
296 short int infgsziip; /* Number of guest shared zIIPs. */
297 unsigned char infgziipdt; /* Dispatch type for guest zIIPs. This */
298 unsigned char _filler4; /* Reserved for IBM use. @VRLDXDN */
299 int infgziipcc; /* Guest current capped capacity for */
300 int infgpzcc; /* Resource pool capped capacity for */
301 int _filler5; /* Reserved for IBM use. @VRLDXDN */
302};
303/* Values for field "infgflg1" */
304#define infgmob 0x80 /* Guest mobility is enabled. @U7405P4 */
305#define infgmcpt 0x40 /* Guest has multiple CPU types */
306#define infgcplh 0x20 /* Guest CP dispatch type has */
307#define infgiflh 0x10 /* Guest IFL dispatch type has */
308#define infgvcpt 0x08 /* Virtual CPs are thread dispatched. */
309#define infgvift 0x04 /* Virtual IFLs are thread dispatched */
310#define infgziiph 0x02 /* Guest zIIP dispatch type has */
311#define infgvziipt 0x01 /* Virtual zIIPs are thread dispatched. */
312/* Values for field "infgval1" */
313#define infgziipv 0x80 /* Guest zIIP reporting validity. */
314#define infgmtiv 0x40 /* INFGMTIV=1 indicates data is not */
315/* Values for field "infgifdt" */
316#define infgpuccp 0x00 /* General Purpose (CP) @VRLDWDN */
317#define infgpucifl 0x03 /* Integrated Fac for Linux (IFL). @VRLDWDN */
318#define infgpuczip 0x05 /* zSeries Integrated Information */
319#define infgpuczcp 0xFF /* May be dispatched on zIIP and CP */
320/* Values for field "infgpflg" */
321#define infgpclh 0x80 /* Resource Pool's CP virtual type */
322#define infgpcpc 0x40 /* Resource Pool's CP virtual type */
323#define infgpilh 0x20 /* Resource Pool's IFL virtual type */
324#define infgpifc 0x10 /* Resource Pool's IFL virtual type */
325#define infprctm 0x08 /* Resource Pool uses prorated core */
326#define infgpzlh 0x04 /* Resource Pool's zIIP virtual type */
327#define infgpzpc 0x02 /* Resource Pool's zIIP virtual type */
328/* Values for field "_filler5" */
329#define inf0gsiz 0x48 /* Size of Guest Section in bytes */
330#define inf0gszd 0x09 /* Size of Guest Section in */
332{
333 short int infcvrsn; /* Version number indicating the */
334 short int infchdln; /* Length of the full header that */
335 int infctotl; /* Total length of the actual data */
336 short int infcrqsz; /* Required buffer size as a number */
337 short int infclsof; /* Offset to start of list from the */
338 short int infcenln; /* Length of list entry. @VRLDWDN */
339 short int _filler1; /* Reserved for IBM use @VRLDWDN */
340 int infccten; /* Count of list entries. @VRLDWDN */
341 int _filler2; /* Reserved for IBM use @VRLDWDN */
342 double _filler3[3]; /* Reserved for IBM use @VRLDWDN */
343 double infcfcus[2]; /* Function code-specific section. */
344};
345/* Values for field "infcfcus" */
346#define infcsb1 0x40 /* Version 1 length in bytes */
347#define infcsd1 0x08 /* Version 1 length in doublewords */
348struct inf1bk
349{
350 union
351 {
352 unsigned char inf1chdr[64]; /* Common section of header mapped */
353 struct
354 {
355 short int inf1vrsn; /* Response buffer version. @UB040DN */
356 unsigned char _filler1[62];
357 };
358 };
359 unsigned char inf1hfl1; /* Header Flag Byte 1 */
360 unsigned char inf1hfl2; /* Reserved for IBM use @VRLDWDN */
361 unsigned char inf1hvl1; /* Reserved for IBM use @VRLDWDN */
362 unsigned char inf1hvl2; /* Reserved for IBM use @VRLDWDN */
363 int _filler2; /* Reserved for IBM use @VRLDWDN */
364 char inf1hygc; /* Count of reported hypervisors/ */
365 short int inf1moff; /* Offset from start of INF1BK */
366 short int inf1mlen; /* Length of Machine Section in bytes@VRLDWDN */
367 short int inf1poff; /* Offset from start of INF1BK */
368 short int inf1plen; /* Len of Partition Section in bytes @VRLDWDN */
369 struct
370 {
371 short int inf1yof1; /* Offset from start of INF1BK */
372 short int inf1yln1; /* Length of Hypervisor Section 1 in */
373 short int inf1yvr1; /* Version number of this hypervisor */
374 short int _filler3; /* Reserved for IBM use. @VRLDWDN */
375 short int inf1gof1; /* Offset from start of INF1BK */
376 short int inf1gln1; /* Length of Guest Section 1 in bytes@VRLDWDN */
377 short int inf1gvr1; /* Version number of this guest */
378 short int _filler4; /* Reserved for IBM use. @VRLDWDN */
379 } inf1hyg1;
380 struct
381 {
382 short int inf1yof2; /* Offset from start of INF1BK */
383 short int inf1yln2; /* Length of Hypervisor Section 2 in */
384 short int inf1yvr2; /* Version number of this hypervisor */
385 short int _filler5; /* Reserved for IBM use. @VRLDWDN */
386 short int inf1gof2; /* Offset from start of INF1BK */
387 short int inf1gln2; /* Length of Guest Section 2 in bytes@VRLDWDN */
388 short int inf1gvr2; /* Version number of this guest */
389 short int _filler6; /* Reserved for IBM use. @VRLDWDN */
390 } inf1hyg2;
391 struct
392 {
393 short int inf1yof3; /* Offset from start of INF1BK */
394 short int inf1yln3; /* Length of Hypervisor Section 3 in */
395 short int inf1yvr3; /* Version number of this hypervisor */
396 short int _filler7; /* Reserved for IBM use. @VRLDWDN */
397 short int inf1gof3; /* Offset from start of INF1BK */
398 short int inf1gln3; /* Length of Guest Section 3 in bytes@VRLDWDN */
399 short int inf1gvr3; /* Version number of this guest */
400 short int _filler8; /* Reserved for IBM use. @VRLDWDN */
401 } inf1hyg3;
402};
403/* Values for field "inf1vrsn" */
404#define inf1v00001 0x01 /* Initial version. APAR VM66105. @VRLDWDN */
405/* Values for field "inf1hfl1" */
406#define inf1gpdu 0x80 /* Global Performance Data unavailable. */
407#define inf1sthy 0x40 /* One or more hypervisor levels */
408#define inf1vsi 0x20 /* Virtualization stack is incomplete. */
409#define inf1basc 0x10 /* Execution environment is not */
410#define inf1fcfc 0x08 /* A lower level hypervisor supports */
411#define inf1fcau 0x04 /* A lower level hypervisor supports */
412/* Values for field "inf1hygc" */
413#define inf1ygmx 3 /* Maximum Hypervisor/Guest sections @VRLDWDN */
414/* Values for field "_filler8" */
415#define inf1bsb1 0x80 /* Version 1 length in bytes */
416#define inf1bsd1 0x10 /* Version 1 length in doublewords */
418{
419 short int inf1yoff; /* Offset from start of INF1BK */
420 short int inf1ylen; /* Length of Hypervisor Section in */
421 short int inf1yvrs; /* Version number of this hypervisor */
422 short int _filler1; /* Reserved for IBM use. @VRLDWDN */
423 short int inf1goff; /* Offset from start of INF1BK */
424 short int inf1glen; /* Length of Guest Section in bytes @VRLDWDN */
425 short int inf1gvrs; /* Version number of this guest */
426 short int _filler2; /* Reserved for IBM use. @VRLDWDN */
427};
428/* Values for field "_filler2" */
429#define inf1ygb1 0x10 /* Version 1 length in bytes */
430#define inf1ygd1 0x02 /* Version 1 length in doublewords */
432{
433 unsigned char inf1mfl1; /* Machine Flag Byte 1 @VRLDWDN */
434 unsigned char inf1mfl2; /* Machine Flag Byte 2 */
435 unsigned char inf1mvl1; /* Machine Field Validity Byte 1 @VRLDWDN */
436 unsigned char inf1mvl2; /* Reserved for IBM use @VRLDWDN */
437 short int inf1mscp; /* Count of shared CPs configured */
438 short int inf1mdcp; /* Count of dedicated CPs configured */
439 short int inf1msif; /* Count of shared IFLs configured */
440 short int inf1mdif; /* Count of dedicated IFLs configured */
441 unsigned char inf1mtyp[4]; /* Machine Type, in EBCDIC format. */
442 unsigned char inf1mnam[8]; /* Machine Name, in EBCDIC format. */
443 unsigned char inf1mman[16]; /* Machine Manufacturer, in EBCDIC */
444 unsigned char inf1mseq[16]; /* Sequence Code, in EBCDIC format. */
445 unsigned char inf1mpma[4]; /* Plant of Manufacture, in EBCDIC */
446 int _filler1; /* Reserved for IBM use @VRLDWDN */
447 unsigned char inf1mplnm[8]; /* Reserved for IBM use. @VRLDWDN */
448};
449/* Values for field "inf1mfl1" */
450#define inf1mpool 0x80 /* Reserved for IBM use. @VRLDWDN */
451/* Values for field "inf1mvl1" */
452#define inf1mproc 0x80 /* Processor Count Validity */
453#define inf1midv 0x40 /* Machine ID Validity */
454#define inf1mnmv 0x20 /* Machine Name Validity */
455#define inf1mplnv 0x10 /* Reserved for IBM use. @VRLDWDN */
456/* Values for field "inf1mplnm" */
457#define inf1msb1 0x48 /* Version 1 length in bytes */
458#define inf1msd1 0x09 /* Version 1 length in doublewords */
460{
461 unsigned char inf1pfl1; /* Partition Flag Byte 1 @VRLDWDN */
462 unsigned char inf1pfl2; /* Partition Flag Byte 2 reserved for */
463 unsigned char inf1pvl1; /* Partition Field Validity Byte 1 @VRLDWDN */
464 unsigned char inf1pvl2; /* Reserved for IBM use @VRLDWDN */
465 short int inf1pscp; /* Count of shared logical CP cores */
466 short int inf1pdcp; /* Count of dedicated logical CP cores */
467 short int inf1psif; /* Count of shared logical IFL cores */
468 short int inf1pdif; /* Count of dedicated logical IFL cores */
469 short int inf1ppnu; /* Logical Partition Number. This is */
470 char inf1pcmod; /* Logical Partition Config Mode. @VRLDWDN */
471 char inf1prcpu; /* Partition primary CPU type. Valid */
472 unsigned char inf1ppna[8]; /* Logical Partition Name, in EBCDIC */
473 int inf1pwbc; /* Partition weight-based capped */
474 int inf1pabc; /* Partition absolute capped */
475 int inf1pwbi; /* Partition weight-based capped */
476 int inf1pabi; /* Partition absolute capped */
477 unsigned char inf1plgn[8]; /* LPAR Group Name (Valid if INF1PLGV) */
478 int inf1plgc; /* LPAR Group Absolute Capacity */
479 int inf1plgi; /* LPAR Group Absolute Capacity */
480 unsigned char inf1pplnm[8]; /* Reserved for IBM use. @VRLDWDN */
481 int inf1penc; /* Partition Entitled Capacity */
482 int inf1peni; /* Partition Entitled Capacity */
483 long int inf1psxca; /* Partition calculated Share of */
484 long int inf1psxia; /* Partition calculated Share of */
485 int inf1psxcc; /* Count of intervals aggregated in */
486 int inf1psxic; /* Count of intervals aggregated in */
487 long int inf1pucpa; /* Partition Calculated Utilization */
488 long int inf1puifa; /* Partition Calculated Utilization */
489 int inf1pucpc; /* Count of intervals aggregated in */
490 int inf1puifc; /* Count of intervals aggregated in */
491 long int inf1pguca; /* LPAR Group Utilization */
492 long int inf1pguia; /* LPAR Group Utilization */
493 int inf1pgucc; /* Count of intervals aggregated in */
494 int inf1pguic; /* Count of intervals aggregated in */
495 long int inf1putod; /* Host TOD value at the time when */
496 long int inf1pactc; /* Aggregate number of microseconds */
497 long int inf1plptc; /* Aggregate number of microseconds */
498 long int inf1poltc; /* Aggregate number of microseconds */
499 long int inf1pwttc; /* Aggregate number of microseconds */
500 long int inf1pmtic; /* Aggregate number of microseconds */
501 long int inf1pacti; /* Aggregate number of microseconds */
502 long int inf1plpti; /* Aggregate number of microseconds */
503 long int inf1polti; /* Aggregate number of microseconds */
504 long int inf1pwtti; /* Aggregate number of microseconds */
505 long int inf1pmtii; /* Aggregate number of microseconds */
506};
507/* Values for field "inf1pfl1" */
508#define inf1pmte 0x80 /* Multithreading (MT) is enabled @VRLDWDN */
509#define inf1ppool 0x40 /* Reserved for IBM use. @VRLDWDN */
510#define inf1pwtfl 0x20 /* Wait Completion flag is set. This */
511/* Values for field "inf1pvl1" */
512#define inf1pprc 0x80 /* Processor Configuration Validity. */
513#define inf1pwcv 0x40 /* Partition weight-based capped */
514#define inf1pacc 0x20 /* Partition absolute capped capacity */
515#define inf1pidv 0x10 /* Partition ID Validity. */
516#define inf1plgv 0x08 /* LPAR Group Absolute Capacity */
517#define inf1pplnv 0x04 /* Reserved for IBM use. @VRLDWDN */
518#define inf1penv 0x02 /* Partition Entitlement and */
519#define inf1putv 0x01 /* Partition Core Utilization and */
520/* Values for field "inf1pcmod" */
521#define inf1pcmgn 0x80 /* General (ESA390) logical */
522#define inf1pcmli 0x40 /* Linux logical configuration mode @VRLDWDN */
523#define inf1pcmvm 0x20 /* VM logical configuration mode @VRLDWDN */
524#define inf1pcmcf 0x10 /* CF logical configuration mode @VRLDWDN */
525/* Values for field "inf1prcpu" */
526#define inf1puccp 0x00 /* General Purpose (CP) @VRLDWDN */
527#define inf1pucifl 0x03 /* Integrated Fac for Linux (IFL). @VRLDWDN */
528/* Values for field "inf1pmtii" */
529#define inf1psb1 0xE8 /* Version 1 length in bytes */
530#define inf1psd1 0x1D /* Version 1 length in doublewords */
532{
533 unsigned char inf1yfl1; /* Hypervisor Flag Byte 1 @VRLDWDN */
534 unsigned char inf1yfl2; /* Hypervisor Flag Byte 2 */
535 unsigned char inf1yvl1; /* Reserved for IBM use @VRLDWDN */
536 unsigned char inf1yvl2; /* Reserved for IBM use @VRLDWDN */
537 char inf1ytyp; /* Hypervisor type @VRLDWDN */
538 unsigned char _filler1; /* Reserved for IBM use @VRLDWDN */
539 unsigned char inf1ycpt; /* Threads in use per CP core. */
540 unsigned char inf1yift; /* Threads in use per IFL core. */
541 unsigned char inf1ysid[8]; /* System Identifier, in EBCDIC */
542 unsigned char inf1ycln[8]; /* Cluster Name, in EBCDIC format, */
543 short int inf1yscp; /* Number of CP cores shared by */
544 short int inf1ydcp; /* Number of CP cores dedicated */
545 short int inf1ysif; /* Number of IFL cores shared by */
546 short int inf1ydif; /* Number of IFL cores dedicated */
547 int inf1yasc; /* Sum of absolute shares for all */
548 int inf1yasi; /* Sum of absolute shares for all */
549 int inf1yrsc; /* Sum of relative shares for all */
550 int inf1yrsi; /* Sum of relative shares for all */
551 int inf1ylcc; /* Approximate count of adds to */
552 int inf1ylci; /* Approximate count of adds to */
553 int inf1ymonh; /* Current Monitor high-frequency (HF) */
554 char inf1ypkf; /* HiperDispatch Unparking setting. */
555 char inf1yxusc; /* SRM EXCESSUSE for General (CP) */
556 char inf1yxusi; /* SRM EXCESSUSE for IFL processor */
557 unsigned char _filler2; /* Reserved for IBM use @VRLDWDN */
558 int inf1ypadc; /* SRM CPUPAD value, a scaled number */
559 int inf1ypadi; /* SRM CPUPAD value, a scaled number */
560 long int inf1yutod; /* TOD value at the start of the */
561 long int inf1yutc; /* Total CPU time in microseconds */
562 long int inf1yuti; /* Total CPU time in microseconds */
563 long int inf1ystc; /* Total CPU time in microseconds */
564 long int inf1ysti; /* Total CPU time in microseconds */
565 long int inf1ywtc; /* Total elapsed time in microseconds */
566 long int inf1ywti; /* Total elapsed time in microseconds */
567 long int inf1yptc; /* Total elapsed time in microseconds */
568 long int inf1ypti; /* Total elapsed time in microseconds */
569};
570/* Values for field "inf1yfl1" */
571#define inf1ylmc 0x80 /* Consumption method is used to */
572#define inf1ylmp 0x40 /* If on, Limithard caps use */
573#define inf1ymte 0x20 /* Hypervisor is MT-enabled. @VRLDWDN */
574#define inf1yvrt 0x10 /* Vertical polarization is in use. */
575/* Values for field "inf1ytyp" */
576#define inf1ytvm 0x01 /* z/VM is the hypervisor @VRLDWDN */
577/* Values for field "inf1ypkf" */
578#define inf1yplg 0x00 /* SRM UNPARKING LARGE (default) @VRLDWDN */
579#define inf1ypmd 0x01 /* SRM UNPARKING MEDIUM @VRLDWDN */
580#define inf1ypsm 0x02 /* SRM UNPARKING SMALL @VRLDWDN */
581/* Values for field "inf1yxusc" */
582#define inf1yxhi 16 /* -Indicates the system should be */
583#define inf1yxmd 8 /* -Indicates the system should be */
584#define inf1yxlo 1 /* -Indicates the system should not */
585#define inf1yxno 2 /* -Indicates the system should not */
586/* Values for field "inf1ypti" */
587#define inf1ysb1 0x90 /* Version 1 length in bytes */
588#define inf1ysd1 0x12 /* Version 1 length in doublewords */
590{
591 unsigned char inf1gsti[320]; /* Mapped by INF3GST which lacks the */
592};
593/* Values for field "inf1gsti" */
594#define inf1gsb1 0x140 /* Version 1 length in bytes */
595#define inf1gsd1 0x28 /* Version 1 length in doublewords */
596struct inf2bk
597{
598 union
599 {
600 unsigned char inf2chdr[64]; /* Common section of header mapped */
601 struct
602 {
603 short int inf2vrsn; /* Response buffer version. @UB040DN */
604 unsigned char _filler1[62];
605 };
606 };
607};
608/* Values for field "inf2vrsn" */
609#define inf2v00001 0x01 /* Initial version. APAR VM66105. @VRLDWDN */
610#define inf2bsb1 0x40 /* Version 1 length in bytes */
611#define inf2bsd1 0x08 /* Version 1 length in doublewords */
613{
614 unsigned char inf2guid[8]; /* Guest's userid, in EBCDIC format. @VRLDWDN */
615 unsigned char inf2gacn[8]; /* User accounting number in EBCDIC */
616 int inf2gtod; /* Bits 0-31 of host TOD at guest */
617 unsigned char inf2gflg; /* Guest list entry flag byte 1. @VRLDWDN */
618 char inf2gcmod; /* Virtual Configuration Mode @VRLDWDN */
619 unsigned char inf2gaffn; /* Guest CPUAFFINITY settings. @VRLDWDN */
620 unsigned char inf2gprtp; /* Guest primary virtual CPU type. @VRLDWDN */
621 unsigned char inf2gprdt; /* Guest primary vCPU dispatch type. @VRLDWDN */
622 unsigned char _filler1[7]; /* Reserved for IBM use. @VRLDWDN */
623};
624/* Values for field "inf2gflg" */
625#define inf2glini 0x08 /* Guest identified itself as running */
626#define inf2glinh 0x04 /* Guest may be running Linux based */
627/* Values for field "inf2gcmod" */
628#define inf2gcmgn 0x80 /* General (ESA390) virtual */
629#define inf2gcmli 0x40 /* Linux virtual configuration mode @VRLDWDN */
630#define inf2gcmvm 0x20 /* VM virtual configuration mode @VRLDWDN */
631#define inf2gcmcf 0x10 /* CF virtual configuration mode @VRLDWDN */
632/* Values for field "inf2gaffn" */
633#define inf2gafon 0x80 /* CPUAFFINITY is ON, but may be */
634#define inf2gafsup 0x40 /* CPUAFFINTY is suppressed. @VRLDWDN */
635/* Values for field "inf2gprtp" */
636#define inf2puccp 0x00 /* General Purpose (CP) @VRLDWDN */
637#define inf2pucifl 0x03 /* Integrated Fac for Linux (IFL). @VRLDWDN */
638/* Values for field "_filler1" */
639#define inf2gsb1 0x20 /* Version 1 length in bytes */
640#define inf2gsd1 0x04 /* Version 1 length in doublewords */
641struct inf3bk
642{
643 union
644 {
645 unsigned char inf3chdr[64]; /* Common section of header mapped */
646 struct
647 {
648 short int inf3vrsn; /* Response buffer version. @UB040DN */
649 unsigned char _filler1[62];
650 };
651 };
652 unsigned char inf3gsti[320]; /* Guest Information section */
653};
654/* Values for field "inf3vrsn" */
655#define inf3v00001 0x01 /* Initial version. APAR VM66105. @VRLDWDN */
656/* Values for field "inf3gsti" */
657#define inf3bsb1 0x180 /* Version 1 length in bytes */
658#define inf3bsd1 0x30 /* Version 1 length in doublewords */
660{
661 unsigned char inf3guid[8]; /* Guest's userid, in EBCDIC format. @VRLDWDN */
662 unsigned char inf3gacn[8]; /* User accounting number in EBCDIC */
663 unsigned char inf3gflg; /* Guest Flag Byte @VRLDWDN */
664 unsigned char inf3gval; /* Reserved for IBM use @VRLDWDN */
665 char inf3gcmod; /* Virtual Configuration Mode @VRLDWDN */
666 unsigned char inf3gprtp; /* Guest primary virtual CPU type. @VRLDWDN */
667 int inf3gtod; /* Bits 0-31 of host TOD at guest */
668 unsigned char inf3gpna[8]; /* Resource pool name. Blanks if not */
669 int inf3giwsc; /* I/O Wait Samples for CPs. */
670 int inf3gcfsc; /* Console Function Wait samples */
671 int inf3gsmsc; /* Simulation Wait samples for CPs. */
672 int inf3gpwsc; /* Page Wait Samples for CPs. */
673 int inf3glsc; /* Limit list Samples for CPs. */
674 int inf3gdsc; /* CPU Delay Samples for CPs. */
675 int inf3gcsc; /* CPU Using Samples for CPs. */
676 int inf3gessc; /* E-list SVM Wait Samples for CPs. */
677 int inf3gldsc; /* Loading User Samples for CPs. */
678 int inf3gdlsc; /* Dormant User Samples for CPs. */
679 int inf3gdssc; /* SVM Wait Samples for CPs. */
680 int inf3giasc; /* I/O Active Samples for CPs. */
681 int inf3gtisc; /* Test Idle Samples for CPs. */
682 int inf3gtssc; /* Test Idle & SVM Wait Samples for */
683 int inf3gpasc; /* Page Fault Active Samples for */
684 int inf3gosc; /* Other Samples for CPs. */
685 int inf3gtsc; /* Total Samples for CPs. */
686 int inf3giwsi; /* I/O Wait Samples for IFLs. */
687 int inf3gcfsi; /* Console Function Wait samples */
688 int inf3gsmsi; /* Simulation Wait samples for IFLs. */
689 int inf3gpwsi; /* Page Wait Samples for IFLs. */
690 int inf3glsi; /* Limit list Samples for IFLs. */
691 int inf3gdsi; /* CPU Delay Samples for IFLs. */
692 int inf3gcsi; /* CPU Using Samples for IFLs. */
693 int inf3gessi; /* E-list SVM Wait Samples for IFLs. */
694 int inf3gldsi; /* Loading User Samples for IFLs. */
695 int inf3gdlsi; /* Dormant User Samples for IFLs. */
696 int inf3gdssi; /* SVM Wait Samples for IFLs. */
697 int inf3giasi; /* I/O Active Samples for IFLs. */
698 int inf3gtisi; /* Test Idle Samples for IFLs. */
699 int inf3gtssi; /* Test Idle & SVM Wait Samples for */
700 int inf3gpasi; /* Page Fault Active Samples for */
701 int inf3gosi; /* Other Samples for IFLs. */
702 int inf3gtsi; /* Total Samples for IFLs. */
703 unsigned char inf3cflg; /* Guest CPU Flag Byte @VRLDWDN */
704 unsigned char inf3caffn; /* Guest CPUAFFINITY settings. @VRLDWDN */
705 short int inf3cmcpu; /* Maximum number of guest CPUs */
706 int _filler1; /* Reserved for IBM use. @VRLDWDN */
707 long int inf3ctcpp; /* Total virtual and simulation time */
708 long int inf3ctcps; /* Total virtual and simulation time */
709 long int inf3ctcrp; /* Total virtual and simulation time */
710 long int inf3ctcrs; /* Total virtual and simulation time */
711 short int inf3cscp; /* Number of guest shared CPs. @VRLDWDN */
712 short int inf3cdcp; /* Number of guest dedicated CPs. @VRLDWDN */
713 short int inf3crcp; /* Number of non-stopped guest CPs. @VRLDWDN */
714 short int _filler2; /* Reserved for IBM use. @VRLDWDN */
715 unsigned char inf3ccdt; /* Dispatch type for guest CPs */
716 unsigned char inf3ccscf; /* Current share flags for CPs. @VRLDWDN */
717 unsigned char inf3ciscf; /* Initial share flags for CPs. @VRLDWDN */
718 unsigned char _filler3; /* Reserved for IBM use @VRLDWDN */
719 int inf3ccnsc; /* Current normal relative share */
720 int inf3ccasc; /* Current ABSOLUTE share for */
721 int inf3ccmsc; /* Current Max share for CP-dispatched */
722 int inf3cinsc; /* Initial (logon) normal relative */
723 int inf3ciasc; /* Initial (logon) ABSOLUTE share */
724 int inf3cimsc; /* Initial (logon) Max share for */
725 int _filler4; /* Reserved for IBM use. @VRLDWDN */
726 long int inf3ctipp; /* Total virtual and simulation time */
727 long int inf3ctips; /* Total virtual and simulation time */
728 long int inf3ctirp; /* Total virtual and simulation time */
729 long int inf3ctirs; /* Total virtual and simulation time */
730 short int inf3csif; /* Number of guest shared IFLs. @VRLDWDN */
731 short int inf3cdif; /* Number of guest dedicated IFLs. @VRLDWDN */
732 short int inf3crif; /* Number of non-stopped guest IFLs. @VRLDWDN */
733 short int _filler5; /* Reserved for IBM use. @VRLDWDN */
734 unsigned char inf3cidt; /* Dispatch type for guest IFLs. */
735 unsigned char inf3ccsif; /* Current share flags for IFLs. @VRLDWDN */
736 unsigned char inf3cisif; /* Initial share flags for IFLs. @VRLDWDN */
737 unsigned char _filler6; /* Reserved for IBM use @VRLDWDN */
738 int inf3ccnsi; /* Current normal relative share for */
739 int inf3ccasi; /* Current ABSOLUTE share for */
740 int inf3ccmsi; /* Current Max share for IFL-dispatched */
741 int inf3cinsi; /* Initial (logon) normal relative */
742 int inf3ciasi; /* Initial (logon) ABSOLUTE share */
743 int inf3cimsi; /* Initial (logon) Max share for */
744 int _filler7; /* Reserved for IBM use. @VRLDWDN */
745};
746/* Values for field "inf3gflg" */
747#define inf3gmob 0x80 /* Guest mobility is enabled. @VRLDWDN */
748#define inf3glini 0x08 /* Guest identified itself as running */
749#define inf3glinh 0x04 /* Guest may be running Linux based */
750/* Values for field "inf3gcmod" */
751#define inf3gcmgn 0x80 /* General (ESA390) virtual */
752#define inf3gcmli 0x40 /* Linux virtual configuration mode @VRLDWDN */
753#define inf3gcmvm 0x20 /* VM virtual configuration mode @VRLDWDN */
754#define inf3gcmcf 0x10 /* CF virtual configuration mode @VRLDWDN */
755/* Values for field "inf3gprtp" */
756#define inf3puccp 0x00 /* General Purpose (CP) @VRLDWDN */
757#define inf3pucifl 0x03 /* Integrated Fac for Linux (IFL). @VRLDWDN */
758/* Values for field "inf3cflg" */
759#define inf3cmct 0x40 /* Guest has multiple CPU types @VRLDWDN */
760#define inf3cvct 0x20 /* Virtual CPs are thread dispatched @VRLDWDN */
761#define inf3cvit 0x10 /* Virtual IFLs are thread dispatched@VRLDWDN */
762/* Values for field "inf3caffn" */
763#define inf3cafon 0x80 /* CPUAFFINITY is ON, but may be */
764#define inf3cafsup 0x40 /* CPUAFFINTY is suppressed. @VRLDWDN */
765/* Values for field "inf3ccscf" */
766#define inf3cclhc 0x40 /* Current max share for CP-dispatched */
767#define inf3ccnac 0x20 /* Current normal share for CP-dispatched */
768#define inf3ccmac 0x10 /* Current max share for CP-dispatched */
769/* Values for field "inf3ciscf" */
770#define inf3cilhc 0x40 /* Initial max share for CP-dispatched */
771#define inf3cinac 0x20 /* Initial normal share for CP-dispatched */
772#define inf3cimac 0x10 /* Initial max share for CP-dispatched */
773/* Values for field "inf3ccsif" */
774#define inf3cclhi 0x40 /* Current max share for IFL-dispatched */
775#define inf3ccnai 0x20 /* Current normal share for IFL-dispatched */
776#define inf3ccmai 0x10 /* Current max share for IFL-dispatched */
777/* Values for field "inf3cisif" */
778#define inf3cilhi 0x40 /* Initial max share for IFL-dispatched */
779#define inf3cinai 0x20 /* Initial normal share for IFL-dispatched */
780#define inf3cimai 0x10 /* Initial max share for IFL-dispatched */
781/* Values for field "_filler7" */
782#define inf3gsb1 0x140 /* Version 1 length in bytes */
783#define inf3gsd1 0x28 /* Version 1 length in doublewords */
784struct inf4bk
785{
786 union
787 {
788 unsigned char inf4chdr[64]; /* Common section of header mapped */
789 struct
790 {
791 short int inf4vrsn; /* Response buffer version. @UB040DN */
792 unsigned char _filler1[62];
793 };
794 };
795};
796/* Values for field "inf4vrsn" */
797#define inf4v00001 0x01 /* Initial version. APAR VM66105. @VRLDWDN */
798#define inf4bsb1 0x40 /* Version 1 length in bytes */
799#define inf4bsd1 0x08 /* Version 1 length in doublewords */
801{
802 unsigned char inf4pnam[8]; /* Resource Pool name. @VRLDWDN */
803 unsigned char inf4pcre[8]; /* Resource Pool creator userid. @VRLDWDN */
804};
805/* Values for field "inf4pcre" */
806#define inf4psb1 0x10 /* Version 1 length in bytes */
807#define inf4psd1 0x02 /* Version 1 length in doublewords */
808struct inf5bk
809{
810 union
811 {
812 unsigned char inf5chdr[64]; /* Common section of header mapped */
813 struct
814 {
815 short int inf5vrsn; /* Response buffer version. @UB040DN */
816 unsigned char _filler1[62];
817 };
818 };
819 unsigned char inf5plna[8]; /* Resource pool name. @VRLDWDN */
820 unsigned char inf5pcre[8]; /* Resource Pool creator's user ID. @VRLDWDN */
821 long int inf5stmp; /* Host TOD value at the time of the */
822 unsigned char inf5cflg; /* Resource Pool CPU Capping Flags @VRLDWDN */
823 unsigned char _filler2[3]; /* Reserved for IBM use. @VRLDWDN */
824 int inf5clim; /* Resource pool maximum share for */
825 long int inf5ctim; /* Total Time consumed by guests vCPUs */
826 int inf5clmn; /* Total number of times the Resource */
827 int inf5cctl; /* Total number of times vCPUs of */
828 long int inf5ctml; /* Total time limited for vCPUs of all */
829 int inf5cifla; /* IFL CPUAFFINITY toggle sequence */
830 int _filler3; /* Reserved for IBM use. @VRLDWDN */
831};
832/* Values for field "inf5vrsn" */
833#define inf5v00001 0x01 /* Initial version. APAR VM66105. @VRLDWDN */
834/* Values for field "inf5cflg" */
835#define inf5cclc 0x80 /* Resource Pool's CP virtual type */
836#define inf5cccc 0x40 /* Resource Pool's CP virtual type */
837#define inf5cilc 0x20 /* Resource Pool's IFL virtual type */
838#define inf5cicc 0x10 /* Resource Pool's IFL virtual type */
839#define inf5cpct 0x08 /* Resource Pool uses prorated core */
840#define inf5csup 0x04 /* IFL CPUAFFINITY is suppressed. */
841/* Values for field "_filler3" */
842#define inf5bsb1 0x80 /* Version 1 length in bytes */
843#define inf5bsd1 0x10 /* Version 1 length in doublewords */
844struct inf6bk
845{
846 union
847 {
848 unsigned char inf6chdr[64]; /* Common section of header mapped */
849 struct
850 {
851 short int inf6vrsn; /* Response buffer version. @UB040DN */
852 unsigned char _filler1[62];
853 };
854 };
855 unsigned char inf6plna[8]; /* Resource pool name. @VRLDWDN */
856};
857/* Values for field "inf6vrsn" */
858#define inf6v00001 0x01 /* Initial version. APAR VM66105. @VRLDWDN */
859/* Values for field "inf6plna" */
860#define inf6bsb1 0x48 /* Version 1 length in bytes */
861#define inf6bsd1 0x09 /* Version 1 length in doublewords */
863{
864 unsigned char inf6mnam[8]; /* Resource Pool member name. @VRLDWDN */
865};
866/* Values for field "inf6mnam" */
867#define inf6msb1 0x08 /* Version 1 length in bytes */
868#define inf6msd1 0x01 /* Version 1 length in doublewords */
Definition hcpinfbk_qclib.h:275
Definition hcpinfbk_qclib.h:23
Definition hcpinfbk_qclib.h:82
Definition hcpinfbk_qclib.h:210
Definition hcpinfbk_qclib.h:92
Definition hcpinfbk_qclib.h:124
Definition hcpinfbk_qclib.h:349
Definition hcpinfbk_qclib.h:590
Definition hcpinfbk_qclib.h:532
Definition hcpinfbk_qclib.h:432
Definition hcpinfbk_qclib.h:460
Definition hcpinfbk_qclib.h:418
Definition hcpinfbk_qclib.h:597
Definition hcpinfbk_qclib.h:613
Definition hcpinfbk_qclib.h:642
Definition hcpinfbk_qclib.h:660
Definition hcpinfbk_qclib.h:785
Definition hcpinfbk_qclib.h:801
Definition hcpinfbk_qclib.h:809
Definition hcpinfbk_qclib.h:845
Definition hcpinfbk_qclib.h:863
Definition hcpinfbk_qclib.h:4
Definition hcpinfbk_qclib.h:332