1
2
3 dcl stock_segp ptr;
4 dcl record_stockp ptr;
5 dcl vtoce_stockp ptr;
6 dcl stock_seg$ ext;
7
8 dcl n_in_record_stock fixed bin;
9 dcl n_volmap_pages fixed bin;
10 dcl n_in_vtoce_stock fixed bin;
11
12
13 dcl 1 stock_seg aligned based (stock_segp),
14
15 2 meters aligned like rsmeters,
16
17 2 record_stock_entries fixed bin,
18 2 vtoce_stock_entries fixed bin,
19 2 record_stock_size fixed bin,
20 2 vtoce_stock_size fixed bin,
21 2 n_stock_entries fixed bin,
22 2 record_stock_arrayp ptr,
23 2 vtoce_stock_arrayp ptr;
24
25
26 dcl 1 record_stock aligned based (record_stockp),
27
28 2 pvtep ptr unal,
29
30 2 n_in_stock fixed bin (18) uns unal,
31 2 n_volmap_pages fixed bin (18) uns unal,
32
33 2 n_free_in_stock fixed bin (18) uns unal,
34 2 n_os_in_stock fixed bin (18) uns unal,
35
36 2 low_threshold fixed bin (18) uns unal,
37 2 high_threshold fixed bin (18) uns unal,
38
39 2 target fixed bin (18) uns unal,
40 2 stock_offset bit (18) unal,
41
42 2 n_words_in_stock fixed bin (18) uns unal,
43 2 search_index fixed bin (18) uns unal,
44
45 2 old_volmap_page (3) aligned,
46 3 last fixed bin (18) uns unal,
47 3 pad bit (18) unal,
48
49 2 volmap_page (n_volmap_pages refer (record_stock.n_volmap_pages)) aligned,
50 3 n_free fixed bin (18) uns unal,
51 3 baseadd fixed bin (17) unal,
52
53 2 stock (n_in_record_stock refer (record_stock.n_in_stock)) bit (18) unal;
54
55
56
57 dcl 1 vtoce_stock aligned based (vtoce_stockp),
58 2 pvtep ptr unal,
59 2 n_in_stock fixed bin (18) uns unal,
60 2 n_free_in_stock fixed bin (18) uns unal,
61 2 target fixed bin (18) uns unal,
62 2 search_index fixed bin (18) uns unal,
63 2 stock (n_in_vtoce_stock refer (vtoce_stock.n_in_stock)) fixed bin (17) unal;
64
65
66 dcl 1 rsmeters aligned based,
67
68 2 async_read_calls fixed bin (35),
69 2 async_page_reads fixed bin (35),
70 2 async_post_io_calls fixed bin (35),
71 2 deposit_calls fixed bin (35),
72 2 async_post_io_time fixed bin (71),
73 2 deposit_time fixed bin (71),
74 2 low_thresh_detected fixed bin (35),
75 2 high_thresh_detected fixed bin (35),
76 2 low_thresh_fails fixed bin (35),
77 2 withdraw_stock_steps fixed bin (35),
78 2 withdraw_stock_losses fixed bin (35),
79 2 n_withdraw_attempt fixed bin (35),
80 2 n_withdraw_range fixed bin (35),
81 2 n_pages_withdraw_stock fixed bin (35),
82 2 n_pages_withdraw_async fixed bin (35),
83 2 n_v_withdraw_attempts fixed bin (35),
84 2 withdraw_volmap_steps fixed bin (35),
85 2 deposit_stock_steps fixed bin (35),
86 2 deposit_stock_losses fixed bin (35),
87 2 n_deposit_attempt fixed bin (35),
88 2 n_pages_deposit_stock fixed bin (35),
89 2 n_pages_deposit_volmap fixed bin (35),
90 2 n_v_deposit_attempts fixed bin (35),
91 2 reset_os_calls fixed bin (35),
92 2 reset_os_losses fixed bin (35),
93 2 withdraw_calls fixed bin (35),
94 2 withdraw_time fixed bin (71),
95 2 pc_deposit_time fixed bin (71),
96 2 pc_deposit_calls fixed bin (35),
97 2 pc_deposit_pages fixed bin (35),
98 2 get_free_vtoce_calls fixed bin (35),
99 2 return_free_vtoce_call fixed bin (35),
100 2 deposit_vstock_calls fixed bin (35),
101 2 deposit_vstock_fails fixed bin (35),
102 2 withdraw_vstock_calls fixed bin (35),
103 2 withdraw_vstock_fails fixed bin (35),
104 2 deposit_vtoc_map fixed bin (35),
105 2 withdraw_check_scav fixed bin (35),
106 2 withdraw_conflict fixed bin (35),
107 2 pad (11) fixed bin (35);
108
109
110 dcl N_OLD_VOLMAP_PAGES fixed bin init (3) int static options (constant);
111 dcl DEFAULT_N_IN_RECORD_STOCK fixed bin init (104) int static options (constant);
112 dcl DEFAULT_N_IN_VTOCE_STOCK fixed bin init (10) int static options (constant);
113
114
115