All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: linux-kernel@vger.kernel.org, mansarov@us.ibm.com
Subject: Re: tty_flip_buffer
Date: Fri, 18 Nov 2005 01:08:42 +0000	[thread overview]
Message-ID: <1132276122.25914.23.camel@localhost.localdomain> (raw)

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


             reply	other threads:[~2005-11-18  0:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18  1:08 Alan Cox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-15 21:38 tty_flip_buffer V. Ananda Krishnan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1132276122.25914.23.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mansarov@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.