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

1995/0815/port/swap.c (diff list | history)

1995/0815/sys/src/9/port/swap.c:303,3091997/0327/sys/src/9/port/swap.c:303,309 (short | long | prev | next)
1991/0705    
		if(waserror()) 
			panic("executeio: page out I/O error"); 
 
		n = (*devtab[c->type].write)(c, kaddr, BY2PG, out->daddr); 
1997/0327    
		n = devtab[c->type]->write(c, kaddr, BY2PG, out->daddr); 
1991/0705    
		if(n != BY2PG) 
			nexterror(); 
 
1995/0815/sys/src/9/port/swap.c:331,3371997/0327/sys/src/9/port/swap.c:331,337
1991/0705    
	if(swapimage.c) { 
		if(swapalloc.free != conf.nswap) 
1992/0114    
			error(Einuse); 
1991/0705    
		close(swapimage.c); 
1997/0327    
		cclose(swapimage.c); 
1991/0705    
	} 
	incref(c); 
	swapimage.c = c; 


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