tag | line | file | source code |
N_TTY_BUF_SIZE | 55 | drivers/char/n_tty.c | #define TTY_THRESHOLD_THROTTLE (N_TTY_BUF_SIZE - 128) |
N_TTY_BUF_SIZE | 60 | drivers/char/n_tty.c | if (tty->read_cnt < N_TTY_BUF_SIZE) { |
N_TTY_BUF_SIZE | 62 | drivers/char/n_tty.c | tty->read_head = (tty->read_head + 1) & (N_TTY_BUF_SIZE-1); |
N_TTY_BUF_SIZE | 200 | drivers/char/n_tty.c | (N_TTY_BUF_SIZE - 1)); |
N_TTY_BUF_SIZE | 206 | drivers/char/n_tty.c | (N_TTY_BUF_SIZE - 1)); |
N_TTY_BUF_SIZE | 220 | drivers/char/n_tty.c | head = (tty->read_head - 1) & (N_TTY_BUF_SIZE-1); |
N_TTY_BUF_SIZE | 255 | drivers/char/n_tty.c | tail = (tail+1) & (N_TTY_BUF_SIZE-1); |
N_TTY_BUF_SIZE | 378 | drivers/char/n_tty.c | if (tty->read_cnt >= N_TTY_BUF_SIZE-1) { |
N_TTY_BUF_SIZE | 451 | drivers/char/n_tty.c | tail = (tail+1) & (N_TTY_BUF_SIZE-1); |
N_TTY_BUF_SIZE | 457 | drivers/char/n_tty.c | if (tty->read_cnt >= N_TTY_BUF_SIZE-1) { |
N_TTY_BUF_SIZE | 477 | drivers/char/n_tty.c | if (tty->read_cnt >= N_TTY_BUF_SIZE-1) { |
N_TTY_BUF_SIZE | 508 | drivers/char/n_tty.c | if (tty->read_cnt >= N_TTY_BUF_SIZE-1) { |
N_TTY_BUF_SIZE | 539 | drivers/char/n_tty.c | i = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt, |
N_TTY_BUF_SIZE | 540 | drivers/char/n_tty.c | N_TTY_BUF_SIZE - tty->read_head)); |
N_TTY_BUF_SIZE | 542 | drivers/char/n_tty.c | tty->read_head = (tty->read_head + i) & (N_TTY_BUF_SIZE-1); |
N_TTY_BUF_SIZE | 547 | drivers/char/n_tty.c | i = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt, |
N_TTY_BUF_SIZE | 548 | drivers/char/n_tty.c | N_TTY_BUF_SIZE - tty->read_head)); |
N_TTY_BUF_SIZE | 550 | drivers/char/n_tty.c | tty->read_head = (tty->read_head + i) & (N_TTY_BUF_SIZE-1); |
N_TTY_BUF_SIZE | 595 | drivers/char/n_tty.c | int left = N_TTY_BUF_SIZE - tty->read_cnt - 1; |
N_TTY_BUF_SIZE | 604 | drivers/char/n_tty.c | return N_TTY_BUF_SIZE; |
N_TTY_BUF_SIZE | 697 | drivers/char/n_tty.c | memset(tty->read_buf, 0, N_TTY_BUF_SIZE); |
N_TTY_BUF_SIZE | 732 | drivers/char/n_tty.c | n = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail)); |
N_TTY_BUF_SIZE | 736 | drivers/char/n_tty.c | tty->read_tail = (tty->read_tail + n) & (N_TTY_BUF_SIZE-1); |
N_TTY_BUF_SIZE | 860 | drivers/char/n_tty.c | (N_TTY_BUF_SIZE-1)); |
N_TTY_BUF_SIZE | 1262 | drivers/char/tty_io.c | tty->minimum_to_wake = N_TTY_BUF_SIZE; |
N_TTY_BUF_SIZE | 200 | drivers/char/tty_ioctl.c | nr = (head - tail) & (N_TTY_BUF_SIZE-1); |
N_TTY_BUF_SIZE | 206 | drivers/char/tty_ioctl.c | tail = (tail+1) & (N_TTY_BUF_SIZE-1); |
N_TTY_BUF_SIZE | 239 | include/linux/tty.h | unsigned long read_flags[N_TTY_BUF_SIZE/(8*sizeof(unsigned long))]; |