Lines Matching defs:buffer
27 * size of a buffer that collects single characters coming in
45 /* Pointer to current console buffer. */
107 sclp_ttybuf_callback(struct sclp_buffer *buffer, int rc)
113 page = sclp_unmake_buffer(buffer);
115 /* Remove buffer from outqueue */
116 list_del(&buffer->list);
119 /* Check if there is a pending buffer on the out queue. */
120 buffer = NULL;
122 buffer = list_entry(sclp_tty_outqueue.next,
125 } while (buffer && sclp_emit_buffer(buffer, sclp_ttybuf_callback));
131 __sclp_ttybuf_emit(struct sclp_buffer *buffer)
138 list_add_tail(&buffer->list, &sclp_tty_outqueue);
143 rc = sclp_emit_buffer(buffer, sclp_ttybuf_callback);
145 sclp_ttybuf_callback(buffer, rc);
150 * temporary write buffer.
184 /* Create a sclp output buffer if none exists yet */
199 /* try to write the string to the current output buffer */
206 * output buffer. Emit the buffer, create a new buffer
217 /* Setup timer to output current console buffer after 1/10 second */
248 * If the given character is a '\n' the contents of the SCLP write buffer
277 * This routine returns the number of characters in the write buffer of the
280 * characters in the write buffer (will not be written as long as there is a