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

1991/0926/port/devmnt.c (diff list | history)

1991/0925/sys/src/9/port/devmnt.c:35,401991/0926/sys/src/9/port/devmnt.c:35,41 (short | long | prev | next)
1991/0911    
	int	id;		/* Multiplexor id for channel check */ 
	Mnt	*list;		/* Free list */ 
	char	mux;		/* Set if the device aleady does the multiplexing */ 
1991/0926    
	int	blocksize;	/* read/write block size */ 
1990/0604    
}; 
 
1991/0911    
struct Mntalloc 
1991/0925/sys/src/9/port/devmnt.c:152,1571991/0926/sys/src/9/port/devmnt.c:153,159
1991/0911    
	m->queue = 0; 
	m->rip = 0; 
	m->c = bogus.chan; 
1991/0926    
	m->blocksize = MAXFDATA; 
1991/0911    
 
	switch(devchar[m->c->type]) { 
	case 'H':			/* Hotrod */ 
1991/0925/sys/src/9/port/devmnt.c:447,4531991/0926/sys/src/9/port/devmnt.c:449,455
1991/0911    
		r->request.fid = c->fid; 
		r->request.offset = offset; 
		r->request.data = uba; 
		r->request.count = limit(n, MAXFDATA); 
1991/0926    
		r->request.count = limit(n, m->blocksize); 
1991/0911    
		mountrpc(m, r); 
		nr = r->reply.count; 
		if(type == Tread) 


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