Lines Matching defs:in
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
37 * Redistribution and use in source and binary forms, with or without
42 * 2. Redistributions in binary form must reproduce the above copyright
43 * notice, this list of conditions and the following disclaimer in the
69 * o Fix races for sending the start char in ttyflush().
70 * o Handle inter-byte timeout for "MIN > 0, TIME > 0" in ttyselect().
73 * o Don't allow input in TS_ZOMBIE case. It would be visible through
79 * o Wrap most of ttioctl in spltty/splx.
84 * and ignore them if they are set while we are in another
87 * of in drivers and fix drivers that write to tp->t_termios.
91 * o Restore TS_WOPEN since it is useful in pstat. It must be cleared
240 termios32to64(struct termios32 *in, struct user_termios *out)
242 out->c_iflag = (user_tcflag_t)in->c_iflag;
243 out->c_oflag = (user_tcflag_t)in->c_oflag;
244 out->c_cflag = (user_tcflag_t)in->c_cflag;
245 out->c_lflag = (user_tcflag_t)in->c_lflag;
248 bcopy(in->c_cc, out->c_cc, sizeof(in->c_cc));
250 out->c_ispeed = (user_speed_t)in->c_ispeed;
251 out->c_ospeed = (user_speed_t)in->c_ospeed;
255 termios64to32(struct user_termios *in, struct termios32 *out)
257 out->c_iflag = (tcflag_t)in->c_iflag;
258 out->c_oflag = (tcflag_t)in->c_oflag;
259 out->c_cflag = (tcflag_t)in->c_cflag;
260 out->c_lflag = (tcflag_t)in->c_lflag;
263 bcopy(in->c_cc, out->c_cc, sizeof(in->c_cc));
265 out->c_ispeed = (speed_t)in->c_ispeed;
266 out->c_ospeed = (speed_t)in->c_ospeed;
284 * This function is called early in bsd_init(), prior to the
422 * the flush in case there are buggy callers.
634 * SAFE: scheduler executing threads in
806 * Put data char in q for user and
1028 * stub in user space
1049 * point, we should just in-line ttcompat() here.
1063 /* If the ioctl involves modification, signal if in the background. */
1116 * process, that's handled in the signal sending code.
1225 case TIOCSETAF_32: /* drn out, fls in, set */
1227 { /* drn out, fls in, set */
1248 #endif /* 0 - leave in; may end up being a conformance issue */
1299 * ICANON while we're in a non-termios line
1387 /* Session ctty vnode pointer set in vnode layer. */
1603 * stub in user space
1713 * XXX wait a bit in the hope that the stop
1717 * put in a special queue. Don't bother with
1718 * the checks in ttywait() since the timeout
1740 * Copy in the default termios characters.
1744 * Notes: No assertion; tp is not in scope.
1756 * XXX the stop character should be put in a special high priority queue.
1776 * XXX the start character should be put in a special high priority queue.
1964 * Signal the process if it's in the background.
1996 * process, that's handled in the signal sending code.
2047 t *= 100000; /* time in us */
2183 * SAFE: under us in the "goto loop" case.
2198 * Interpret EOF only in canonical mode.
2243 * Notes: This function is called from tprintf() in subr_prf.c
2317 * Signal the process if it's in the background.
2347 * process, that's handled in the signal sending code.
2353 * Process the user's data in at most OBUFSIZ chunks. Perform any
2355 * overflow awaiting device aid in acquiring new space.
2382 * bits in char_type), call ttyoutput. After processing
2414 * If there are any further characters in this
2456 * This can only occur if FLUSHO is set in t_lflag,
2666 * XXX: since the process we intend to wakeup is in the
2708 * Look up a code for a specified speed in a conversion table;
2753 /* XXX Should be in Mach header <kern/thread.h>, but doesn't work */
2804 /* first process in process group */
2962 * Notes: Only ever called from putchar() in subr_prf.c
2990 * wmesg Wait message; shows up in debugger,
2991 * should show up in "ps", but doesn't
2997 * stub in user space