Lines Matching defs:rw
124 static void ttystop(struct tty *tp, int rw);
1241 ttyselect(struct tty *tp, int rw, void *wql, proc_t p)
1246 switch (rw) {
1269 ttselect(dev_t dev, int rw, void *wql, proc_t p)
1271 return ttyselect(cdevsw[major(dev)].d_ttys[minor(dev)], rw, wql, p);
1325 ttystop(struct tty *tp, int rw)
1327 (*cdevsw[major(tp->t_dev)].d_stop)(tp, rw);
1347 ttyflush(struct tty *tp, int rw)
1352 if (rw & FWRITE) {
1356 ttystop(tp, rw);
1357 if (rw & FREAD) {
1366 if (rw & FWRITE)
1402 if (rw & FWRITE) {