How can I locate a struct's defination?

Navy Cheng navych at 126.com
Sun Aug 2 01:01:05 EDT 2015


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.




More information about the Kernelnewbies mailing list