Home
last modified time | relevance | path

Searched refs:pty (Results 1 – 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/filesystems/
Ddevpts.rst25 Total count of pty pairs in all instances is limited by sysctls::
27 kernel.pty.max = 4096 - global limit
28 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace
29 kernel.pty.nr - current count of ptys
34 ``sysctl kernel.pty.reserve``.
36 In kernels older than 3.4 sysctl ``kernel.pty.max`` works as per-instance limit.
Dproc.rst1432 pty_slave /dev/pts 136 0-255 pty:slave
1433 pty_master /dev/ptm 128 0-255 pty:master
1434 pty_slave /dev/ttyp 3 0-255 pty:slave
1435 pty_master /dev/pty 2 0-255 pty:master
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-rds-gen.c56 data[1].lsb = rds->pty << 5; in vivid_rds_generate()
57 data[1].msb = (rds->pty >> 3) | (rds->tp << 2); in vivid_rds_generate()
119 data[3].lsb = rds->pty << 5; in vivid_rds_generate()
122 data[3].msb |= rds->pty >> 3; in vivid_rds_generate()
135 rds->pty = alt ? 29 : 2; in vivid_rds_gen_fill()
138 rds->pty = alt ? 16 : 3; in vivid_rds_gen_fill()
Dvivid-radio-common.c71 rds->pty = dev->radio_tx_rds_pty->cur.val; in vivid_radio_rds_init()
90 v4l2_ctrl_s_ctrl(dev->radio_rx_rds_pty, rds->pty); in vivid_radio_rds_init()
Dvivid-rds-gen.h26 u8 pty; member
/kernel/linux/linux-5.10/arch/um/drivers/
Dpty.c81 char *pty, *bank, *cp; in getmaster() local
84 pty = &line[strlen("/dev/ptyp")]; in getmaster()
87 *pty = '0'; in getmaster()
93 *pty = *cp; in getmaster()
DMakefile58 obj-$(CONFIG_PTY_CHAN) += pty.o
67 USER_OBJS := fd.o null.o pty.o tty.o xterm.o slip_common.o pcap_user.o vde_user.o vector_user.o
DKconfig41 bool "pty channel support"
45 pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled
95 default "pty"
99 command line. The default value is "pty", which attaches them to
103 which don't have a set of /dev/pty* devices.
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dsigio.c432 struct openpty_arg pty = { .master = -1, .slave = -1 }; in check_one_sigio() local
435 initial_thread_cb(openpty_cb, &pty); in check_one_sigio()
436 if (pty.err) { in check_one_sigio()
438 -pty.err); in check_one_sigio()
442 master = pty.master; in check_one_sigio()
443 slave = pty.slave; in check_one_sigio()
/kernel/linux/linux-5.10/drivers/media/radio/
Dradio-miropcm20.c360 u8 pty; in pcm20_thread() local
362 res = rds_cmd(dev->aci, RDS_PTYTATP, &pty, 1); in pcm20_thread()
364 v4l2_ctrl_s_ctrl(dev->rds_ms, !!(pty & 0x01)); in pcm20_thread()
365 v4l2_ctrl_s_ctrl(dev->rds_ta, !!(pty & 0x02)); in pcm20_thread()
366 v4l2_ctrl_s_ctrl(dev->rds_tp, !!(pty & 0x80)); in pcm20_thread()
367 v4l2_ctrl_s_ctrl(dev->rds_pty, (pty >> 2) & 0x1f); in pcm20_thread()
/kernel/linux/linux-5.10/drivers/tty/
DMakefile6 obj-$(CONFIG_LEGACY_PTYS) += pty.o
7 obj-$(CONFIG_UNIX98_PTYS) += pty.o
Dpty.c296 struct tty_struct *pty = tty->link; in pty_resize() local
305 rpgrp = tty_get_pgrp(pty); in pty_resize()
316 pty->winsize = *ws; /* Never used so will go away soon */ in pty_resize()
/kernel/linux/linux-5.10/scripts/kconfig/
Dconfdata.c1205 int i, cnt, pby, pty, ptm; /* pby: probability of bool = y in conf_set_all_new_symbols() local
1210 pby = 50; pty = ptm = 33; /* can't go as the default in switch-case in conf_set_all_new_symbols()
1234 pby = p[0]; ptm = pby/2; pty = pby-ptm; in conf_set_all_new_symbols()
1237 pty = p[0]; ptm = p[1]; pby = pty + ptm; in conf_set_all_new_symbols()
1240 pby = p[0]; pty = p[1]; ptm = p[2]; in conf_set_all_new_symbols()
1244 if( pty+ptm > 100 ) { in conf_set_all_new_symbols()
1276 if (cnt < pty) in conf_set_all_new_symbols()
1278 else if (cnt < (pty+ptm)) in conf_set_all_new_symbols()
/kernel/linux/linux-5.10/include/linux/mfd/
Dsi476x-core.h329 u8 pty; member
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/process/
Dmagic-number.rst71 PTY_MAGIC 0x5001 ``drivers/char/pty.c``
/kernel/linux/linux-5.10/Documentation/process/
Dmagic-number.rst82 PTY_MAGIC 0x5001 ``drivers/char/pty.c``
/kernel/linux/linux-5.10/Documentation/translations/it_IT/process/
Dmagic-number.rst88 PTY_MAGIC 0x5001 ``drivers/char/pty.c``
/kernel/linux/linux-5.10/Documentation/admin-guide/
Ddevices.rst253 a master side, named ``/dev/pty[p-za-e][0-9a-f]``, and a slave side, named
Ddevices.txt38 * Masters are "pty", slaves are "tty";
/kernel/linux/linux-5.10/Documentation/networking/
Dcdc_mbim.rst228 DssSessionId 5 as a pty character device pointed to by a /dev/nmea
/kernel/linux/linux-5.10/Documentation/driver-api/serial/
Dtty.rst223 TTY_OTHER_CLOSED Device is a pty and the other side has closed.
/kernel/linux/linux-5.10/drivers/mfd/
Dsi476x-cmd.c936 report->pty = 0x1f & resp[3]; in si476x_core_cmd_fm_rds_status()
/kernel/linux/linux-5.10/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst664 * The pty and pts channels - use system pty/pts.
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/
Dkernel.rst995 pty chapter
/kernel/linux/linux-5.10/
DCREDITS90 D: Unix98 pty support.
2359 D: Initial implementation of VC's, pty's and select()

12