plan 9 kernel history: overview | file list | diff list

1990/0312/power/dat.h (diff list | history)

1990/03091/sys/src/9/power/dat.h:242,2471990/0312/sys/src/9/power/dat.h:242,248 (short | long | prev | next)
1990/0303    
	ulong	mqid; 
1990/0227    
	ulong	minca;			/* base of region in chan */ 
	ulong	maxca;			/* end of region in chan */ 
1990/0312    
int nmod; 
1990/0227    
}; 
 
struct Page 
1990/03091/sys/src/9/power/dat.h:439,4451990/0312/sys/src/9/power/dat.h:440,447
1990/0227    
#define STREAMTYPE(x)	((x)&0x1f) 
#define STREAMID(x)	(((x)&~CHDIR)>>5) 
#define STREAMQID(i,t)	(((i)<<5)|(t)) 
#define PUTNEXT(q,b)	(*(q)->next->put)((q)->next, bp) 
1990/0312    
#define PUTNEXT(q,b)	(*(q)->next->put)((q)->next, b) 
#define BLEN(b)		((b)->wptr - (b)->rptr) 
1990/0227    
 
/* 
 *  stream file qid's & high water mark 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)