devsw 190 kernel/console.c devsw[CONSOLE].read = consoleread; devsw 191 kernel/console.c devsw[CONSOLE].write = consolewrite; devsw 16 kernel/file.c struct devsw devsw[NDEV]; devsw 117 kernel/file.c if(f->major < 0 || f->major >= NDEV || !devsw[f->major].read) devsw 119 kernel/file.c r = devsw[f->major].read(1, addr, n); devsw 145 kernel/file.c if(f->major < 0 || f->major >= NDEV || !devsw[f->major].write) devsw 147 kernel/file.c ret = devsw[f->major].write(1, addr, n); devsw 38 kernel/file.h extern struct devsw devsw[];