* tty_flip_buffer
@ 2005-11-15 21:38 V. Ananda Krishnan
0 siblings, 0 replies; 2+ messages in thread
From: V. Ananda Krishnan @ 2005-11-15 21:38 UTC (permalink / raw)
To: linux-kernel; +Cc: Alan Cox
Hi,
In the new tty_buffer structure, flag_buf_ptr is used in addition to the
char_buf_ptr. Is this flag_buf_ptr used as an additional buffer to
extend the character buffer during the use of
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.
Also, can any one explain me the function of the free queue head in the
struct tty_bufhead?
Thanks,
Ananda
V. ANANDA KRISHNAN
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: tty_flip_buffer
@ 2005-11-18 1:08 Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2005-11-18 1:08 UTC (permalink / raw)
To: linux-kernel, mansarov
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-18 0:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 21:38 tty_flip_buffer V. Ananda Krishnan
-- strict thread matches above, loose matches on Subject: below --
2005-11-18 1:08 tty_flip_buffer Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox