\hypertarget{g__label__ext2fs_8c}{}\doxysection{geom/label/g\+\_\+label\+\_\+ext2fs.c File Reference}
\label{g__label__ext2fs_8c}\index{geom/label/g\_label\_ext2fs.c@{geom/label/g\_label\_ext2fs.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\+\_\+ext2fs.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/d2f/g__label__ext2fs_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structe2sb}{e2sb}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{g__label__ext2fs_8c_acd348eea524d681ac2721cdc490fba7d}{EXT2\+FS\+\_\+\+SB\+\_\+\+OFFSET}}~1024
\item 
\#define \mbox{\hyperlink{g__label__ext2fs_8c_a5a4b87af3f4498e3f2a254e8fbfe2ec3}{EXT2\+\_\+\+SUPER\+\_\+\+MAGIC}}~0xef53
\item 
\#define \mbox{\hyperlink{g__label__ext2fs_8c_ad045e597ad1e193ecc156e019129c55c}{EXT2\+\_\+\+DYNAMIC\+\_\+\+REV}}~1
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{structe2sb}{e2sb}} \mbox{\hyperlink{g__label__ext2fs_8c_afdd893fc90005d93981a97e1f1a6869c}{e2sb\+\_\+t}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{g__label__ext2fs_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static void \mbox{\hyperlink{g__label__ext2fs_8c_a1345edc4c6aea0655759ee866fe81318}{g\+\_\+label\+\_\+ext2fs\+\_\+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__ext2fs_8c_a937f155f5075d2bd5bb6d777dc4017b5}{G\+\_\+\+LABEL\+\_\+\+INIT}} (ext2fs, \mbox{\hyperlink{g__label__ext2fs_8c_aee5029dd26174bb2637b4818f3397fe2}{g\+\_\+label\+\_\+ext2fs}}, \char`\"{}Create device nodes for EXT2\+FS volumes\char`\"{})
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} \mbox{\hyperlink{g__label__ext2fs_8c_aee5029dd26174bb2637b4818f3397fe2}{g\+\_\+label\+\_\+ext2fs}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{g__label__ext2fs_8c_ad045e597ad1e193ecc156e019129c55c}\label{g__label__ext2fs_8c_ad045e597ad1e193ecc156e019129c55c}} 
\index{g\_label\_ext2fs.c@{g\_label\_ext2fs.c}!EXT2\_DYNAMIC\_REV@{EXT2\_DYNAMIC\_REV}}
\index{EXT2\_DYNAMIC\_REV@{EXT2\_DYNAMIC\_REV}!g\_label\_ext2fs.c@{g\_label\_ext2fs.c}}
\doxysubsubsection{\texorpdfstring{EXT2\_DYNAMIC\_REV}{EXT2\_DYNAMIC\_REV}}
{\footnotesize\ttfamily \#define EXT2\+\_\+\+DYNAMIC\+\_\+\+REV~1}



Definition at line \mbox{\hyperlink{g__label__ext2fs_8c_source_l00043}{43}} of file \mbox{\hyperlink{g__label__ext2fs_8c_source}{g\+\_\+label\+\_\+ext2fs.\+c}}.

\mbox{\Hypertarget{g__label__ext2fs_8c_a5a4b87af3f4498e3f2a254e8fbfe2ec3}\label{g__label__ext2fs_8c_a5a4b87af3f4498e3f2a254e8fbfe2ec3}} 
\index{g\_label\_ext2fs.c@{g\_label\_ext2fs.c}!EXT2\_SUPER\_MAGIC@{EXT2\_SUPER\_MAGIC}}
\index{EXT2\_SUPER\_MAGIC@{EXT2\_SUPER\_MAGIC}!g\_label\_ext2fs.c@{g\_label\_ext2fs.c}}
\doxysubsubsection{\texorpdfstring{EXT2\_SUPER\_MAGIC}{EXT2\_SUPER\_MAGIC}}
{\footnotesize\ttfamily \#define EXT2\+\_\+\+SUPER\+\_\+\+MAGIC~0xef53}



Definition at line \mbox{\hyperlink{g__label__ext2fs_8c_source_l00042}{42}} of file \mbox{\hyperlink{g__label__ext2fs_8c_source}{g\+\_\+label\+\_\+ext2fs.\+c}}.

\mbox{\Hypertarget{g__label__ext2fs_8c_acd348eea524d681ac2721cdc490fba7d}\label{g__label__ext2fs_8c_acd348eea524d681ac2721cdc490fba7d}} 
\index{g\_label\_ext2fs.c@{g\_label\_ext2fs.c}!EXT2FS\_SB\_OFFSET@{EXT2FS\_SB\_OFFSET}}
\index{EXT2FS\_SB\_OFFSET@{EXT2FS\_SB\_OFFSET}!g\_label\_ext2fs.c@{g\_label\_ext2fs.c}}
\doxysubsubsection{\texorpdfstring{EXT2FS\_SB\_OFFSET}{EXT2FS\_SB\_OFFSET}}
{\footnotesize\ttfamily \#define EXT2\+FS\+\_\+\+SB\+\_\+\+OFFSET~1024}



Definition at line \mbox{\hyperlink{g__label__ext2fs_8c_source_l00041}{41}} of file \mbox{\hyperlink{g__label__ext2fs_8c_source}{g\+\_\+label\+\_\+ext2fs.\+c}}.



\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{g__label__ext2fs_8c_afdd893fc90005d93981a97e1f1a6869c}\label{g__label__ext2fs_8c_afdd893fc90005d93981a97e1f1a6869c}} 
\index{g\_label\_ext2fs.c@{g\_label\_ext2fs.c}!e2sb\_t@{e2sb\_t}}
\index{e2sb\_t@{e2sb\_t}!g\_label\_ext2fs.c@{g\_label\_ext2fs.c}}
\doxysubsubsection{\texorpdfstring{e2sb\_t}{e2sb\_t}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{structe2sb}{e2sb}} \mbox{\hyperlink{g__label__ext2fs_8c_afdd893fc90005d93981a97e1f1a6869c}{e2sb\+\_\+t}}}



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

\mbox{\Hypertarget{g__label__ext2fs_8c_a1345edc4c6aea0655759ee866fe81318}\label{g__label__ext2fs_8c_a1345edc4c6aea0655759ee866fe81318}} 
\index{g\_label\_ext2fs.c@{g\_label\_ext2fs.c}!g\_label\_ext2fs\_taste@{g\_label\_ext2fs\_taste}}
\index{g\_label\_ext2fs\_taste@{g\_label\_ext2fs\_taste}!g\_label\_ext2fs.c@{g\_label\_ext2fs.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_ext2fs\_taste()}{g\_label\_ext2fs\_taste()}}
{\footnotesize\ttfamily static void g\+\_\+label\+\_\+ext2fs\+\_\+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__ext2fs_8c_source_l00055}{55}} of file \mbox{\hyperlink{g__label__ext2fs_8c_source}{g\+\_\+label\+\_\+ext2fs.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00233}{cp}}, \mbox{\hyperlink{g__label__ext2fs_8c_source_l00043}{EXT2\+\_\+\+DYNAMIC\+\_\+\+REV}}, \mbox{\hyperlink{g__label__ext2fs_8c_source_l00042}{EXT2\+\_\+\+SUPER\+\_\+\+MAGIC}}, \mbox{\hyperlink{g__label__ext2fs_8c_source_l00041}{EXT2\+FS\+\_\+\+SB\+\_\+\+OFFSET}}, \mbox{\hyperlink{geom_8h_source_l00376}{g\+\_\+free()}}, \mbox{\hyperlink{g__label_8h_source_l00052}{G\+\_\+\+LABEL\+\_\+\+DEBUG}}, \mbox{\hyperlink{geom__io_8c_source_l00870}{g\+\_\+read\+\_\+data()}}, \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__ext2fs_8c_source_l00047}{e2sb\+::s\+\_\+magic}}, \mbox{\hyperlink{g__label__ext2fs_8c_source_l00049}{e2sb\+::s\+\_\+rev\+\_\+level}}, \mbox{\hyperlink{g__label__ext2fs_8c_source_l00051}{e2sb\+::s\+\_\+volume\+\_\+name}}, and \mbox{\hyperlink{geom_8h_source_l00215}{g\+\_\+provider\+::sectorsize}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/db4/g__label__ext2fs_8c_a1345edc4c6aea0655759ee866fe81318_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__label__ext2fs_8c_a937f155f5075d2bd5bb6d777dc4017b5}\label{g__label__ext2fs_8c_a937f155f5075d2bd5bb6d777dc4017b5}} 
\index{g\_label\_ext2fs.c@{g\_label\_ext2fs.c}!G\_LABEL\_INIT@{G\_LABEL\_INIT}}
\index{G\_LABEL\_INIT@{G\_LABEL\_INIT}!g\_label\_ext2fs.c@{g\_label\_ext2fs.c}}
\doxysubsubsection{\texorpdfstring{G\_LABEL\_INIT()}{G\_LABEL\_INIT()}}
{\footnotesize\ttfamily G\+\_\+\+LABEL\+\_\+\+INIT (\begin{DoxyParamCaption}\item[{ext2fs}]{,  }\item[{\mbox{\hyperlink{g__label__ext2fs_8c_aee5029dd26174bb2637b4818f3397fe2}{g\+\_\+label\+\_\+ext2fs}}}]{,  }\item[{\char`\"{}Create device nodes for EXT2\+FS volumes\char`\"{}}]{ }\end{DoxyParamCaption})}



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

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

\end{DoxyCode}


Definition at line \mbox{\hyperlink{g__label__ext2fs_8c_source_l00100}{100}} of file \mbox{\hyperlink{g__label__ext2fs_8c_source}{g\+\_\+label\+\_\+ext2fs.\+c}}.

