Yes, cscope should be more powerful than ctags. Could you try to grep these items in your source ? If they are not there. Cscope definitely cannot find them. In the latest Linux kernel 3.xx.xx, I cannot grep DECLARE_MUTEX and DECLARE_MUTEX_LOCKED. Both of them may be deprecated by the kernel. For other items like: INIT_WORK and TIMER_INITIALIZER can be found via ctags. I'm not sure if your cscope covers all the source files. __builtin_constant_p is more like a gcc specific compiling option. This has beyond the kernel scope. If interested, please refer to gcc manual for more info. Also, cscope and ctags can only cover C files. Some functions or micros are defined in Assembly files. So you cannot find them in cscope. The best way to learn is to google them. You must find these questions has been asked for many times. Good Luck -----Original Message----- From: Chandrabhanu Mahapatra [mailto:chandrabhanu.anand@xxxxxxxxx] Sent: Tuesday, September 27, 2011 6:22 PM To: Xu, Anhua Cc: linux-newbie Subject: Re: Undefined Functions in use I used cscope and vim editor but still I am only finding the usage of the above symbols but no definition. Are these symbols GCC builtin symbols or ARM specific symbols. On Mon, Sep 26, 2011 at 4:30 PM, Xu, Anhua <anhua.xu@xxxxxxxxx> wrote: > Install your tools ctags and use it to track all the symbols in the source. > google ctags, you will find solutions > > -----Original Message----- > From: linux-newbie-owner@xxxxxxxxxxxxxxx [mailto:linux-newbie-owner@xxxxxxxxxxxxxxx] On Behalf Of Chandrabhanu Mahapatra > Sent: Monday, September 26, 2011 6:22 PM > To: linux-newbie > Subject: Undefined Functions in use > > Where can I find the definition of TIMER_INITIALIZER, DECLARE_MUTEX, > DECLARE_MUTEX_LOCKED, softirq_vec,__builtin_constant_p, INIT_WORK, > etc.? -- Chandrabhanu Mahapatra -- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs