Lines Matching defs:flag
982 ttioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, proc_t p)
987 retval = ttioctl_locked(tp, cmd, data, flag, p);
1002 * flag fileglob open modes from fcntl.h;
1052 ttioctl_locked(struct tty *tp, u_long cmd, caddr_t data, int flag, proc_t p)
1344 (*linesw[tp->t_line].l_close)(tp, flag);
1364 if (suser(kauth_cred_get(), NULL) && (flag & FREAD) == 0) {
1496 error = ttcompat(tp, cmd, data, flag, p);
1829 ttylclose(struct tty *tp, int flag)
1833 if ( (flag & FNONBLOCK) || ttywflush(tp))
1850 ttymodem(struct tty *tp, int flag)
1858 * MDMBUF: do flow control according to carrier flag
1862 if (flag) {
1871 } else if (flag == 0) {
1936 ttread(struct tty *tp, struct uio *uio, int flag)
2015 if (flag & IO_NDELAY) {
2281 ttwrite(struct tty *tp, struct uio *uio, int flag)
2306 if (flag & IO_NDELAY) {
2462 if (flag & IO_NDELAY) {