From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: corbet@lwn.net (Jonathan Corbet)
Cc: Michael Zhu <mylinuxk@yahoo.ca>, linux-kernel@vger.kernel.org
Subject: Re: The CURRENT macro
Date: Thu, 3 Jan 2002 19:55:10 -0200 [thread overview]
Message-ID: <20020103195509.C26824@conectiva.com.br> (raw)
In-Reply-To: <20020103213455.34699.qmail@web14911.mail.yahoo.com> <20020103214839.9953.qmail@eklektix.com>
In-Reply-To: <20020103214839.9953.qmail@eklektix.com>
Em Thu, Jan 03, 2002 at 02:48:39PM -0700, Jonathan Corbet escreveu:
> > In Alessandro Rubini's book Linux Device Driver(Second
> > Edition), Chatper 12
> Alessandro and...um...some other guy...:)
Yes, I know that other guy, very nice guy indeed 8)
> > he said that "By accessing the
> > fields in the request structure, usually by way of
> > CURRENT" and "CURRENT is just a pointer into
> > blk_dev[MAJOR_NR].request_queue". I know CURRENT is
> > just a macro. Where can I find the definition of this
> > macro?
> A little grepping in the source would give you the answer there. It's in
> .../include/linux/blk.h.
Or:
make tags
vi -t CURRENT
8)
- Arnaldo
next prev parent reply other threads:[~2002-01-03 23:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-03 21:34 The CURRENT macro Michael Zhu
2002-01-03 21:48 ` Jonathan Corbet
2002-01-03 21:55 ` Arnaldo Carvalho de Melo [this message]
2002-01-04 8:03 ` Terje Eggestad
2002-01-03 22:01 ` Richard B. Johnson
2002-01-03 22:14 ` Peter Makholm
2002-01-03 22:55 ` Tom Gall
2002-01-03 22:57 ` Tom Gall
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=20020103195509.C26824@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=corbet@lwn.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mylinuxk@yahoo.ca \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox