* Re: dget()
@ 2001-05-15 15:40 Rick Hohensee
0 siblings, 0 replies; 7+ messages in thread
From: Rick Hohensee @ 2001-05-15 15:40 UTC (permalink / raw)
To: linux-kernel
and the Linux source crossreferencing site at
http://lxr.linux.no/
is awesome.
Rick Hohensee
www.clienux.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* dget()
@ 2001-05-15 8:09 Blesson Paul
2001-05-15 8:21 ` dget() Tigran Aivazian
2001-05-15 8:24 ` dget() Alexander Viro
0 siblings, 2 replies; 7+ messages in thread
From: Blesson Paul @ 2001-05-15 8:09 UTC (permalink / raw)
To: linux-kernel
Hi
In everyfile system, dget() function is called. But I cannot find
where is the dget() function is written. Where is it
Thanks in advance
by
Blesson
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dget()
2001-05-15 8:09 dget() Blesson Paul
@ 2001-05-15 8:21 ` Tigran Aivazian
2001-05-15 9:06 ` dget() Xavier Bestel
2001-05-15 8:24 ` dget() Alexander Viro
1 sibling, 1 reply; 7+ messages in thread
From: Tigran Aivazian @ 2001-05-15 8:21 UTC (permalink / raw)
To: Blesson Paul; +Cc: linux-kernel
On 15 May 2001, Blesson Paul wrote:
> In everyfile system, dget() function is called. But I cannot find
> where is the dget() function is written. Where is it
To find this out, you type:
# vi -t dget
and then look at the bottom line which would show
"./include/linux/dcache.h"
This assumes you have built the tags by:
# cd /usr/src/linux
# find -name '*.[ch]' | ctags -L- &
# echo "set tags=tags" >> .vimrc
And, btw, it is a static inline, not a function per se.
Regards,
Tigran
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dget()
2001-05-15 8:21 ` dget() Tigran Aivazian
@ 2001-05-15 9:06 ` Xavier Bestel
2001-05-15 9:14 ` dget() Tigran Aivazian
0 siblings, 1 reply; 7+ messages in thread
From: Xavier Bestel @ 2001-05-15 9:06 UTC (permalink / raw)
To: Tigran Aivazian; +Cc: Blesson Paul, linux-kernel
Le 15 May 2001 09:21:47 +0100, Tigran Aivazian a écrit :
> On 15 May 2001, Blesson Paul wrote:
> > In everyfile system, dget() function is called. But I cannot find
> > where is the dget() function is written. Where is it
>
> To find this out, you type:
>
> # vi -t dget
>
> and then look at the bottom line which would show
> "./include/linux/dcache.h"
>
> This assumes you have built the tags by:
>
> # cd /usr/src/linux
> # find -name '*.[ch]' | ctags -L- &
> # echo "set tags=tags" >> .vimrc
... or:
# cd /usr/src/linux
# make tags
Xav
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dget()
2001-05-15 9:06 ` dget() Xavier Bestel
@ 2001-05-15 9:14 ` Tigran Aivazian
2001-05-19 14:58 ` dget() Pete Wyckoff
0 siblings, 1 reply; 7+ messages in thread
From: Tigran Aivazian @ 2001-05-15 9:14 UTC (permalink / raw)
To: Xavier Bestel; +Cc: Blesson Paul, linux-kernel
On 15 May 2001, Xavier Bestel wrote:
> # cd /usr/src/linux
> # make tags
No, I never use that one because it skips very useful entries like the
ones from EXPORT_SYMBOL etc. Also, it only shows the current architecture.
So, the tags target in the Makefile would only become useful when it is
stripped of extra (unnecessary, imho) logic and turned into a plain one I
suggested above.
Regards,
Tigran
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dget()
2001-05-15 9:14 ` dget() Tigran Aivazian
@ 2001-05-19 14:58 ` Pete Wyckoff
0 siblings, 0 replies; 7+ messages in thread
From: Pete Wyckoff @ 2001-05-19 14:58 UTC (permalink / raw)
To: Tigran Aivazian; +Cc: linux-kernel
tigran@veritas.com said:
> # cd /usr/src/linux
> # find -name '*.[ch]' | ctags -L- &
>
> On 15 May 2001, Xavier Bestel wrote:
> > # cd /usr/src/linux
> > # make tags
>
> No, I never use that one because it skips very useful entries like the
> ones from EXPORT_SYMBOL etc. Also, it only shows the current architecture.
> So, the tags target in the Makefile would only become useful when it is
> stripped of extra (unnecessary, imho) logic and turned into a plain one I
> suggested above.
You can use the -I feature to ignore some keywords, but not the
functions they modify. Without ignoring __initdata, for instance, you
get a couple hundred tags for it, and none for the actual variable,
e.g. cpu_vendor_names. My current ignore list for the kernel is at
http://www.osc.edu/~pw/ctags-ignore .
If you really want to see the EXPORT_SYMBOL(tag) lines, you'll want
to remove that one from the list (and be sure to do the sorting...),
Next, the wonderful editor Vim doesn't read my mind quite well enough.
When I want to see the tag for "page", for example, I really
want to look at the definition of the struct in include/linux/mm.h, not
at any of the 16 other places which declare a variable struct page *page;.
So I run the tags file through a perl script which percolates those
interesting items to the top when there are multiple entries for the
same identifier. It's here: http://www.osc.edu/~pw/sort-tags .
Finally, I modify the Makefile to generate tags with these
modifications. Here's the snippet:
tags: dummy
( find include/asm-$(ARCH) -name "*.h" ;\
find include -type d \( -name "asm-*" -o -name config \) -prune \
-o -name "*.h" -print ; find $(SUBDIRS) init -name '*.[chS]' ) |\
ctags -I../ctags-ignore -L - -f - | sort-tags > tags
Note that this only generates tags for your current architecture,
and that your ctags must be Exuberant and version >= 5.0.
-- Pete
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dget()
2001-05-15 8:09 dget() Blesson Paul
2001-05-15 8:21 ` dget() Tigran Aivazian
@ 2001-05-15 8:24 ` Alexander Viro
1 sibling, 0 replies; 7+ messages in thread
From: Alexander Viro @ 2001-05-15 8:24 UTC (permalink / raw)
To: Blesson Paul; +Cc: linux-kernel
On 15 May 2001, Blesson Paul wrote:
> Hi
> In everyfile system, dget() function is called. But I cannot find
> where is the dget() function is written. Where is it
man grep
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-05-19 14:58 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-15 15:40 dget() Rick Hohensee
-- strict thread matches above, loose matches on Subject: below --
2001-05-15 8:09 dget() Blesson Paul
2001-05-15 8:21 ` dget() Tigran Aivazian
2001-05-15 9:06 ` dget() Xavier Bestel
2001-05-15 9:14 ` dget() Tigran Aivazian
2001-05-19 14:58 ` dget() Pete Wyckoff
2001-05-15 8:24 ` dget() Alexander Viro
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).