blob: d270f0fd81f809a150c5f4d1a35887269a173cbc [file] [log] [blame]
<?xml version='1.0'?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
]>
<chapter id="Common_XFS_Types">
<title>Common XFS Types</title>
<para>
All the following XFS types can be found in xfs_types.h. NULL values are always -1 on disk (ie. all bits for the value set to one).
</para>
<variablelist>
<varlistentry>
<term>xfs_ino_t</term>
<listitem><para>Unsigned 64 bit absolute inode number (<xref linkend="Inode_Numbers"/>).</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_off_t</term>
<listitem><para>Signed 64 bit file offset.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_daddr_t</term>
<listitem><para>Signed 64 bit disk address.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_agnumber_t</term>
<listitem><para>Unsigned 32 bit AG (<xref linkend="Allocation_Groups"/>) number.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_agblock_t</term>
<listitem><para>Unsigned 32 bit AG relative block number.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_extlen_t</term>
<listitem><para>Unsigned 32 bit extent (<xref linkend="Data_Extents"/>) length in blocks.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_extnum_t</term>
<listitem><para>Signed 32 bit number of extents in a file.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_dablk_t</term>
<listitem><para>Unsigned 32 bit block number for directories (<xref linkend="Directories"/>) and extended attributes (<xref linkend="Extended_Attributes"/>).</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_dahash_t</term>
<listitem><para>Unsigned 32 bit hash of a directory file name or extended attribute name.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_dfsbno_t</term>
<listitem><para>Unsigned 64 bit filesystem block number combining AG (<xref linkend="Allocation_Groups"/>) number and block offset into the AG.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_drfsbno_t</term>
<listitem><para>Unsigned 64 bit raw filesystem block number.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_drtbno_t</term>
<listitem><para>Unsigned 64 bit extent number in the real-time (<xref linkend="Real-time_Devices"/>) sub-volume.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_dfiloff_t</term>
<listitem><para>Unsigned 64 bit block offset into a file.</para></listitem>
</varlistentry>
<varlistentry>
<term>xfs_dfilblks_t</term>
<listitem><para>Unsigned 64 bit block count for a file.</para></listitem>
</varlistentry>
</variablelist>
</chapter>