Searched refs:N_TTY_BUF_SIZE (Results 1 – 8 of 8) sorted by relevance
80 #define ECHO_DISCARD_WATERMARK N_TTY_BUF_SIZE - (ECHO_BLOCK + 32)112 char read_buf[N_TTY_BUF_SIZE];113 DECLARE_BITMAP(read_flags, N_TTY_BUF_SIZE);114 unsigned char echo_buf[N_TTY_BUF_SIZE];138 return ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf()143 return &ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf_addr()148 return ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; in echo_buf()153 return &ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; in echo_buf_addr()250 if (N_TTY_BUF_SIZE - read_cnt(ldata) >= TTY_THRESHOLD_THROTTLE) in n_tty_check_throttle()331 bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE); in reset_buffer_flags()[all …]
33 buf->data = kmalloc(N_TTY_BUF_SIZE, GFP_KERNEL); in tty_audit_buf_alloc()306 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data()313 if (buf->valid == N_TTY_BUF_SIZE) in tty_audit_add_data()
69 #define MYFLIPLEN N_TTY_BUF_SIZE
554 len = min(len, (N_TTY_BUF_SIZE - 1)); in dgnc_input()
360 tty->receive_room = N_TTY_BUF_SIZE; in ldisc_open()
144 #define MYFLIPLEN N_TTY_BUF_SIZE
1615 len = min(len, (N_TTY_BUF_SIZE - 1)); in dgap_input()
308 #define N_TTY_BUF_SIZE 4096 macro