<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE> Venus Data Structures: Hoard Database</TITLE> <LINK HREF="venus-ds-7.html" REL=next> <LINK HREF="venus-ds-5.html" REL=previous> <LINK HREF="venus-ds.html#toc6" REL=contents> </HEAD> <BODY> <A HREF="venus-ds-7.html">Next</A> <A HREF="venus-ds-5.html">Previous</A> <A HREF="venus-ds.html#toc6">Contents</A> <HR> <H2><A NAME="s6">6. Hoard Database</A></H2> <P> <P>The main umbrella structure is the hdb. <P> <UL> <LI>hdb (persistent)</LI> <LI> HDB entries</LI> <LI> priority queue</LI> <LI> resource limits</LI> </UL> <P>The entries in the hdb are hdbent: <P> <UL> <LI>hdbent - a single entry (persistent)</LI> <LI> object represented as vid, path</LI> <LI> uid</LI> <LI> priorty</LI> <LI> flags (c+, d+?)</LI> <LI> link to name context</LI> </UL> <P>Name contexts are used for renames: <P> <UL> <LI>name context -- for directory expansion (persistent)</LI> <LI> uid</LI> <LI> priority</LI> <LI> flags (inuse? expanded? etc.)</LI> <LI> links to <UL> <LI> expanded children</LI> <LI> parent (back pointer to expander)</LI> <LI> HDB priority queue</LI> </UL> </LI> </UL> <P> <HR> <A HREF="venus-ds-7.html">Next</A> <A HREF="venus-ds-5.html">Previous</A> <A HREF="venus-ds.html#toc6">Contents</A> </BODY> </HTML>