<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML ><HEAD ><TITLE >The Linux VFS</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="The Linux Kernel API" HREF="book1.html"><LINK REL="PREVIOUS" TITLE="proc_dointvec_jiffies" HREF="r3103.html"><LINK REL="NEXT" TITLE="d_invalidate" HREF="r3163.html"></HEAD ><BODY CLASS="CHAPTER" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >The Linux Kernel API</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="r3103.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="r3163.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="CHAPTER" ><H1 ><A NAME="VFS" ></A >The Linux VFS</H1 ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="AEN3161" ></A >The Directory Cache</H1 ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="r3163.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_invalidate</SPAN ></SPAN ></A > -- invalidate a dentry </DT ><DT ><A HREF="r3190.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_find_alias</SPAN ></SPAN ></A > -- grab a hashed alias of inode </DT ><DT ><A HREF="r3216.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >prune_dcache</SPAN ></SPAN ></A > -- shrink the dcache </DT ><DT ><A HREF="r3243.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >shrink_dcache_sb</SPAN ></SPAN ></A > -- shrink dcache for a superblock </DT ><DT ><A HREF="r3269.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >have_submounts</SPAN ></SPAN ></A > -- check for mounts over a dentry </DT ><DT ><A HREF="r3295.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >shrink_dcache_parent</SPAN ></SPAN ></A > -- prune dcache </DT ><DT ><A HREF="r3321.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_alloc</SPAN ></SPAN ></A > -- allocate a dcache entry </DT ><DT ><A HREF="r3355.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_instantiate</SPAN ></SPAN ></A > -- fill in inode information for a dentry </DT ><DT ><A HREF="r3390.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_alloc_root</SPAN ></SPAN ></A > -- allocate root dentry </DT ><DT ><A HREF="r3419.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_lookup</SPAN ></SPAN ></A > -- search for a dentry </DT ><DT ><A HREF="r3453.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_validate</SPAN ></SPAN ></A > -- verify dentry provided from insecure source </DT ><DT ><A HREF="r3488.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_delete</SPAN ></SPAN ></A > -- delete a dentry </DT ><DT ><A HREF="r3514.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_rehash</SPAN ></SPAN ></A > -- add an entry back to the hash </DT ><DT ><A HREF="r3540.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_move</SPAN ></SPAN ></A > -- move a dentry </DT ><DT ><A HREF="r3573.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >__d_path</SPAN ></SPAN ></A > -- return the path of a dentry </DT ><DT ><A HREF="r3638.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >is_subdir</SPAN ></SPAN ></A > -- is new dentry a subdirectory of old_dentry </DT ><DT ><A HREF="r3671.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >find_inode_number</SPAN ></SPAN ></A > -- check for dentry with name </DT ><DT ><A HREF="r3706.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_drop</SPAN ></SPAN ></A > -- drop a dentry </DT ><DT ><A HREF="r3735.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_add</SPAN ></SPAN ></A > -- add dentry to hash queues </DT ><DT ><A HREF="r3770.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >dget</SPAN ></SPAN ></A > -- get a reference to a dentry </DT ><DT ><A HREF="r3800.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_unhashed</SPAN ></SPAN ></A > -- is dentry hashed </DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="r3103.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="book1.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="r3163.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >proc_dointvec_jiffies</SPAN ></SPAN ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >d_invalidate</SPAN ></SPAN ></TD ></TR ></TABLE ></DIV ></BODY ></HTML >