/* START OF: pvte.incl.pl1 July 1982 * * * * * * * * * * * * * * * * */ /* Added pc_vacating, Benson Margulies 84-10-17 */ /****^ HISTORY COMMENTS: 1) change(86-04-11,Fawcett), approve(86-04-11,MCR7383), audit(86-05-29,GDixon), install(86-07-18,MR12.0-1098): Add the support for subvolumes 2) change(86-04-11,Lippard), approve(86-04-11,MCR7309), audit(86-05-29,GDixon), install(86-07-18,MR12.0-1098): Add root_lv flag to mount RLVs that do not have hardcore partitions. 3) change(88-05-27,GWMay), approve(88-05-27,MCR7883), audit(88-06-14,Beattie), install(88-07-19,MR12.2-1061): Added inconsistent_dbm bit for determining the status of volume dumper bit maps. END HISTORY COMMENTS */ dcl pvt$array aligned external; dcl pvt$max_n_entries fixed bin external; dcl pvt_arrayp ptr; dcl pvtep ptr; dcl 1 pvt_array (pvt$max_n_entries) aligned like pvte based (pvt_arrayp); dcl 1 pvte based (pvtep) aligned, 2 pvid bit (36), /* physical volume ID */ 2 lvid bit (36), /* logical volume ID */ 2 dmpr_in_use (3) bit (1) unaligned, /* physical volume dumper interlock */ 2 is_sv bit (1) unaligned, /* true if this entry defines a subvolume */ 2 root_lv bit (1) unaligned, /* true if this is on the root LV */ 2 removable_pack bit (1) unaligned, /* true if packs are eremoveable */ 2 inconsistent_dbm bit (1) unaligned, /* true if trouble count is incremented */ 2 pad3 bit (2) unaligned, 2 brother_pvtx fixed bin (8) unaligned,/* next pvte in lv chain */ 2 skip_queue_count fixed bin (18) unsigned unaligned, /* number of times this pv skipped for per-proc allocation due to saturation */ 2 devname char (4), /* device name */ (2 device_type fixed bin (8), /* device type */ 2 logical_area_number fixed bin (8), /* disk drive number */ 2 used bit (1), /* TRUE if this entry is used */ 2 storage_system bit (1), /* TRUE for storage system (vs io disk) */ 2 permanent bit (1), /* TRUE if cannot be demounted */ 2 testing bit (1), /* Protocol bit for read_disk$test */ 2 being_mounted bit (1), /* TRUE if the physical volume is being mounted */ 2 being_demounted bit (1), /* TRUE if the pysical volume is being demounted */ 2 check_read_incomplete bit (1), /* page control should check read incomplete */ 2 device_inoperative bit (1), /* TRUE if disk_control decides dev busted */ 2 rpv bit (1), /* TRUE if this is the root physical volume */ 2 scav_check_address bit (1), /* TRUE is page control should check deposits/withdrawals against scavenger table */ 2 deposit_to_volmap bit (1), /* TRUE if deposits should got to volume map, not stock */ 2 being_demounted2 bit (1), /* No more vtoc I/O during demount */ 2 pc_vacating bit (1), /* No more withdraws from this volume -- for debugging */ 2 vacating bit (1), /* don't put new segs on this vol */ 2 hc_part_used bit (1), /* HC part set up by init_pvt */ 2 volmap_lock_notify bit (1) unal, /* TRUE if notify required when volmap lock is unlocked */ 2 volmap_idle_notify bit (1) unal, /* TRUE if notify required when volmap state is idle */ 2 vtoc_map_lock_notify bit (1) unal, /* TRUE if notify required when vtoc map lock is unlocked */ 2 n_free_vtoce fixed bin (17), /* number of free VTOC entries */ 2 vtoc_size fixed bin (17), /* size of the VTOC part of the disk - in records */ 2 dbmrp (2) bit (18), /* rel ptr to dumber bit maps for this volume */ 2 nleft fixed bin (17), /* number of records left */ 2 totrec fixed bin (17)) unaligned, /* Total records in this map */ 2 dim_info bit (36), /* Information peculiar to DIM */ 2 sv_num fixed bin, /* the number of this subvolume starting at 0 */ 2 num_of_svs fixed bin, /* number of subvolumes for this device */ 2 records_per_cyl fixed bin, 2 record_factor fixed bin, /* the record factor for logical to real seek calculation */ 2 sv_name char (2) aligned, 2 curn_dmpr_vtocx (3) fixed bin unaligned,/* current vtocx being dumped */ 2 n_vtoce fixed bin unaligned, /* number of vtoce on this volume */ 2 baseadd fixed bin (18) uns unaligned, /* Base of paging region */ 2 pad2 bit (18) unaligned, 2 pad_for_mod_2 fixed bin (35), /* Make volmap_seg_sdw double word aligned */ 2 volmap_seg_sdw fixed bin (71), /* SDW describing volmap_seg */ 2 volmap_astep ptr unal, /* Packed pointer to ASTE for volmap_seg */ 2 volmap_offset bit (18) unal, /* Offset in volmap_seg of volume map */ 2 vtoc_map_offset bit (18) unal, /* Offset in volmap_seg of VTOC map */ 2 volmap_lock bit (36) aligned, /* Lock on volume map operations */ 2 vtoc_map_lock bit (36) aligned, /* Lock on VTOC map operations */ 2 volmap_stock_ptr ptr unal, /* Packed pointer to record stock */ 2 vtoc_map_stock_ptr ptr unal, /* Packed pointer to VTOCE stock */ 2 volmap_async_state fixed bin (17) unaligned, /* Asynchronous update state of Volume Map */ 2 volmap_async_page fixed bin (17) unaligned, /* Page number for asynchronous update */ 2 vol_trouble_count fixed bin (17) unaligned, /* Count of inconsistencies since last salvage */ 2 scavenger_block_rel bit (18) unaligned; /* Offset to scavenger block, ^0 => scavenging */ dcl (VOLMAP_ASYNC_IDLE init (0), /* for volmap_async_state */ VOLMAP_ASYNC_READ init (1), VOLMAP_ASYNC_WRITE init (2)) fixed bin int static options (constant); /* END OF: pvte.incl.pl1 * * * * * * * * * * * * * * * * */ */ ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group Bull including Bull HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell Bull Inc., Groupe Bull and Bull HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, Bull or Bull HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by Bull HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved */