Lines Matching refs:buffer
54 * Until this number of characters is queued in the xmit buffer, select will
62 * controlling the space in the read buffer.
68 * Special byte codes used in the echo buffer to represent operations
69 * or special handling of characters. Bytes in the echo buffer that
161 static void zero_buffer(const struct tty_struct *tty, u8 *buffer, size_t size)
164 memset(buffer, 0, size);
192 * Re-schedules the flip buffer work if it may have stopped.
214 "scheduling buffer work for halted ldisc\n");
274 /* If there is enough space in the read buffer now, let the
276 * check the buffer, as it now knows about canonical mode.
313 * reset_buffer_flags - reset buffer state
316 * Reset the read buffer counters and clear the flags. Called from
352 * Flush the input buffer. Called when the tty layer wants the buffer flushed
356 * Holds %termios_rwsem to exclude producer/consumer while buffer indices are
402 * @space: space available in tty driver write buffer
406 * putting the results in the tty driver's write buffer.
412 * Returns: the number of bytes of buffer space used or -1 if no space left.
415 * and space left in the buffer.
511 * @buf: character buffer
599 * If the buffer byte is the start of a multi-byte operation, get the
687 * because the driver's write buffer can fill during heavy program output.
693 * state are also saved in the buffer and executed here.
695 * A circular fifo buffer is used so that the most recent characters are
736 /* If the echo buffer is nearly full (so that the possibility exists
817 * add_echo_byte - add a byte to the echo buffer
821 * Add a character or operation byte to the echo buffer.
834 * Add an operation to the echo buffer to move back one column.
846 * Add an operation to the echo buffer to set the canon column to the current
861 * Add an operation to the echo buffer to erase a tab.
1090 * buffer is 'output'. The signal is processed first to alert any current
1109 /* clear echo buffer */
1115 /* clear output buffer */
1118 /* clear input buffer */
1140 * Note: may get exclusive %termios_rwsem if flushing input buffer
1532 /* handle buffer wrap-around by a loop */
1677 * In non-canonical mode, the read buffer will only accept 4095 chars; this
1681 * Note it is possible for the read buffer to _contain_ 4096 chars in
1682 * non-canonical mode: the read buffer could already contain the maximum canon
1702 * in the read buf; reduce the buffer space avail by 3x
1922 /* indicate buffer work may resume */
1998 * into the result buffer.
2001 * read buffer contains data, n_tty_set_termios() simulates an EOF push (as if
2002 * C-d were input) _without_ the %DISABLED_CHAR in the buffer. This causes data
2091 // See if the tail position is EOF in the circular buffer
2135 * @kbuf: kernelspace buffer pointer
2173 * If we have filled the user buffer, see
2337 * @buf: userspace buffer pointer
2345 * and space left in the buffer.