<p dir="ltr"><br>
</p>
<p dir="ltr"></p>
<p dir="ltr">On Tue 6 Oct, 2015 18:34 慕冬亮 <<a href="mailto:mudongliangabcd@gmail.com">mudongliangabcd@gmail.com</a>> wrote:</p>
<blockquote><p dir="ltr">Recently I was learning doubly linked list in kernel, there are many<br>
macro in linux/fs.h, like list_add, list_del,list_for_each,list_entry,<br>
container_of.</p>
<p dir="ltr">I know we can use "gcc -E" to expand the macro, but how do we expand<br>
the macro in kernel source code / kernel module?</p>
<p dir="ltr"> - mudongliang</p>
<p dir="ltr">____________________________________________</p>
</blockquote>
<p dir="ltr"><br>
</p>
<blockquote><p dir="ltr"><br>
</p>
</blockquote>
<p dir="ltr">A quick look at cscope and ctags will solve your problem.</p>
<p dir="ltr">-- manav</p>
<p dir="ltr"><br>
</p>