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

1992/0128/port/pgrp.c (diff list | history)

1992/0111/sys/src/9/port/pgrp.c:5,171992/0128/sys/src/9/port/pgrp.c:5,11 (short | long | prev | next)
1990/0227    
#include	"fns.h" 
1992/0111    
#include	"../port/error.h" 
1990/0227    
 
1991/0705    
struct 
{ 
1990/0227    
	Lock; 
1990/1110    
	Pgrp	*arena; 
1990/0227    
	Pgrp	*free; 
	ulong	pgrpid; 
}pgrpalloc; 
1992/0128    
Pgrps pgrpalloc; 
1990/0227    
 
1991/0705    
struct 
{ 
1992/0111/sys/src/9/port/pgrp.c:43,521992/0128/sys/src/9/port/pgrp.c:37,46
1991/1011    
	Mhead *hm, *hem; 
1991/1127    
	Crypt *cr; 
1990/0227    
 
1991/1127    
	/* 
	 * need to /dev/proc read protect crypt memory 
	 */ 
	cr = ialloc(conf.npgrp*sizeof(Crypt), 0); 
1992/0128    
	i = conf.npgrp*sizeof(Crypt); 
	cr = ialloc(i, 0); 
	pgrpalloc.cryptbase = (ulong)cr; 
	pgrpalloc.crypttop = (ulong)cr + i; 
1990/1110    
	pgrpalloc.arena = ialloc(conf.npgrp*sizeof(Pgrp), 0); 
	pgrpalloc.free = pgrpalloc.arena; 
1990/0227    
 


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