kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: navych@126.com (Navy Cheng)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How can I locate a struct's defination?
Date: Sun, 2 Aug 2015 13:01:05 +0800	[thread overview]
Message-ID: <20150802050105.GA3736@debian> (raw)

Hi,
I use emacs and tags to read kernel source. The tags is create by

    make tags

in the kernel source tree. When I want to find a struct's defination,
something goes wrong. For example: when I find *dentry* , the first
result is:

    struct rchan_buf
    {
       ...
            struct dentry *dentry;          /* channel file dentry */
       ...
    }

There are so many items like this before I find

    struct dentry
    {
        ....
    }

How can I find the struct's defination directly?

Thanks.

             reply	other threads:[~2015-08-02  5:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-02  5:01 Navy Cheng [this message]
2015-08-02 16:35 ` How can I locate a struct's defination? Daniel Baluta
2015-08-03 16:15 ` Jeff Haran

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=20150802050105.GA3736@debian \
    --to=navych@126.com \
    --cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).