Home
last modified time | relevance | path

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

/linux-6.12.1/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.rst1492 pty_slave /dev/pts 136 0-255 pty:slave
1493 pty_master /dev/ptm 128 0-255 pty:master
1494 pty_slave /dev/ttyp 3 0-255 pty:slave
1495 pty_master /dev/pty 2 0-255 pty:master
/linux-6.12.1/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
/linux-6.12.1/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()
DMakefile54 obj-$(CONFIG_PTY_CHAN) += pty.o
66 USER_OBJS := fd.o null.o pty.o tty.o xterm.o slip_common.o vde_user.o vector_user.o
DKconfig41 bool "pty channel support"
45 pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled
102 default "pty"
106 command line. The default value is "pty", which attaches them to
110 which don't have a set of /dev/pty* devices.
/linux-6.12.1/arch/um/os-Linux/
Dsigio.c450 struct openpty_arg pty = { .master = -1, .slave = -1 }; in check_one_sigio() local
453 initial_thread_cb(openpty_cb, &pty); in check_one_sigio()
454 if (pty.err) { in check_one_sigio()
456 -pty.err); in check_one_sigio()
460 master = pty.master; in check_one_sigio()
461 slave = pty.slave; in check_one_sigio()
/linux-6.12.1/scripts/kconfig/
Dconf.c184 int pty = 33; /* probability of tristate = y */ in conf_set_all_new_symbols() local
211 pty = pby - ptm; in conf_set_all_new_symbols()
214 pty = p[0]; in conf_set_all_new_symbols()
216 pby = pty + ptm; in conf_set_all_new_symbols()
220 pty = p[1]; in conf_set_all_new_symbols()
225 if (pty + ptm > 100) { in conf_set_all_new_symbols()
261 if (cnt < pty) in conf_set_all_new_symbols()
263 else if (cnt < pty + ptm) in conf_set_all_new_symbols()
/linux-6.12.1/drivers/media/radio/
Dradio-miropcm20.c358 u8 pty; in pcm20_thread() local
360 res = rds_cmd(dev->aci, RDS_PTYTATP, &pty, 1); in pcm20_thread()
362 v4l2_ctrl_s_ctrl(dev->rds_ms, !!(pty & 0x01)); in pcm20_thread()
363 v4l2_ctrl_s_ctrl(dev->rds_ta, !!(pty & 0x02)); in pcm20_thread()
364 v4l2_ctrl_s_ctrl(dev->rds_tp, !!(pty & 0x80)); in pcm20_thread()
365 v4l2_ctrl_s_ctrl(dev->rds_pty, (pty >> 2) & 0x1f); in pcm20_thread()
/linux-6.12.1/drivers/tty/
DMakefile6 obj-$(CONFIG_LEGACY_PTYS) += pty.o
7 obj-$(CONFIG_UNIX98_PTYS) += pty.o
Dpty.c286 struct tty_struct *pty = tty->link; in pty_resize() local
295 rpgrp = tty_get_pgrp(pty); in pty_resize()
306 pty->winsize = *ws; /* Never used so will go away soon */ in pty_resize()
/linux-6.12.1/include/linux/mfd/
Dsi476x-core.h329 u8 pty; member
/linux-6.12.1/Documentation/networking/
Dcdc_mbim.rst228 DssSessionId 5 as a pty character device pointed to by a /dev/nmea
/linux-6.12.1/Documentation/admin-guide/
Ddevices.rst252 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";
Dkernel-parameters.txt4919 pty.legacy_count=
4920 [KNL] Number of legacy pty's. Overwrites compiled-in
/linux-6.12.1/drivers/mfd/
Dsi476x-cmd.c936 report->pty = 0x1f & resp[3]; in si476x_core_cmd_fm_rds_status()
/linux-6.12.1/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst708 * The pty and pts channels - use system pty/pts.
/linux-6.12.1/Documentation/admin-guide/sysctl/
Dkernel.rst1116 pty chapter
/linux-6.12.1/
DCREDITS91 D: Unix98 pty support.
2495 D: Initial implementation of VC's, pty's and select()