1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 declare lock_per_process_ptr pointer;
16
17 declare 1 lock_per_process aligned based (lock_per_process_ptr),
18 2 n_ht_entries fixed bin,
19 2 ht_mask bit (36) aligned,
20 2 area_size fixed bin,
21 2 area_ptr pointer,
22 2 hash_table (0:n_hash_table_entries - 1 refer (lock_per_process.n_ht_entries))
23 offset (lm_per_process_area);
24
25
26 declare n_hash_table_entries fixed bin;
27
28 declare lm_per_process_area area (lock_per_process.area_size) based (lock_per_process.area_ptr);
29
30 declare per_process_file_lock_ptr
31 pointer;
32 declare 1 per_process_file_lock aligned based (per_process_file_lock_ptr),
33 2 f_uid bit (36) aligned,
34 2 mode fixed bin,
35 2 ht_fp offset (lm_per_process_area);
36
37