1 /*        BEGIN INCLUDE FILE ...vtoce.incl.pl1 ... last modified September 1982 */
 2 /* Template for a VTOC entry. Length = 192 words. (3 * 64). */
 3 /* NOTE: vtoc_man clears pad fields before writing a vtoce. */
 4 
 5 dcl  vtocep ptr;
 6 
 7 dcl 1 vtoce based (vtocep) aligned,
 8 
 9 
10     (2 pad_free_vtoce_chain bit (36),                       /* Used to be pointer to next free VTOCE */
11 
12     2 uid bit (36),                                         /* segment's uid - zero if vtoce is free */
13 
14     2 msl bit (9),                                          /* maximum segment length in 1024 word units */
15     2 csl bit (9),                                          /* current segment length - in 1024 word units */
16     2 records bit (9),                                      /* number of records used by the seg in second storage */
17     2 pad2 bit (9),
18 
19     2 dtu bit (36),                                         /* date and time segment was last used */
20 
21     2 dtm bit (36),                                         /* date and time segment was last modified */
22 
23     2 nqsw bit (1),                                         /* no quota switch - no checking for pages of this seg */
24     2 deciduous bit (1),                                    /* true if hc_sdw */
25     2 nid bit (1),                                          /* no incremental dump switch */
26     2 dnzp bit (1),                                         /* Dont null zero pages */
27     2 gtpd bit (1),                                         /* Global transparent paging device */
28     2 per_process bit (1),                                  /* Per process segment (deleted every bootload) */
29     2 damaged bit (1),                                      /* TRUE if contents damaged */
30     2 fm_damaged bit (1),                                   /* TRUE if filemap checksum bad */
31     2 fm_checksum_valid bit (1),                            /* TRUE if the checksum has been computed */
32     2 synchronized bit (1),                                 /* TRUE if this is a data management synchronized segment */
33     2 pad3 bit (8),
34     2 dirsw bit (1),                                        /* directory switch */
35     2 master_dir bit (1),                                   /* master directory - a root for the logical volume */
36     2 pad4 bit (16)) unaligned,                             /* not used */
37 
38     2 fm_checksum bit (36) aligned,                         /* Checksum of used portion of file map */
39 
40     (2 quota (0:1) fixed bin (18) unsigned,                 /* sec storage quota - (0) for non dir pages */
41 
42     2 used (0:1) fixed bin (18) unsigned,                   /* sec storage used  - (0) for non dir pages */
43 
44     2 received (0:1) fixed bin (18) unsigned,               /* total amount of storage this dir has received */
45 
46     2 trp (0:1) fixed bin (71),                             /* time record product - (0) for non dir pages */
47 
48     2 trp_time (0:1) bit (36),                              /* time time_record_product was last calculated */
49 
50 
51 
52 
53 
54     2 fm (0:255) bit (18),                                  /* file map - 256 entries - 18 bits per entry */
55 
56     2 pad6 (10) bit (36),                                   /* not used */
57 
58     2 ncd bit (1),                                          /* no complete dump switch */
59     2 pad7 bit (17),
60     2 pad8 bit (18),
61 
62     2 dtd bit (36),                                         /* date-time-dumped */
63 
64     2 volid (3) bit (36),                                   /* volume ids of last incremental, consolidated, and complete dumps */
65 
66     2 master_dir_uid bit (36),                              /* superior master directory uid */
67 
68 
69 
70 
71     2 uid_path (0:15) bit (36),                             /* uid pathname of all parents starting after the root */
72 
73     2 primary_name char (32),                               /* primary name of the segment */
74 
75     2 time_created bit (36),                                /* time the segment was created */
76 
77     2 par_pvid bit (36),                                    /* physical volume id of the parent */
78 
79     2 par_vtocx fixed bin (17),                             /* vtoc entry index of the parent */
80     2 branch_rp bit (18)) unaligned,                        /* rel pointer of the branch of this segment */
81 
82     2 cn_salv_time bit (36),                                /* time branch - vtoce connection checked */
83 
84     2 access_class bit (72),                                /* access class in branch */
85     2 perm_flags aligned,
86       3 per_bootload bit (1) unal,                          /* ON => deleted each bootload */
87       3 pad9 bit (35) unal,
88     2 owner bit (36);                                       /* pvid of this volume */
89 
90 dcl  vtoce_parts (3) bit (36 * 64) aligned based (vtocep);
91 
92 dcl 1 seg_vtoce based (vtocep) aligned,                     /* Overlay for vtoce of segments, which don't have quota */
93     2 pad1 bit (7*36),
94     2 usage fixed bin (35),                                 /* page fault count: overlays quota */
95     2 pad2 bit (184*36);
96 
97 /*        END INCLUDE FILE vtoce.incl.pl1 */