Remove e.g., as it is clear from context what is meant in this case.

Capitalize titles and, as a side effect, spell GEOM consistently throughout
the document.
This commit is contained in:
Benedict Reuschling 2014-05-26 18:28:36 +00:00
parent 802ecf1845
commit 0e35604b6b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44963

View file

@ -107,7 +107,7 @@
next best thing after a dedicated development machine).</para>
<sect2 xml:id="prelim-system">
<title>Modifying a system for development</title>
<title>Modifying a System for Development</title>
<para>For any kernel programming a kernel with
<option>INVARIANTS</option> enabled is a must-have. So enter
@ -206,7 +206,7 @@ dumpdir="/usr/core </programlisting>
</sect2>
<sect2 xml:id="prelim-starting">
<title>Starting the project</title>
<title>Starting the Project</title>
<para>For the purpose of creating a new GEOM class, an empty
subdirectory has to be created under an arbitrary user-accessible
@ -240,10 +240,10 @@ KMOD=geom_journal
</sect1>
<sect1 xml:id="kernelprog">
<title>On FreeBSD kernel programming</title>
<title>On FreeBSD Kernel Programming</title>
<sect2 xml:id="kernelprog-memalloc">
<title>Memory allocation</title>
<title>Memory Allocation</title>
<para>See &man.malloc.9;. Basic memory allocation is only
slightly different than its userland equivalent. Most
@ -269,7 +269,7 @@ KMOD=geom_journal
</sect2>
<sect2 xml:id="kernelprog-lists">
<title>Lists and queues</title>
<title>Lists and Queues</title>
<para>See &man.queue.3;. There are a LOT of cases when a list of
things needs to be maintained. Fortunately, this data
@ -319,7 +319,7 @@ KMOD=geom_journal
</sect1>
<sect1 xml:id="geom">
<title>On GEOM programming</title>
<title>On GEOM Programming</title>
<sect2 xml:id="geom-ggate">
<title>Ggate</title>
@ -332,7 +332,7 @@ KMOD=geom_journal
</sect2>
<sect2 xml:id="geom-class">
<title>GEOM class</title>
<title>GEOM Class</title>
<para>GEOM classes are transformations on the data. These transformations
can be combined in a tree-like fashion. Instances of GEOM classes are
@ -345,11 +345,11 @@ KMOD=geom_journal
<itemizedlist>
<listitem><para><function>.init</function> is called when GEOM
becomes aware of a GEOM class (e.g. when the kernel module
becomes aware of a GEOM class (when the kernel module
gets loaded.)</para></listitem>
<listitem><para><function>.fini</function> gets called when GEOM
abandons the class (e.g. when the module gets
abandons the class (when the module gets
unloaded)</para></listitem>
<listitem><para><function>.taste</function> is called next, once for
@ -431,7 +431,7 @@ KMOD=geom_journal
</sect2>
<sect2 xml:id="geom-creating">
<title>Labeling/creating a geom</title>
<title>Labeling/creating a GEOM</title>
<para>The sequence of events is:</para>
@ -479,7 +479,7 @@ KMOD=geom_journal
</sect2>
<sect2 xml:id="geom-command">
<title>Geom command structure</title>
<title>GEOM Command Structure</title>
<para>The helper <filename>geom_CLASSNAME.so</filename> library
exports <varname remap="structname">class_commands</varname> structure,
@ -555,7 +555,7 @@ KMOD=geom_journal
</sect2>
<sect2 xml:id="geom-threads">
<title>Geom threads</title>
<title>GEOM Threads</title>
<para>There are three kernel threads created and run by the GEOM
framework:</para>
@ -658,7 +658,7 @@ KMOD=geom_journal
</sect2>
<sect2 xml:id="geom-kernelthreads">
<title>Kernel threads for use in geom code</title>
<title>Kernel Threads for Use in GEOM Code</title>
<para>Kernel threads are created with &man.kthread.create.9;
function, and they are sort of similar to userland threads in