COMPILATION LISTING OF SEGMENT gtss_adjust_size_ Compiled by: Multics PL/I Compiler, Release 28d, of October 4, 1983 Compiled at: Honeywell Multics Op. - System M Compiled on: 12/10/84 1221.7 mst Mon Options: optimize map 1 /* *********************************************************** 2* * * 3* * * 4* * Copyright, (C) Honeywell Information Systems Inc., 1981 * 5* * * 6* * * 7* *********************************************************** */ 8 9 /* ************************************************************* 10* * * 11* * Copyright (c) 1979 by Honeywell Information Systems, Inc. * 12* * * 13* ************************************************************* */ 14 gtss_adjust_size_: proc (gfap); 15 dcl gfap ptr parm; 16 17 /* Adjust size of user file. 18* 19* Authors: Robert J. Grimes Created 20* Albert N. Kepner 1978 21* Robert M. May 22* David B. Ward 23**/ 24 25 /* Adjust the size field in the descriptor of the attributes structure. */ 26 27 gtss_file_attributes_ptr = gfap; 28 s = current_size; 29 if ^llink_flag then 30 s = divide (s, 12, 24, 0); 31 if s_overflow then s_size = "0"b; 32 size = s_size; 33 34 dcl s fixed bin (24); 35 dcl 1 s_overlay aligned based (addr (s)), 36 2 s_overflow bit (22) unal, 37 2 s_size bit (14) unal; 38 1 1 /* BEGIN INCLUDE FILE gtss_file_attributes.incl.pl1 */ 1 2 /* 1 3* Created: (Kepner Multics) 06/02/78 1522.0 mst Fri 1 4**/ 1 5 1 6 /* Declaration of File Attributes Segement */ 1 7 1 8 1 9 dcl gtss_file_attributes_ptr ptr init(null()); 1 10 1 11 dcl 1 gtss_file_attributes based (gtss_file_attributes_ptr) aligned, 1 12 2 max_size fixed bin (24), /* maximum size the file can grow to 1 13* in 320 word blocks. if = 0 then the 1 14* file size is unlimited. */ 1 15 2 current_size fixed bin (24), /* current size of the file in 320 word blocks */ 1 16 2 user_attributes aligned, 1 17 3 non_null bit (1) unal, /* 0 = this file has never been written to */ 1 18 3 user_attr bit (35) unal, /* User defined attributes */ 1 19 2 descriptor aligned, 1 20 3 device_type bit (6) unaligned, /* currently ignored */ 1 21 3 words_block bit (12) unaligned, /* number of words per physical block */ 1 22 3 llink_flag bit (1) unaligned, /* if 0= size in links | 1= size in llinks */ 1 23 3 mode bit (1) unaligned, /* 0= linked file | 1= random file */ 1 24 3 perm bit (1) unaligned, /* 1=permanent file|0=not */ 1 25 3 fill bit (1) unaligned, 1 26 3 size bit (14) unaligned; 1 27 1 28 1 29 /* END INCLUDE FILE gtss_file_attributes.incl.pl1 */ 39 40 end gtss_adjust_size_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 12/10/84 1042.7 gtss_adjust_size_.pl1 >spec>on>7105>gtss_adjust_size_.pl1 39 1 09/09/83 1714.0 gtss_file_attributes.incl.pl1 >ldd>include>gtss_file_attributes.incl.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. current_size 1 based fixed bin(24,0) level 2 dcl 1-11 ref 28 descriptor 3 based structure level 2 dcl 1-11 gfap parameter pointer dcl 15 ref 14 27 gtss_file_attributes based structure level 1 dcl 1-11 gtss_file_attributes_ptr 000102 automatic pointer initial dcl 1-9 set ref 27* 28 29 32 1-9* llink_flag 3(18) based bit(1) level 3 packed unaligned dcl 1-11 ref 29 s 000100 automatic fixed bin(24,0) dcl 34 set ref 28* 29* 29 31 31 32 s_overflow based bit(22) level 2 packed unaligned dcl 35 ref 31 s_overlay based structure level 1 dcl 35 s_size 0(22) based bit(14) level 2 packed unaligned dcl 35 set ref 31* 32 size 3(22) based bit(14) level 3 packed unaligned dcl 1-11 set ref 32* NAME DECLARED BY EXPLICIT CONTEXT. gtss_adjust_size_ 000007 constant entry external dcl 14 NAMES DECLARED BY CONTEXT OR IMPLICATION. addr builtin function ref 31 31 32 divide builtin function ref 29 null builtin function ref 1-9 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 74 104 46 104 Length 264 46 10 144 26 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME gtss_adjust_size_ 70 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME gtss_adjust_size_ 000100 s gtss_adjust_size_ 000102 gtss_file_attributes_ptr gtss_adjust_size_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. return ext_entry NO EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 14 000004 1 9 000014 27 000016 28 000022 29 000024 31 000031 32 000040 40 000044 ----------------------------------------------------------- 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