<html><head></head><body bgcolor="#FFFFFF"><div><span class="Apple-style-span" style>On Apr 19, 2012, at 12:15 AM, Shashidhara Shamaiah <<a href="mailto:Shashidhara.Shamaiah@mphasis.com">Shashidhara.Shamaiah@mphasis.com</a>> wrote:</span><br>
</div><div><br></div><div></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I was looking at the source file fs/jbd/transaction.c . In the
function journal_invalidatepage the code calls the macro</p>
<p class="MsoNormal">PageLocked . I need to look at its implementation. I could locate
where the definition of PageLocked. Its not a function as its absent in the
System.map file. I have searched in internet. It was defined as a macro in
older kernels. But I could not get its definition in the recent kernels. Please
point me to the right direction.</p></div></div></blockquote><div><br></div>Yes, it's not a function, it's a macro. Page flags are cleverly implemented in the Linux kernel as macros. You wont be able to cscope into it. See <a href="http://lxr.linux.no/linux+v3.3.2/include/linux/page-flags.h">http://lxr.linux.no/linux+v3.3.2/include/linux/page-flags.h</a> for implementation details.<div>
<br></div><div>Venkatram Tummala </div><div><br><blockquote type="cite"><div><div class="WordSection1"><p class="MsoNormal"></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards</p>
<p class="MsoNormal">Shashidhara</p>
</div>
<font face="monospace"><br>
Information transmitted by this e-mail is proprietary to MphasiS, its associated companies and/ or its customers and is intended <br>
for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or <br>
exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded <br>
to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly <br>
prohibited. In such cases, please notify us immediately at <a href="mailto:mailmaster@mphasis.com">mailmaster@mphasis.com</a> and delete this mail from your records.</font>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Kernelnewbies mailing list</span><br><span><a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a></span><br>
<span><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a></span><br></div></blockquote></div></body></html>