/linux-4.4.14/arch/um/drivers/ |
H A D | pty.c | 81 char *pty, *bank, *cp; getmaster() local 84 pty = &line[strlen("/dev/ptyp")]; getmaster() 86 line[strlen("/dev/pty")] = *bank; getmaster() 87 *pty = '0'; getmaster() 93 *pty = *cp; getmaster() 109 printk(UM_KERN_ERR "getmaster - no usable host pty devices\n"); getmaster() 142 .type = "pty",
|
H A D | Makefile | 56 obj-$(CONFIG_PTY_CHAN) += pty.o 64 USER_OBJS := fd.o null.o pty.o tty.o xterm.o slip_common.o pcap_user.o vde_user.o
|
H A D | slip_user.c | 134 printk(UM_KERN_ERR "slip-open : Failed to open pty, err = %d\n", slip_open()
|
H A D | chan_kern.c | 427 { "pty", &pty_ops }, 430 { "pty", ¬_configged_ops },
|
/linux-4.4.14/arch/um/os-Linux/ |
H A D | tty.c | 45 printk(UM_KERN_ERR "get_pty : Couldn't grant pty - " get_pty() 52 printk(UM_KERN_ERR "get_pty : Couldn't unlock pty - " get_pty()
|
H A D | sigio.c | 10 #include <pty.h> 432 struct openpty_arg pty = { .master = -1, .slave = -1 }; check_one_sigio() local 435 initial_thread_cb(openpty_cb, &pty); check_one_sigio() 436 if (pty.err) { check_one_sigio() 438 -pty.err); check_one_sigio() 442 master = pty.master; check_one_sigio() 443 slave = pty.slave; check_one_sigio() 447 "pty\n"); check_one_sigio() 535 "skipping pty SIGIO check\n"); check_sigio()
|
/linux-4.4.14/drivers/tty/ |
H A D | pty.c | 85 * (1) trying to send data to the pty, or (2) waiting in wait_until_sent() 86 * for the pty buffer to be drained. 95 * pty_write - write to a pty 103 * the other side of the pty/tty pair. 151 /* Set the lock flag on a pty */ pty_set_lock() 170 /* Set the packet mode on a pty */ pty_set_pktmode() 192 /* Get the packet mode of a pty */ pty_get_pktmode() 304 struct tty_struct *pty = tty->link; pty_resize() local 313 rpgrp = tty_get_pgrp(pty); pty_resize() 324 pty->winsize = *ws; /* Never used so will go away soon */ pty_resize() 335 * Propagates the TIOCPKT status to the master pty. 337 * NB: only the master pty can be in packet mode so only the slave 367 * pty_common_install - set up the pty pair 368 * @driver: the pty driver 372 * Perform the initial set up for the tty/pty pair. Called from the 492 case TIOCSIG: /* Send signal to other side of pty */ pty_bsd_ioctl() 508 * The master side of a pty can do TIOCSPTLCK and thus 555 panic("Couldn't allocate pty driver"); legacy_pty_init() 562 panic("Couldn't allocate pty slave driver"); legacy_pty_init() 565 pty_driver->name = "pty"; legacy_pty_init() 594 panic("Couldn't register pty driver"); legacy_pty_init() 596 panic("Couldn't register pty slave driver"); legacy_pty_init() 621 case TIOCSIG: /* Send signal to other side of pty */ pty_unix98_ioctl() 629 * ptm_unix98_lookup - find a pty master 633 * Look up a pty master device. Called under the tty_mutex for now. 645 * pts_unix98_lookup - find a pty slave 649 * Look up a pty master device. Called under the tty_mutex for now. 728 * ptmx_open - open a unix 98 pty master 732 * Allocate a unix98 pty master device from the ptmx driver. 736 * allocated_ptys_lock handles the list of free pty numbers
|
H A D | tty_ldisc.c | 517 * overlapping ldisc change (including on the other end of pty pairs), 518 * the close of one side of a tty/pty pair, and eventually hangup. 656 * In the pty pair case this occurs in the close() path of the 722 * @o_tty: pair tty for pty/tty pairs 724 * Called during the initial open of a tty/pty pair in order to set up the 764 * @tty: tty being shut down (or one end of pty pair) 766 * Called during the final close of a tty or a pty pair in order to shut
|
H A D | tty_io.c | 19 * the low-level tty routines (serial.c, pty.c, console.c). This 1308 * pty_line_name - generate name for a pty 1489 * could also be an active device. The pty drivers require special 1497 * a reference count of 1. If a pair was created for pty/tty use 1498 * and the other was a pty master then it too has a reference count of 1. 1594 * tty_flush_works - flush all works of a tty/pty pair 1595 * @tty: tty device to flush works for (or either end of a pty pair) 1675 * Release both @tty and a possible linked partner (think pty pair), 1796 /* If tty is pty master, lock the slave pty (stable lock order) */ tty_release() 1852 printk(KERN_WARNING "%s: bad pty slave count (%d) for %s\n", tty_release() 2019 * Open-counting is needed for pty masters, as well as for keeping 2023 * The termios state of a pty is reset on first open so that 2544 * @real_tty: tty side of the tty passed by the user if a pty else the tty 2559 * testing if the tty is NOT a master pty. tiocgpgrp() 2620 * @real_tty: tty side of the tty passed by the user if a pty else the tty 2633 * testing if the tty is NOT a master pty. tiocgsid() 2827 * if pty, return the slave side (real_tty)
|
H A D | n_tty.c | 1142 /* notify pty master of flush */ isig() 1753 /* Unthrottle if handling overflow on pty */ n_tty_receive_buf_common()
|
H A D | tty_ioctl.c | 537 * A master pty's termios should never be set.
|
/linux-4.4.14/drivers/media/platform/vivid/ |
H A D | vivid-rds-gen.c | 67 data[1].lsb = rds->pty << 5; vivid_rds_generate() 68 data[1].msb = (rds->pty >> 3) | (rds->tp << 2); vivid_rds_generate() 128 data[3].lsb = rds->pty << 5; vivid_rds_generate() 131 data[3].msb |= rds->pty >> 3; vivid_rds_generate() 144 rds->pty = alt ? 29 : 2; vivid_rds_gen_fill() 147 rds->pty = alt ? 16 : 3; vivid_rds_gen_fill()
|
H A D | vivid-rds-gen.h | 37 u8 pty; member in struct:vivid_rds_gen
|
H A D | vivid-radio-common.c | 83 rds->pty = dev->radio_tx_rds_pty->cur.val; vivid_radio_rds_init() 102 v4l2_ctrl_s_ctrl(dev->radio_rx_rds_pty, rds->pty); vivid_radio_rds_init()
|
/linux-4.4.14/fs/proc/ |
H A D | proc_tty.c | 55 seq_puts(m, "pty:master"); show_tty_range() 57 seq_puts(m, "pty:slave"); show_tty_range() 59 seq_puts(m, "pty"); show_tty_range()
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
H A D | ioctls.h | 36 #define TIOCPKT 0x5470 /* pty: set/clear packet mode */ 44 #define TIOCPKT_IOCTL 0x40 /* state change of pty driver */ 86 #define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
H A D | termbits.h | 206 #define EXTPROC 0200000 /* External processing on pty */
|
/linux-4.4.14/drivers/media/radio/ |
H A D | radio-miropcm20.c | 361 u8 pty; pcm20_thread() local 363 res = rds_cmd(dev->aci, RDS_PTYTATP, &pty, 1); pcm20_thread() 365 v4l2_ctrl_s_ctrl(dev->rds_ms, !!(pty & 0x01)); pcm20_thread() 366 v4l2_ctrl_s_ctrl(dev->rds_ta, !!(pty & 0x02)); pcm20_thread() 367 v4l2_ctrl_s_ctrl(dev->rds_tp, !!(pty & 0x80)); pcm20_thread() 368 v4l2_ctrl_s_ctrl(dev->rds_pty, (pty >> 2) & 0x1f); pcm20_thread()
|
/linux-4.4.14/include/uapi/asm-generic/ |
H A D | ioctls.h | 68 #define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ 75 #define TIOCSIG _IOW('T', 0x36, int) /* pty: generate signal */
|
/linux-4.4.14/include/linux/ |
H A D | devpts_fs.h | 34 /* Dummy stubs in the no-pty case */ devpts_new_index()
|
H A D | tty.h | 23 * Lock subclasses are necessary for handling nested locking with pty pairs. 26 * legacy_mutex - Nested tty locks are necessary for releasing pty pairs. 27 * The stable lock order is master pty first, then slave pty. 29 * Subclassing this lock enables the slave pty to hold its 32 * signal chars. The stable lock order is slave pty, then 267 /* Protects ldisc changes: Lock tty not pty */ 342 #define TTY_PTY_LOCK 16 /* pty private */
|
H A D | tty_driver.h | 395 * is only applicable to the pty driver. 433 /* pty subtypes (magic, used by tty_io.c) */
|
/linux-4.4.14/scripts/kconfig/ |
H A D | confdata.c | 1124 int i, cnt, pby, pty, ptm; /* pby: probability of boolean = y conf_set_all_new_symbols() local 1125 * pty: probability of tristate = y conf_set_all_new_symbols() 1129 pby = 50; pty = ptm = 33; /* can't go as the default in switch-case conf_set_all_new_symbols() 1153 pby = p[0]; ptm = pby/2; pty = pby-ptm; conf_set_all_new_symbols() 1156 pty = p[0]; ptm = p[1]; pby = pty + ptm; conf_set_all_new_symbols() 1159 pby = p[0]; pty = p[1]; ptm = p[2]; conf_set_all_new_symbols() 1163 if( pty+ptm > 100 ) { conf_set_all_new_symbols() 1195 if (cnt < pty) for_all_symbols() 1197 else if (cnt < (pty+ptm)) for_all_symbols()
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
H A D | ioctls.h | 95 #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
/linux-4.4.14/arch/parisc/include/uapi/asm/ |
H A D | ioctls.h | 55 #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
/linux-4.4.14/arch/xtensa/include/uapi/asm/ |
H A D | ioctls.h | 100 #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
H A D | ioctls.h | 95 #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
/linux-4.4.14/arch/sh/include/uapi/asm/ |
H A D | ioctls.h | 88 #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
H A D | ioctls.h | 87 /* Get minor device of a pty master's FD -- Solaris equiv is ISPTM */
|
/linux-4.4.14/include/uapi/linux/ |
H A D | sysctl.h | 141 KERN_PTY=62, /* dir: pty driver */ 239 /* /proc/sys/kernel/pty */
|
/linux-4.4.14/include/linux/mfd/ |
H A D | si476x-core.h | 328 * @pty: Current channel's PTY code. 338 u8 pty; member in struct:si476x_rds_status_report
|
/linux-4.4.14/tools/testing/selftests/rcutorture/bin/ |
H A D | functions.sh | 192 echo -monitor stdio -serial pty -S
|
/linux-4.4.14/fs/devpts/ |
H A D | inode.c | 80 .procname = "pty", 579 * pty code needs to hold extra references in case of last /dev/tty close
|
/linux-4.4.14/drivers/isdn/gigaset/ |
H A D | capi.c | 1573 "CONNECT_REQ", "Called pty subaddr"); do_connect_req() 1575 "CONNECT_REQ", "Calling pty subaddr"); do_connect_req()
|
/linux-4.4.14/drivers/net/ppp/ |
H A D | ppp_async.c | 660 * for example on a pty with both the master and slave ppp_async_push()
|
/linux-4.4.14/kernel/ |
H A D | sysctl_binary.c | 126 { CTL_DIR, KERN_PTY, "pty", bin_pty_table },
|
/linux-4.4.14/drivers/mfd/ |
H A D | si476x-cmd.c | 947 report->pty = 0x1f & resp[3]; si476x_core_cmd_fm_rds_status()
|
/linux-4.4.14/drivers/tty/vt/ |
H A D | vt.c | 832 * @real_tty: real tty (different to tty if a pty/tty pair)
|
/linux-4.4.14/security/smack/ |
H A D | smack_lsm.c | 3432 * pty with respect. smack_d_instantiate()
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
H A D | message.c | 4362 /* 3pty conference pending */ control_rc()
|