| /xnu-10002.41.9/bsd/sys/ ! |
| H A D | tty.h | 115 struct tty { struct 136 void (*t_oproc)(struct tty *); argument 138 void (*t_stop)(struct tty *, int); argument 140 int (*t_param)(struct tty *, struct termios *); argument 156 #define TTY_NULL (struct tty *)NULL argument 189 struct tty; 299 int ttioctl_locked(struct tty *tp, u_long com, caddr_t data, int flag, 302 int ttcompat(struct tty *tp, u_long com, caddr_t data, int flag, 306 void tty_lock(struct tty *tp); 307 bool tty_trylock(struct tty *tp); [all …]
|
| H A D | conf.h | 83 struct tty; 102 typedef struct tty *d_devtotty_t(dev_t dev); 110 typedef int stop_fcn_t(struct tty *tp, int rw); 195 struct tty **d_ttys; 232 typedef int l_open_t (dev_t dev, struct tty *tp); 233 typedef int l_close_t(struct tty *tp, int flags); 234 typedef int l_read_t (struct tty *tp, struct uio *uio, int flag); 235 typedef int l_write_t(struct tty *tp, struct uio *uio, int flag); 236 typedef int l_ioctl_t(struct tty *tp, u_long cmd, caddr_t data, int flag, 238 typedef int l_rint_t (int c, struct tty *tp); [all …]
|
| H A D | subr_prf.h | 86 extern int prf(const char *fmt, va_list ap, int flags, struct tty *ttyp) __printflike(1, 0);
|
| H A D | proc_internal.h | 144 struct tty *s_ttyp; /* (SL) Controlling terminal */ 871 extern struct pgrp *tty_pgrp_locked(struct tty * tp); 882 extern struct tty *session_set_tty_locked(struct session *sessp, struct tty *); 883 extern struct tty *session_clear_tty_locked(struct session *sess); 884 extern struct tty *session_tty(struct session *sess);
|
| H A D | types.h | 223 struct tty;
|
| H A D | systm.h | 158 void ttyprintf(struct tty *, const char *, ...) __printflike(2, 3);
|
| H A D | signalvar.h | 216 void tty_pgsignal_locked(struct tty * tp, int sig, int checkctty);
|
| /xnu-10002.41.9/bsd/kern/ ! |
| H A D | subr_prf.c | 113 struct tty *tty; member 126 extern struct tty cons; /* standard console tty */ 127 extern struct tty *copy_constty(void); /* current console device */ 128 extern struct tty *set_constty(struct tty *); 138 pca->tty = sessp->s_ttyp; in putchar_args_init() 139 if (pca->tty != TTY_NULL) { in putchar_args_init() 140 ttyhold(pca->tty); in putchar_args_init() 148 if (pca->tty != TTY_NULL) { in putchar_args_destroy() 149 ttyfree(pca->tty); in putchar_args_destroy() 171 if (pca.tty != NULL) { in uprintf() [all …]
|
| H A D | tty.c | 122 __private_extern__ int ttnread(struct tty *tp); 123 static void ttyecho(int c, struct tty *tp); 124 static int ttyoutput(int c, struct tty *tp); 125 static void ttypend(struct tty *tp); 126 static void ttyretype(struct tty *tp); 127 static void ttyrub(int c, struct tty *tp); 128 static void ttyrubo(struct tty *tp, int count); 129 static void ttystop(struct tty *tp, int rw); 130 static void ttyunblock(struct tty *tp); 131 static int ttywflush(struct tty *tp); [all …]
|
| H A D | tty_ptmx.c | 100 static void ptsd_revoke_knotes(int minor, struct tty *tp); 187 SYSCTL_NODE(_kern, KERN_TTY, tty, CTLFLAG_RW | CTLFLAG_LOCKED, 0, "TTY"); 539 struct tty *tp = knote_kn_hook_get_raw(kn); in ptsd_kqops_detach() 570 ptsd_kqops_common(struct knote *kn, struct kevent_qos_s *kev, struct tty *tp) in ptsd_kqops_common() 616 struct tty *tp = knote_kn_hook_get_raw(kn); in ptsd_kqops_event() 634 struct tty *tp = knote_kn_hook_get_raw(kn); in ptsd_kqops_touch() 654 struct tty *tp = knote_kn_hook_get_raw(kn); in ptsd_kqops_process() 667 struct tty *tp = NULL; in ptsd_kqfilter() 717 ptsd_revoke_knotes(__unused int minor, struct tty *tp) in ptsd_revoke_knotes() 745 struct ptmx_ioctl *pti, struct tty *tp); [all …]
|
| H A D | tty_dev.h | 38 struct tty *pt_tty; /* pointer to ttymalloc()'ed data */ 72 void (*revoke)(int minor, struct tty *tp); 77 extern int ttnread(struct tty *tp);
|
| H A D | tty_dev.c | 100 static void ptcwakeup(struct tty *tp, int flag); 272 struct tty *tp = pti->pt_tty; in ptsopen() 335 struct tty *tp; in ptsclose() 375 struct tty *tp; in ptsread() 403 struct tty *tp; in ptswrite() 432 ptsstart(struct tty *tp) in ptsstart() 464 ptcwakeup(struct tty *tp, int flag) in ptcwakeup() 494 struct tty *tp = pti->pt_tty; in ptcopen() 533 struct tty *tp; in ptcclose() 534 struct tty *constty = NULL; in ptcclose() [all …]
|
| H A D | tty_compat.c | 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); 214 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term) in ttsetcompat() 390 ttcompat(struct tty *tp, u_long com, caddr_t data, int flag, struct proc *p) in ttcompat() 553 ttcompatgetflags(struct tty *tp) in ttcompatgetflags() 639 ttcompatsetflags(struct tty *tp, struct termios *t) in ttcompatsetflags() 738 ttcompatsetlflags(struct tty *tp, struct termios *t) in ttcompatsetlflags()
|
| H A D | tty_conf.c | 169 l_noioctl(__unused struct tty *tp, __unused u_long cmd, __unused caddr_t data, in l_noioctl() 176 l_nostart(__unused struct tty *tp) in l_nostart()
|
| /xnu-10002.41.9/bsd/dev/arm/ ! |
| H A D | cons.c | 25 static struct tty *_constty; /* current console device */ 29 struct tty * 32 struct tty *result = NULL; in copy_constty() 42 struct tty * 43 set_constty(struct tty *new_tty) in set_constty() 45 struct tty *old_tty = NULL; in set_constty() 61 extern struct tty *km_tty[1]; 77 struct tty *constty = copy_constty(); in cnopen() 95 struct tty *constty = copy_constty(); in cnclose() 113 struct tty *constty = copy_constty(); in cnread() [all …]
|
| H A D | km.c | 39 struct tty *km_tty[1] = { 0 }; 46 static int kmoutput(struct tty * tp); 47 static void kmstart(struct tty * tp); 66 struct tty *tp; in kmopen() 143 struct tty *tp = km_tty[minor(dev)]; in kmclose() 157 struct tty *tp = km_tty[minor(dev)]; in kmread() 170 struct tty *tp = km_tty[minor(dev)]; in kmwrite() 183 struct tty *tp = km_tty[minor(dev)]; in kmioctl() 276 kmstart(struct tty *tp) in kmstart() 319 struct tty *tp = (struct tty *)arg; in kmtimeout() [all …]
|
| /xnu-10002.41.9/bsd/dev/i386/ ! |
| H A D | cons.c | 59 struct tty *_constty; /* current console device */ 63 struct tty * 66 struct tty *result = NULL; in copy_constty() 76 struct tty * 77 set_constty(struct tty *new_tty) in set_constty() 79 struct tty *old_tty = NULL; in set_constty() 95 extern struct tty *km_tty[1]; 111 struct tty *constty = copy_constty(); in cnopen() 129 struct tty *constty = copy_constty(); in cnclose() 147 struct tty *constty = copy_constty(); in cnread() [all …]
|
| H A D | km.c | 62 struct tty *km_tty[1] = { 0 }; 69 static int kmoutput(struct tty *tp); 70 static void kmstart(struct tty *tp); 89 struct tty *tp; in kmopen() 162 struct tty *tp = km_tty[minor(dev)]; in kmclose() 176 struct tty *tp = km_tty[minor(dev)]; in kmread() 189 struct tty *tp = km_tty[minor(dev)]; in kmwrite() 202 struct tty *tp = km_tty[minor(dev)]; in kmioctl() 294 kmstart(struct tty *tp) in kmstart() 322 struct tty *tp = (struct tty *)arg; in kmtimeout() [all …]
|
| H A D | conf.c | 96 extern struct tty *km_tty[];
|
| /xnu-10002.41.9/bsd/machine/ ! |
| H A D | cons.h | 40 struct tty *cn_tp; /* tty structure for console device */ 61 extern struct tty *cn_tty; 64 extern struct tty *copy_constty(void); /* current console device */ 65 extern struct tty *set_constty(struct tty *);
|
| /xnu-10002.41.9/security/ ! |
| H A D | mac_pty.c | 37 mac_pty_notify_grant(proc_t p, struct tty *tp, dev_t dev, struct label *label) in mac_pty_notify_grant() 43 mac_pty_notify_close(proc_t p, struct tty *tp, dev_t dev, struct label *label) in mac_pty_notify_close()
|
| /xnu-10002.41.9/tools/lldbmacros/ ! |
| H A D | process.py | 946 tty = kern.GetValueFromAddress(cmd_args[0], 'struct tty *') 948 …input to raw queue: {0: <#18x} \"{1: <s}\"".format(unsigned(tty.t_rawq.c_cs), tty.t_rawq.c_c… 949 …input to canonical queue: {0: <#18x} \"{1: <s}\"".format(unsigned(tty.t_canq.c_cs), tty.t_canq.c_c… 950 …output data: {0: <#18x} \"{1: <s}\"".format(unsigned(tty.t_outq.c_cs), tty.t_outq.c_c… 979 tty_state = unsigned(tty.t_state) 990 print("Flags: 0x{0:0>8x}".format(unsigned(tty.t_flags))) 991 print("Foreground Process Group: 0x{0:0>16x}".format(unsigned(tty.t_pgrp))) 992 print("Enclosing session: 0x{0:0>16x}".format(unsigned(tty.t_session))) 994 print("\tInput Flags: 0x{0:0>8x}".format(unsigned(tty.t_termios.c_iflag))) 995 print("\tOutput Flags: 0x{0:0>8x}".format(unsigned(tty.t_termios.c_oflag))) [all …]
|
| /xnu-10002.41.9/bsd/man/man4/ ! |
| H A D | Makefile | 40 tty.4 \
|
| /xnu-10002.41.9/bsd/dev/random/ ! |
| H A D | randomdev.c | 60 random_stop(__unused struct tty *tp, __unused int rw) in random_stop()
|
| /xnu-10002.41.9/bsd/dev/arm64/ ! |
| H A D | conf.c | 72 extern struct tty *km_tty[];
|