Home
last modified time | relevance | path

Searched refs:N_TTY_BUF_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/tty/
Dn_tty.c81 #define ECHO_DISCARD_WATERMARK N_TTY_BUF_SIZE - (ECHO_BLOCK + 32)
113 char read_buf[N_TTY_BUF_SIZE];
114 DECLARE_BITMAP(read_flags, N_TTY_BUF_SIZE);
115 unsigned char echo_buf[N_TTY_BUF_SIZE];
133 #define MASK(x) ((x) & (N_TTY_BUF_SIZE - 1))
142 return ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf()
147 return &ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf_addr()
153 return ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; in echo_buf()
158 return &ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; in echo_buf_addr()
174 size_t size = N_TTY_BUF_SIZE - tail; in tty_copy()
[all …]
Dtty_audit.c39 buf->data = kmalloc(N_TTY_BUF_SIZE, GFP_KERNEL); in tty_audit_buf_alloc()
237 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data()
244 if (buf->valid == N_TTY_BUF_SIZE) in tty_audit_add_data()
/linux-6.1.9/drivers/net/caif/
Dcaif_serial.c347 tty->receive_room = N_TTY_BUF_SIZE; in ldisc_open()
/linux-6.1.9/include/linux/
Dtty.h244 #define N_TTY_BUF_SIZE 4096 macro