From: Peter Makholm <peter@makholm.net>
To: linux-kernel@vger.kernel.org
Subject: Re: The CURRENT macro
Date: Thu, 03 Jan 2002 23:14:59 +0100 [thread overview]
Message-ID: <87u1u3ozdo.fsf@xyzzy.adsl.dk> (raw)
In-Reply-To: <20020103213455.34699.qmail@web14911.mail.yahoo.com>
In-Reply-To: <20020103213455.34699.qmail@web14911.mail.yahoo.com> (mylinuxk@yahoo.ca's message of "Thu, 3 Jan 2002 21:36:53 +0000 (UTC)")
mylinuxk@yahoo.ca (Michael Zhu) writes:
> blk_dev[MAJOR_NR].request_queue". I know CURRENT is
> just a macro. Where can I find the definition of this
> macro?
Seek, and ye shall find (Matt 7.7):
xyzzy% find -type f | xargs grep "#define CURRENT "
./include/linux/blk.h:#define CURRENT blkdev_entry_next_request(&blk_dev[MAJOR_NR].request_queue.queue_head)
xyzzy%
--
Når folk spørger mig, om jeg er nørd, bliver jeg altid ilde til mode
og svarer lidt undskyldende: "Nej, jeg bruger RedHat".
-- Allan Olesen på dk.edb.system.unix
next prev parent reply other threads:[~2002-01-03 22:15 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
2002-01-04 8:03 ` Terje Eggestad
2002-01-03 22:01 ` Richard B. Johnson
2002-01-03 22:14 ` Peter Makholm [this message]
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=87u1u3ozdo.fsf@xyzzy.adsl.dk \
--to=peter@makholm.net \
--cc=linux-kernel@vger.kernel.org \
/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