lkml.org 
[lkml]   [2005]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: tty_flip_buffer
From
Date
On Maw, 2005-11-15 at 15:38 -0600, V. Ananda Krishnan wrote:
> tty_insert_flip_string_flags() API? When I looked into the
> implementation of the tty_insert_flip_string_flags API in tty_io.c, I
> was little confused.

The flags buffer is used to hold the state of each character. Its
usually TTY_NORMAL and is set to TTY_NORMAL by the functions not taking
a flag value. It serves the same task as the flag buffer in the old
tty_flip.

> Also, can any one explain me the function of the free queue head in the
> struct tty_bufhead?

Private to the tty layer pointer to allow small buffers as used with
byte at a time uarts to be recycled not freed/allocated

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-18 01:39    [W:0.025 / U:1.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site