Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/
Dtty_audit.c40 buf->data = kmalloc(N_TTY_BUF_SIZE, GFP_KERNEL); in tty_audit_buf_alloc()
238 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data()
245 if (buf->valid == N_TTY_BUF_SIZE) in tty_audit_add_data()
Dn_tty.c80 #define ECHO_DISCARD_WATERMARK N_TTY_BUF_SIZE - (ECHO_BLOCK + 32)
112 u8 read_buf[N_TTY_BUF_SIZE];
113 DECLARE_BITMAP(read_flags, N_TTY_BUF_SIZE);
114 u8 echo_buf[N_TTY_BUF_SIZE];
132 #define MASK(x) ((x) & (N_TTY_BUF_SIZE - 1))
171 size_t size = N_TTY_BUF_SIZE - tail; in tty_copy()
254 if (N_TTY_BUF_SIZE - read_cnt(ldata) >= TTY_THRESHOLD_THROTTLE) in n_tty_check_throttle()
325 bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE); in reset_buffer_flags()
1530 size_t n = min(count, N_TTY_BUF_SIZE - head); in n_tty_receive_buf_real_raw()
1720 room = N_TTY_BUF_SIZE - (ldata->read_head - tail); in n_tty_receive_buf_common()
[all …]
/linux-6.12.1/drivers/net/caif/
Dcaif_serial.c347 tty->receive_room = N_TTY_BUF_SIZE; in ldisc_open()
/linux-6.12.1/include/linux/
Dtty.h242 #define N_TTY_BUF_SIZE 4096 macro