/darwin-on-arm/xnu/bsd/sys/ |
H A D | tty.h | 66 * @(#)tty.h 8.6 (Berkeley) 1/21/94 108 * Per-tty structure. 110 * Should be split in two, into device and tty drivers. 114 struct tty { struct 115 lck_mtx_t t_lock; /* Per tty lock */ 135 void (*t_oproc)(struct tty *); 137 void (*t_stop)(struct tty *, int); 139 int (*t_param)(struct tty *, struct termios *); 150 #define TTY_NULL (struct tty *)0 163 #define TTIPRI 25 /* Sleep priority for tty read [all...] |
H A D | subr_prf.h | 81 #define TOTTY 0x00000002 /* output to tty */ 86 extern int prf(const char *fmt, va_list ap, int flags, struct tty *ttyp);
|
H A D | conf.h | 83 struct tty; 108 typedef struct tty *d_devtotty_t(dev_t dev); 116 typedef int stop_fcn_t(struct tty *tp, int rw); 197 struct tty **d_ttys; 240 typedef int l_open_t (dev_t dev, struct tty *tp); 241 typedef int l_close_t(struct tty *tp, int flags); 242 typedef int l_read_t (struct tty *tp, struct uio *uio, int flag); 243 typedef int l_write_t(struct tty *tp, struct uio *uio, int flag); 244 typedef int l_ioctl_t(struct tty *tp, u_long cmd, caddr_t data, int flag, 246 typedef int l_rint_t (int c, struct tty *t [all...] |
H A D | systm.h | 107 #include <sys/tty.h> 160 void ttyprintf(struct tty *, const char *, ...) __printflike(2, 3);
|
H A D | signalvar.h | 142 #define SA_TTYSTOP 0x08 /* ditto, from tty */ 216 void tty_pgsignal(struct tty * tp, int sig, int checkctty);
|
H A D | types.h | 307 struct tty;
|
H A D | Makefile | 31 timeb.h times.h tprintf.h trace.h tty.h ttychars.h ttycom.h \ 107 tty.h ttychars.h \
|
H A D | proc_internal.h | 127 struct tty * s_ttyp; /* Controlling terminal. (SL + ttyvp != NULL) */ 128 pid_t s_ttypgrpid; /* tty's pgrp id */ 144 * close notification of tty devices through cdevsw[]. 146 * NB: <sys/tty.h> is not in scope and there is not typedef type enforcement, 156 #define S_NOCTTY 0x00000001 /* Do not associate controlling tty */ 713 extern struct pgrp * tty_pgrp(struct tty * tp); 722 extern int isbackground(proc_t p, struct tty *tp);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | subr_prf.c | 91 #include <sys/tty.h> 109 void _printf(int, struct tty *, const char *, ...); 127 extern struct tty cons; /* standard console tty */ 128 extern struct tty *constty; /* pointer to console "window" tty */ 138 static void printn(uint32_t n, int b, int flags, struct tty *ttyp, int zf, int fld_size); 148 struct tty *tty; member in struct:putchar_args 155 * It may block if the tty queu [all...] |
H A D | tty_conf.c | 70 #include <sys/tty.h> 166 l_noioctl(__unused struct tty *tp, __unused u_long cmd, __unused caddr_t data, 173 l_nostart(__unused struct tty *tp)
|
H A D | tty.c | 65 * @(#)tty.c 8.8 (Berkeley) 1/21/94 118 * Debugging assertions for tty locks 133 static int ttnread(struct tty *tp); 134 static void ttyecho(int c, struct tty *tp); 135 static int ttyoutput(int c, struct tty *tp); 136 static void ttypend(struct tty *tp); 137 static void ttyretype(struct tty *tp); 138 static void ttyrub(int c, struct tty *tp); 139 static void ttyrubo(struct tty *tp, int count); 140 static void ttystop(struct tty *t [all...] |
H A D | tty_ptmx.c | 74 #include <sys/tty.h> 93 #define d_devtotty_t struct tty ** 99 static void ptsd_start(struct tty *tp); 100 static void ptmx_wakeup(struct tty *tp, int flag); 230 SYSCTL_NODE(_kern, KERN_TTY, tty, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "TTY"); 237 * ptmx_ioctl is a pointer to a list of pointers to tty structures which is 242 struct tty *pt_tty; /* pointer to ttymalloc()'ed data */ 484 * XXX Conditional to be removed when/if tty/pty reference 558 struct tty *tp; 606 static void ptsd_revoke_knotes(dev_t, struct tty *); [all...] |
H A D | tty_compat.c | 65 * Compatibility routines for BSD 4.3 tty ioctl() commands 72 * is held on the tty structure before these functions are 80 #include <sys/tty.h> 88 static int ttcompatgetflags(struct tty *tp); 89 static void ttcompatsetflags(struct tty *tp, struct termios *t); 90 static void ttcompatsetlflags(struct tty *tp, struct termios *t); 179 * Parameters struct tty *tp The tty on which the operation is 211 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term) 333 * Parameters struct tty *t [all...] |
H A D | tty_pty.c | 74 #include <sys/tty.h> 83 #define d_devtotty_t struct tty ** 88 typedef void d_stop_t(struct tty *tp, int rw); 96 static void ptsstart(struct tty *tp); 97 static void ptcwakeup(struct tty *tp, int flag); 121 * pts == /dev/tty[pqrsPQRS][0123456789abcdefghijklmnopqrstuv] 125 __private_extern__ struct tty *pt_tty[NPTY] = { NULL }; 158 /* create the pseudo tty device nodes */ 166 "tty%c%x", j + START_CHAR, i); 180 struct tty *t [all...] |
H A D | kern_acct.c | 94 #include <sys/tty.h> 230 struct tty *tp;
|
/darwin-on-arm/xnu/bsd/machine/ |
H A D | cons.h | 38 struct tty *cn_tp; /* tty structure for console device */ 59 extern struct tty *cn_tty; 61 extern struct tty *constty; /* current console device */
|
/darwin-on-arm/xnu/bsd/dev/arm/ |
H A D | km.c | 36 #include <sys/tty.h> 62 struct tty *km_tty[1] = { 0 }; 75 static int kmoutput(struct tty *tp); 76 static void kmstart(struct tty *tp); 93 struct tty *tp; 163 struct tty *tp = km_tty[minor(dev)]; 176 struct tty *tp = km_tty[minor(dev)]; 188 struct tty *tp = km_tty[minor(dev)]; 200 struct tty *tp = km_tty[minor(dev)]; 264 * Locks: Assumes tp in the calling tty drive [all...] |
H A D | cons.c | 33 * the console device, which can be any tty class device. It does this by 35 * console tty device. 38 * back to the "km" device, which is a tty BSD wrapper device for the 40 * to the tty device device instead. 47 * controlling tty, since you will get a reference to a device which does 54 #include <sys/tty.h> 58 struct tty *constty; /* current console device */ 64 extern struct tty *km_tty[1]; 119 * XXX it back to the fake tty.
|
H A D | stubs.c | 37 #include <sys/tty.h>
|
H A D | conf.c | 44 #include <sys/tty.h> 102 extern struct tty *km_tty[]; 143 extern struct tty *pt_tty[];
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | km.c | 36 #include <sys/tty.h> 62 struct tty *km_tty[1] = { 0 }; 75 static int kmoutput(struct tty *tp); 76 static void kmstart(struct tty *tp); 95 struct tty *tp; 166 struct tty *tp = km_tty[minor(dev)]; 180 struct tty *tp = km_tty[minor(dev)]; 193 struct tty *tp = km_tty[minor(dev)]; 206 struct tty *tp = km_tty[minor(dev)]; 263 * Locks: Assumes tp in the calling tty drive [all...] |
H A D | cons.c | 33 * the console device, which can be any tty class device. It does this by 35 * console tty device. 38 * back to the "km" device, which is a tty BSD wrapper device for the 40 * to the tty device device instead. 47 * controlling tty, since you will get a reference to a device which does 54 #include <sys/tty.h> 58 struct tty *constty; /* current console device */ 64 extern struct tty *km_tty[1]; 129 * XXX it back to the fake tty.
|
H A D | stubs.c | 37 #include <sys/tty.h>
|
H A D | conf.c | 44 #include <sys/tty.h> 97 extern struct tty *km_tty[]; 138 extern struct tty *pt_tty[];
|
/darwin-on-arm/xnu/bsd/man/man4/ |
H A D | Makefile | 42 tty.4 \
|