\hypertarget{g__label__reiserfs_8c}{}\doxysection{geom/label/g\+\_\+label\+\_\+reiserfs.c File Reference}
\label{g__label__reiserfs_8c}\index{geom/label/g\_label\_reiserfs.c@{geom/label/g\_label\_reiserfs.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$geom/geom.\+h$>$}\newline
{\ttfamily \#include $<$geom/geom\+\_\+dbg.\+h$>$}\newline
{\ttfamily \#include $<$geom/label/g\+\_\+label.\+h$>$}\newline
Include dependency graph for g\+\_\+label\+\_\+reiserfs.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/de0/g__label__reiserfs_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structreiserfs__sb}{reiserfs\+\_\+sb}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{g__label__reiserfs_8c_ad0a20ac88347dbfc5fe4cdfc478cd613}{REISERFS\+\_\+\+NEW\+\_\+\+DISK\+\_\+\+OFFSET}}~64 $\ast$ 1024
\item 
\#define \mbox{\hyperlink{g__label__reiserfs_8c_ac988bc3c74882811a24845a7b44cfa25}{REISERFS\+\_\+\+OLD\+\_\+\+DISK\+\_\+\+OFFSET}}~8 $\ast$ 1024
\item 
\#define \mbox{\hyperlink{g__label__reiserfs_8c_ab93fca064d706ba11c723e6e3e2793c1}{REISERFS\+\_\+\+SUPER\+\_\+\+MAGIC}}~\char`\"{}Re\+Is\+Er\char`\"{}
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{structreiserfs__sb}{reiserfs\+\_\+sb}} \mbox{\hyperlink{g__label__reiserfs_8c_aa7333e8d55c0de2c3ab05ef890cc4d76}{reiserfs\+\_\+sb\+\_\+t}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{g__label__reiserfs_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static \mbox{\hyperlink{g__label__reiserfs_8c_aa7333e8d55c0de2c3ab05ef890cc4d76}{reiserfs\+\_\+sb\+\_\+t}} $\ast$ \mbox{\hyperlink{g__label__reiserfs_8c_acf73fbf428638c1a5828c9f676b14108}{g\+\_\+label\+\_\+reiserfs\+\_\+read\+\_\+super}} (struct \mbox{\hyperlink{structg__consumer}{g\+\_\+consumer}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_a3d8e3ec9f529e77fa46f92363b115a01}{cp}}, off\+\_\+t \mbox{\hyperlink{g__raid__tr__if_8m_ad5f0842c40c7e46344fd8df70187fa0f}{offset}})
\item 
static void \mbox{\hyperlink{g__label__reiserfs_8c_ac8927aaba17610b9c20f34c03ff5fccc}{g\+\_\+label\+\_\+reiserfs\+\_\+taste}} (struct \mbox{\hyperlink{structg__consumer}{g\+\_\+consumer}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_a3d8e3ec9f529e77fa46f92363b115a01}{cp}}, char $\ast$label, size\+\_\+t size)
\item 
\mbox{\hyperlink{g__label__reiserfs_8c_a0f0aa15a0d33e5cc5e4a32f57cdab912}{G\+\_\+\+LABEL\+\_\+\+INIT}} (reiserfs, \mbox{\hyperlink{g__label__reiserfs_8c_a95bc37d8e8ceeb45cf96a5011674426f}{g\+\_\+label\+\_\+reiserfs}}, \char`\"{}Create device nodes for REISERFS volumes\char`\"{})
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} \mbox{\hyperlink{g__label__reiserfs_8c_a95bc37d8e8ceeb45cf96a5011674426f}{g\+\_\+label\+\_\+reiserfs}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{g__label__reiserfs_8c_ad0a20ac88347dbfc5fe4cdfc478cd613}\label{g__label__reiserfs_8c_ad0a20ac88347dbfc5fe4cdfc478cd613}} 
\index{g\_label\_reiserfs.c@{g\_label\_reiserfs.c}!REISERFS\_NEW\_DISK\_OFFSET@{REISERFS\_NEW\_DISK\_OFFSET}}
\index{REISERFS\_NEW\_DISK\_OFFSET@{REISERFS\_NEW\_DISK\_OFFSET}!g\_label\_reiserfs.c@{g\_label\_reiserfs.c}}
\doxysubsubsection{\texorpdfstring{REISERFS\_NEW\_DISK\_OFFSET}{REISERFS\_NEW\_DISK\_OFFSET}}
{\footnotesize\ttfamily \#define REISERFS\+\_\+\+NEW\+\_\+\+DISK\+\_\+\+OFFSET~64 $\ast$ 1024}



Definition at line \mbox{\hyperlink{g__label__reiserfs_8c_source_l00041}{41}} of file \mbox{\hyperlink{g__label__reiserfs_8c_source}{g\+\_\+label\+\_\+reiserfs.\+c}}.

\mbox{\Hypertarget{g__label__reiserfs_8c_ac988bc3c74882811a24845a7b44cfa25}\label{g__label__reiserfs_8c_ac988bc3c74882811a24845a7b44cfa25}} 
\index{g\_label\_reiserfs.c@{g\_label\_reiserfs.c}!REISERFS\_OLD\_DISK\_OFFSET@{REISERFS\_OLD\_DISK\_OFFSET}}
\index{REISERFS\_OLD\_DISK\_OFFSET@{REISERFS\_OLD\_DISK\_OFFSET}!g\_label\_reiserfs.c@{g\_label\_reiserfs.c}}
\doxysubsubsection{\texorpdfstring{REISERFS\_OLD\_DISK\_OFFSET}{REISERFS\_OLD\_DISK\_OFFSET}}
{\footnotesize\ttfamily \#define REISERFS\+\_\+\+OLD\+\_\+\+DISK\+\_\+\+OFFSET~8 $\ast$ 1024}



Definition at line \mbox{\hyperlink{g__label__reiserfs_8c_source_l00042}{42}} of file \mbox{\hyperlink{g__label__reiserfs_8c_source}{g\+\_\+label\+\_\+reiserfs.\+c}}.

\mbox{\Hypertarget{g__label__reiserfs_8c_ab93fca064d706ba11c723e6e3e2793c1}\label{g__label__reiserfs_8c_ab93fca064d706ba11c723e6e3e2793c1}} 
\index{g\_label\_reiserfs.c@{g\_label\_reiserfs.c}!REISERFS\_SUPER\_MAGIC@{REISERFS\_SUPER\_MAGIC}}
\index{REISERFS\_SUPER\_MAGIC@{REISERFS\_SUPER\_MAGIC}!g\_label\_reiserfs.c@{g\_label\_reiserfs.c}}
\doxysubsubsection{\texorpdfstring{REISERFS\_SUPER\_MAGIC}{REISERFS\_SUPER\_MAGIC}}
{\footnotesize\ttfamily \#define REISERFS\+\_\+\+SUPER\+\_\+\+MAGIC~\char`\"{}Re\+Is\+Er\char`\"{}}



Definition at line \mbox{\hyperlink{g__label__reiserfs_8c_source_l00043}{43}} of file \mbox{\hyperlink{g__label__reiserfs_8c_source}{g\+\_\+label\+\_\+reiserfs.\+c}}.



\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{g__label__reiserfs_8c_aa7333e8d55c0de2c3ab05ef890cc4d76}\label{g__label__reiserfs_8c_aa7333e8d55c0de2c3ab05ef890cc4d76}} 
\index{g\_label\_reiserfs.c@{g\_label\_reiserfs.c}!reiserfs\_sb\_t@{reiserfs\_sb\_t}}
\index{reiserfs\_sb\_t@{reiserfs\_sb\_t}!g\_label\_reiserfs.c@{g\_label\_reiserfs.c}}
\doxysubsubsection{\texorpdfstring{reiserfs\_sb\_t}{reiserfs\_sb\_t}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{structreiserfs__sb}{reiserfs\+\_\+sb}} \mbox{\hyperlink{g__label__reiserfs_8c_aa7333e8d55c0de2c3ab05ef890cc4d76}{reiserfs\+\_\+sb\+\_\+t}}}



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{g__label__reiserfs_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{g__label__reiserfs_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{g\_label\_reiserfs.c@{g\_label\_reiserfs.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!g\_label\_reiserfs.c@{g\_label\_reiserfs.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{g__label__reiserfs_8c_a0f0aa15a0d33e5cc5e4a32f57cdab912}\label{g__label__reiserfs_8c_a0f0aa15a0d33e5cc5e4a32f57cdab912}} 
\index{g\_label\_reiserfs.c@{g\_label\_reiserfs.c}!G\_LABEL\_INIT@{G\_LABEL\_INIT}}
\index{G\_LABEL\_INIT@{G\_LABEL\_INIT}!g\_label\_reiserfs.c@{g\_label\_reiserfs.c}}
\doxysubsubsection{\texorpdfstring{G\_LABEL\_INIT()}{G\_LABEL\_INIT()}}
{\footnotesize\ttfamily G\+\_\+\+LABEL\+\_\+\+INIT (\begin{DoxyParamCaption}\item[{reiserfs}]{,  }\item[{\mbox{\hyperlink{g__label__reiserfs_8c_a95bc37d8e8ceeb45cf96a5011674426f}{g\+\_\+label\+\_\+reiserfs}}}]{,  }\item[{\char`\"{}Create device nodes for REISERFS volumes\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{g__label__reiserfs_8c_acf73fbf428638c1a5828c9f676b14108}\label{g__label__reiserfs_8c_acf73fbf428638c1a5828c9f676b14108}} 
\index{g\_label\_reiserfs.c@{g\_label\_reiserfs.c}!g\_label\_reiserfs\_read\_super@{g\_label\_reiserfs\_read\_super}}
\index{g\_label\_reiserfs\_read\_super@{g\_label\_reiserfs\_read\_super}!g\_label\_reiserfs.c@{g\_label\_reiserfs.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_reiserfs\_read\_super()}{g\_label\_reiserfs\_read\_super()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{g__label__reiserfs_8c_aa7333e8d55c0de2c3ab05ef890cc4d76}{reiserfs\+\_\+sb\+\_\+t}} $\ast$ g\+\_\+label\+\_\+reiserfs\+\_\+read\+\_\+super (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structg__consumer}{g\+\_\+consumer}} $\ast$}]{cp,  }\item[{off\+\_\+t}]{offset }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__label__reiserfs_8c_source_l00055}{55}} of file \mbox{\hyperlink{g__label__reiserfs_8c_source}{g\+\_\+label\+\_\+reiserfs.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00233}{cp}}, \mbox{\hyperlink{geom_8h_source_l00376}{g\+\_\+free()}}, \mbox{\hyperlink{geom__io_8c_source_l00870}{g\+\_\+read\+\_\+data()}}, \mbox{\hyperlink{g__raid__tr__if_8m_source_l00099}{offset}}, \mbox{\hyperlink{geom_8h_source_l00178}{g\+\_\+consumer\+::provider}}, \mbox{\hyperlink{g__label__reiserfs_8c_source_l00043}{REISERFS\+\_\+\+SUPER\+\_\+\+MAGIC}}, \mbox{\hyperlink{g__label__reiserfs_8c_source_l00047}{reiserfs\+\_\+sb\+::s\+\_\+magic}}, and \mbox{\hyperlink{geom_8h_source_l00215}{g\+\_\+provider\+::sectorsize}}.



Referenced by \mbox{\hyperlink{g__label__reiserfs_8c_source_l00081}{g\+\_\+label\+\_\+reiserfs\+\_\+taste()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{dc/d5c/g__label__reiserfs_8c_acf73fbf428638c1a5828c9f676b14108_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{dc/d5c/g__label__reiserfs_8c_acf73fbf428638c1a5828c9f676b14108_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__label__reiserfs_8c_ac8927aaba17610b9c20f34c03ff5fccc}\label{g__label__reiserfs_8c_ac8927aaba17610b9c20f34c03ff5fccc}} 
\index{g\_label\_reiserfs.c@{g\_label\_reiserfs.c}!g\_label\_reiserfs\_taste@{g\_label\_reiserfs\_taste}}
\index{g\_label\_reiserfs\_taste@{g\_label\_reiserfs\_taste}!g\_label\_reiserfs.c@{g\_label\_reiserfs.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_reiserfs\_taste()}{g\_label\_reiserfs\_taste()}}
{\footnotesize\ttfamily static void g\+\_\+label\+\_\+reiserfs\+\_\+taste (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structg__consumer}{g\+\_\+consumer}} $\ast$}]{cp,  }\item[{char $\ast$}]{label,  }\item[{size\+\_\+t}]{size }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__label__reiserfs_8c_source_l00081}{81}} of file \mbox{\hyperlink{g__label__reiserfs_8c_source}{g\+\_\+label\+\_\+reiserfs.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00233}{cp}}, \mbox{\hyperlink{geom_8h_source_l00376}{g\+\_\+free()}}, \mbox{\hyperlink{g__label_8h_source_l00052}{G\+\_\+\+LABEL\+\_\+\+DEBUG}}, \mbox{\hyperlink{g__label__reiserfs_8c_source_l00055}{g\+\_\+label\+\_\+reiserfs\+\_\+read\+\_\+super()}}, \mbox{\hyperlink{geom_8h_source_l00408}{g\+\_\+topology\+\_\+assert\+\_\+not}}, \mbox{\hyperlink{geom_8h_source_l00207}{g\+\_\+provider\+::name}}, \mbox{\hyperlink{g__part__if_8m_source_l00130}{pp}}, \mbox{\hyperlink{geom_8h_source_l00178}{g\+\_\+consumer\+::provider}}, \mbox{\hyperlink{g__label__reiserfs_8c_source_l00041}{REISERFS\+\_\+\+NEW\+\_\+\+DISK\+\_\+\+OFFSET}}, \mbox{\hyperlink{g__label__reiserfs_8c_source_l00042}{REISERFS\+\_\+\+OLD\+\_\+\+DISK\+\_\+\+OFFSET}}, \mbox{\hyperlink{g__label__reiserfs_8c_source_l00049}{reiserfs\+\_\+sb\+::s\+\_\+version}}, and \mbox{\hyperlink{g__label__reiserfs_8c_source_l00051}{reiserfs\+\_\+sb\+::s\+\_\+volume\+\_\+name}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{dc/d5c/g__label__reiserfs_8c_ac8927aaba17610b9c20f34c03ff5fccc_cgraph}
\end{center}
\end{figure}


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{g__label__reiserfs_8c_a95bc37d8e8ceeb45cf96a5011674426f}\label{g__label__reiserfs_8c_a95bc37d8e8ceeb45cf96a5011674426f}} 
\index{g\_label\_reiserfs.c@{g\_label\_reiserfs.c}!g\_label\_reiserfs@{g\_label\_reiserfs}}
\index{g\_label\_reiserfs@{g\_label\_reiserfs}!g\_label\_reiserfs.c@{g\_label\_reiserfs.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_reiserfs}{g\_label\_reiserfs}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} g\+\_\+label\+\_\+reiserfs}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        .ld\_taste = \mbox{\hyperlink{g__label__reiserfs_8c_ac8927aaba17610b9c20f34c03ff5fccc}{g\_label\_reiserfs\_taste}},}
\DoxyCodeLine{        .ld\_dirprefix = \textcolor{stringliteral}{"{}reiserfs/"{}},}
\DoxyCodeLine{        .ld\_enabled = 1}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{g__label__reiserfs_8c_source_l00119}{119}} of file \mbox{\hyperlink{g__label__reiserfs_8c_source}{g\+\_\+label\+\_\+reiserfs.\+c}}.

