devsw 286 console.c devsw[CONSOLE].write = consolewrite; devsw 287 console.c devsw[CONSOLE].read = consoleread; devsw 12 file.c struct devsw devsw[NDEV]; devsw 36 file.h extern struct devsw devsw[]; devsw 441 fs.c if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].read) devsw 443 fs.c return devsw[ip->major].read(ip, dst, n); devsw 469 fs.c if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].write) devsw 471 fs.c return devsw[ip->major].write(ip, src, n);