Google
 

Trailing-Edge - PDP-10 Archives - BB-H348C-RM_1982 - swskit-v21/listings/mcb/srfflu.list
There are no other files named srfflu.list in the archive.
SRFFLU	MACRO M1110  13-OCT-79 11:14  PAGE 3


      1					.TITLE	SRFFLU
      2					.IDENT	/V01.00/
      3					;
      4					; COPYRIGHT (C) 1978 BY
      5					; DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
      6					;
      7					;
      8					; THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
      9					; ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH  LICENSE AND WITH THE
     10					; INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR  ANY  OTHER
     11					; COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
     12					; OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
     13					; TRANSFERRED.
     14					;
     15					; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE  WITHOUT  NOTICE
     16					; AND  SHOULD  NOT  BE  CONSTRUED  AS  A COMMITMENT BY DIGITAL EQUIPMENT
     17					; CORPORATION.
     18					;
     19					; DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR  RELIABILITY  OF  ITS
     20					; SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
     21					;
     22					;
     23					; MODULE DESCRIPTION:
     24					;
     25					;   NCU SERVICE MODULE TO FIND AN AVAILABLE FILE LOGICAL UNIT
     26					;
     27					;
     28					; DISTRIBUTED SYSTEMS SOFTWARE ENGINEERING
     29					;
     30					; IDENT HISTORY:
     31					;
     32					; 1.00	10-FEB-78
     33					;	VERSION 2.0 RELEASE
     34					;
SRFFLU	MACRO M1110  13-OCT-79 11:14  PAGE 4


     36					;
     37					;======================================================================;
     38					;++
     39					;          +-------------------------------------------------+
     40					;          I                                                 I
     41					;          I                   S R F F L U                   I
     42					;          I                   - - - - - -                   I
     43					;          I                                                 I
     44					;          +-------------------------------------------------+
     45					;
     46					; FUNCTION:
     47					;
     48					;   SERVICE MODULE TO FIND AN AVAILABLE FILE LOGICAL UNIT
     49					;
     50					; INPUT:
     51					;
     52					;   R2 - END ADDRESS OF LOGICAL UNIT TABLE
     53					;   R4 - ADDRESS OF FIRST ENTRY IN LOGICAL UNIT TABLE
     54					;     INUSE - IN USE FLAG, SET IF IN USE, CLEAR IF NOT
     55					;     LUN - LOGICAL UNIT NUMBER
     56					;   R5 - ADDRESS OF CONTROL BLOCK
     57					;
     58					; OUTPUT:
     59					;
     60					;   C-BIT - CLEAR IF SUCCESS, SET IF FAILURE
     61					;   R4 - ADDRESS OF ENTRY IF SUCCESS
     62					;   @R5 - UPDATED CONTROL BLOCK IF SUCCESS
     63					;     C.LUN - AVAILABLE LOGICAL UNIT NUMBER
     64					;
     65					; REQUIREMENTS:
     66					;
     67					;   CONTROL BLOCK SYMBOLS:
     68					;
     69					;     C.LUN - OFFSET OF LOGICAL UNIT NUMBER FIELD
     70					;
     71					;   FILE LOGICAL UNIT DATABASE SYMBOLS:
     72					;
     73					;     ENTLEN - LENGTH OF AN ENTRY
     74					;     INUSE - OFFSET OF IN USE FLAG
     75					;     LUN - OFFSET OF LOGICAL UNIT NUMBER
     76					;
     77					;--
     78					;======================================================================;
     79					;
     80					;
     81					; EXTERNAL MACROS
     82					;
     83					.MCALL	PROC,FLUDF,CONDF
     84					;
     85					; DEFINE EXTERNAL SYMBOLS
     86					;
     87	000000				FLUDF				;FILE LOGICAL UNIT SYMBOLS
     88	000000				CONDF				;CONTROL BLOCK SYMBOLS
SRFFLU	MACRO M1110  13-OCT-79 11:14  PAGE 5


     90					;
     91					; PROCEDURE BODY
     92					;
     93	000000				PROC	SRFFLU
     94	000000				WHILE ; ENTRY ADDRESS < END ADDRESS AND LUN IN USE
     95	000000				FALSE   HIS R4,R2
     96	000004				FALSEB  CLEAR INUSE(R4)
     97	000012				DO
     98	000012	062704 	000004 		  ADD     #ENTLEN,R4		;MOVE TO NEXT ENTRY
     99	000016				ENDIF
    100	000016				IF ; FREE LUN FOUND
    101	000016				FALSE   HIS R4,R2
    102	000022				THEN
    103	000022	116465 	000001 	000020 	  MOVB    LUN(R4),C.LUN(R5)	;PUT LUN IN CONTROL BLOCK
    104	000030	000241 			  CLC				;SUCCESS
    105	000032				ELSE
    106	000034	000261 			  SEC				;FAILURE
    107	000036				ENDIF
    108	000036				ENDPROC
    109		000001 			.END
SRFFLU	MACRO M1110  13-OCT-79 11:14  PAGE 5-1
SYMBOL TABLE

ADDR  = 000002   	C$PROC= 000200   	FL$BOO= 000001   	F$OPLO= 000000   	L$$P11= 000001
A$$CHK= 000000   	C$RCBK= 000047   	FL$DUM= 000001   	F$OPOR= 000000   	L$$11R= 000000
A$$CPS= 000000   	C$RCEV= 000050   	FL$LOA= 000001   	F$OPOT= 000000   	M$$CRB= 000124
A$$TRP= 000000   	C$RCIN= 000062   	FL$LOO= 000001   	F$ORLU= 000000   	M$$CRX= 000000
CE$ACP= 177753   	C$RCMA= 000146   	FR$LCC= 000001   	F$OTLU= 000001   	M$$FCS= 000000
CE$ADR= 177776   	C$RCMS= 000054   	FR$LCS= 000001   	F$RCBK= 000002   	M$$OVR= 000000
CE$CON= 177770   	C$RDBK= 000043   	FR$LNC= 000001   	F$RCEV= 000001   	NO    = 000000
CE$DIS= 177771   	C$RDCM= 000035   	FR$LNL= 000001   	F$RCIN= 000000   	N$$USR= 000001
CE$EOF= 177767   	C$RDIN= 000040   	FR$LNS= 000001   	F$RCMA= 000000   	P$$P45= 000000
CE$FAI= 177774   	C$RDIS= 000040   	FR$RMC= 000001   	F$RCMS= 000002   	RI$LCC= 000001
CE$FIL= 177756   	C$RDRC= 000060   	FR$RML= 000001   	F$RDBK= 000000   	RI$LCS= 000002
CE$FUN= 177777   	C$RLBF= 000001   	FR$RMS= 000001   	F$RDCM= 000000   	RI$LNC= 000007
CE$GEN= 177774   	C$RLCB= 000002   	FS$HOS= 000001   	F$RDIN= 000001   	RI$LNL= 000006
CE$IND= 177757   	C$RLCI= 000000   	FS$INT= 000000   	F$RDIS= 000012   	RI$LNS= 000010
CE$IO = 177760   	C$STBK= 000055   	FS$LLP= 000001   	F$RDRC= 000000   	RI$RMC= 000004
CE$LEN= 177775   	C$STPR= 000037   	FS$LOF= 000001   	F$RECO= 000001   	RI$RML= 000003
CE$LID= 177766   	C$STPS= 000037   	FS$LOG= 000001   	F$RLBF= 000001   	RI$RMS= 000005
CE$LST= 177752   	C$TRBK= 000046   	FS$LST= 000001   	F$RLCB= 000001   	RI$ZLC= 000011
CE$NOD= 177765   	C$TRIN= 000063   	FS$NET= 000001   	F$STBK= 000000   	RI$ZLN= 000013
CE$NSD= 177755   	C$TRMA= 000145   	FS$NST= 000000   	F$STPR= 000001   	RI$ZRM= 000012
CE$NST= 177754   	C$TRMS= 000053   	FS$PAS= 000001   	F$STPS= 000006   	R$$DER= 000000
CE$NWE= 177773   	C$WRBK= 000044   	FT$CNS= 000000   	F$TEST= 000001   	R$$K11= 000001
CE$OBJ= 177750   	C$WRCL= 000065   	FT$NOD= 000001   	F$TRAC= 000000   	R$$SND= 000000
CE$OPN= 177761   	C$WRCM= 000036   	FT$TSK= 000001   	F$TRBK= 000001   	R$$11M= 000000
CE$OVR= 177764   	C$WRRC= 000061   	F$ALBF= 000001   	F$TRIG= 000001   	SP$DHO= 000003
CE$PAR= 177763   	C$ZRCN= 000064   	F$ALCB= 000001   	F$TRIN= 000000   	SP$DRP= 000007
CE$PRO= 177751   	C$$CKP= 000000   	F$CB  = 000017   	F$TRMA= 000000   	SP$DTP= 000010
CE$REJ= 177772   	C$$ORE= 000400   	F$CLCL= 000001   	F$TRMS= 000002   	SP$LHO= 000002
CE$TMO= 177762   	C$$RSH= 177564   	F$CLCO= 000000   	F$WRBK= 000000   	SP$LLP= 000011
CS$ACK= 000002   	C.ADDR= 000014   	F$CLFL= 000000   	F$WRCL= 000001   	SP$LNM= 000016
CS$LKE= 000001   	C.BKNM= 000014   	F$CLLK= 000006   	F$WRCM= 000000   	SP$LNO= 000015
CS$LNA= 000002   	C.CTXT= 000004   	F$CLLN= 000002   	F$WRRC= 000000   	SP$LOF= 000012
CS$LOG= 000003   	C.FUNC= 000006   	F$DPOS= 000001   	F$ZERO= 000001   	SP$LST= 000001
CS$NCH= 000003   	C.LEN = 000012   	F$DUMP= 000000   	F$ZRCN= 000001   	SP$NDM= 000014
CS$SUC= 000001   	C.LINE= 000014   	F$EVNT= 000001   	F$$LVL= 000001   	SP$NDO= 000013
C$ALBF= 000032   	C.LKNM= 000020   	F$EXAM= 000001   	F$150 = 000002   	SP$NST= 000006
C$ALCB= 000033   	C.LUN = 000020   	F$EXHO= 000000   	F$300 = 000012   	SP$RRP= 000004
C$CLCL= 000067   	C.MODE= 000021   	F$GTCM= 000001   	F$50  = 000002   	SP$RTP= 000005
C$CLCO= 000003   	C.PRID= 000017   	F$INCM= 000000   	F$550 = 000002   	SRFFLU  000000RG
C$CLFL= 000004   	C.PROC= 000007   	F$INLU= 000001   	G$$TPP= 000000   	S$$WRG= 000000
C$CLLK= 000052   	C.PROM= 000016   	F$IRLU= 000000   	G$$TSS= 000000   	S$$YSZ= 001600
C$CLLN= 000005   	C.PTR = 000000   	F$LKLU= 000010   	G$$TTK= 000000   	T$$KMG= 000000
C$LEN = 000026   	C.RET = 000010   	F$LNLU= 000002   	INUSE = 000000   	T$$MIN= 000000
C$NOPN= 000031   	C.SAVE= 000022   	F$LNSR= 000001   	I$$RAR= 000000   	V$$CTR= 001000
C$NORD= 000032   	C.SERV= 000002   	F$LOAD= 000000   	I$$RDN= 000000   	X$$DBT= 000000
C$OPCL= 000066   	C.TASK= 000016   	F$LOGD= 000001   	K$$CNT= 177546   	YES   = 000001
C$OPCO= 000034   	C.TYPE= 000016   	F$LOOP= 000001   	K$$CSR= 177546   	$$CSTA= 000000
C$OPIN= 000041   	C.WAIT= 000020   	F$NTCM= 000000   	K$$LDC= 000000   	$$PRST= 000011
C$OPIR= 000056   	DEVATT= 000002   	F$OPCL= 000001   	K$$TPS= 000074   	$$STIX= 000777
C$OPLK= 000051   	D$$BUG= 177514   	F$OPCO= 000000   	LD$LP = 000000   	$$STNM= 000000
C$OPLN= 000045   	D$$ISK= 000000   	F$OPIN= 000000   	LUN   = 000001   	$$S776= 000000
C$OPOR= 000057   	D$$L11= 000001   	F$OPIR= 000000   	L$$ASG= 000000   	$$S777= 000000
C$OPOT= 000042   	ENTLEN= 000004   	F$OPLK= 000005   	L$$DRV= 000000   	$$TRNM= 000000
C$ORD = 000145   	FILOPE= 000001   	F$OPLN= 000002

. ABS.	000000	   000
      	000040	   001
SRFFLU	MACRO M1110  13-OCT-79 11:14  PAGE 5-2
SYMBOL TABLE

ERRORS DETECTED:  0

VIRTUAL MEMORY USED:  8834 WORDS  ( 35 PAGES)
DYNAMIC MEMORY:  10060 WORDS  ( 38 PAGES)
ELAPSED TIME:  00:00:27
SRFFLU,[135,30]SRFFLU/CR/-SP=[130,10]NETLIB/ML,[135,10]CFGNIC/PA:1,SRFFLU
SRFFLU     CREATED BY  MACRO  ON 13-OCT-79 AT 11:15	PAGE 1

SYMBOL CROSS REFERENCE                                  CREF         

SYMBOL	VALUE		REFERENCES

ADDR  	= 000002	#4-87      
C.LUN 	= 000020	*5-103     
DEVATT	= 000002	#4-87      
ENTLEN	= 000004	#4-87       5-98      
FILOPE	= 000001	#4-87      
F$TRAC	= 000000	 5-93       5-93       5-108      5-108     
INUSE 	= 000000	#4-87       5-96      
I$$AS 	= ******	 5-93      
LUN   	= 000001	#4-87       5-103     
R$$11D	= ******	 5-93      
R$$11M	= 000000	 5-93      
SRFFLU	  000000 RG	#5-93      
$$CSTA	= 000000	#5-93      
$$PRST	= 000011	#5-93       5-94      #5-94       5-100     #5-100     
$$SLST	= ******	 5-93       5-94       5-95       5-95       5-96       5-96       5-97       5-99       5-101     
                         5-101      5-102      5-105      5-105      5-107      5-108     
$$STIX	= 000777	#5-93       5-94       5-94      #5-94       5-94       5-94      #5-94       5-99      #5-99      
                         5-99       5-99      #5-99       5-99       5-100      5-100     #5-100      5-100      5-100     
                        #5-100      5-107     #5-107      5-107      5-107     #5-107      5-107     
$$STNM	= 000000	#5-93       5-94      #5-94       5-94       5-94       5-95       5-96       5-97       5-99      
                        #5-99       5-100     #5-100      5-100      5-101      5-102      5-105      5-105      5-107     
                        #5-107     
$$S776	= 000000	#5-94       5-99      #5-100      5-107     
$$S777	= 000000	#5-94       5-99      #5-100      5-107     
$$TRNM	= 000000	#5-93       5-94      #5-94       5-95       5-96       5-97       5-99      #5-99       5-100     
                        #5-100      5-101      5-102      5-105     #5-105      5-107     #5-107     
SRFFLU     CREATED BY  MACRO  ON 13-OCT-79 AT 11:15	PAGE 2

MACRO CROSS REFERENCE                                   CREF         

MACRO NAME	REFERENCES

CASE  		#5-93      
CONDF 		#4-83       4-88      
DO    		#5-93       5-97      
ELSE  		#5-93       5-105     
ENDCAS		#5-93      
ENDIF 		#5-93      #5-99      #5-107     
ENDPRO		#5-93       5-108     
ENDWHI		#5-93      
FALSE 		#5-93       5-95       5-101     
FALSEB		#5-93       5-96      
FLUDF 		#4-83      #4-87      
IF    		#5-93      #5-94      #5-100     
JMPPRO		#5-93      
ONCASE		#5-93      
PROC  		#4-83       5-93      
PROCLC		#5-93      
SWSTK$		#5-93      
THEN  		#5-93      #5-97      #5-102     
TRUE  		#5-93      
TRUEB 		#5-93      
WHILE 		#5-93       5-94      
$$BGND		#5-93      #5-95      #5-96      #5-101     
$$BGNN		#5-93       5-95       5-96       5-101      5-105     
$$ELSE		#5-93       5-105     
$$GEN1		#5-93       5-93       5-94       5-95       5-96       5-96       5-97       5-99       5-101      5-102     
                 5-105      5-105      5-107      5-108     
$$GEN2		#5-93       5-95       5-101     
$$GNAB		#5-93       5-95       5-101     
$$GNBT		#5-93      #5-96      
$$GNCM		#5-93       5-95       5-96       5-101     
$$INMC		#5-93       5-93      
$$INSY		#5-93       5-93      
$$LAB 		#5-93       5-94       5-97       5-99       5-102      5-105      5-107     
$$POP 		#5-93       5-99       5-99       5-107      5-107     
$$POPI		#5-93       5-99       5-99       5-107      5-107     
$$PUSH		#5-93      #5-94      #5-94      #5-100     #5-100     
$$STSM		#5-93      #5-94      #5-94      #5-100     #5-100     
$$SYS 		#5-93      
$$TRCE		#5-93       5-93       5-108