\hypertarget{g__label__disk__ident_8c}{}\doxysection{geom/label/g\+\_\+label\+\_\+disk\+\_\+ident.c File Reference}
\label{g__label__disk__ident_8c}\index{geom/label/g\_label\_disk\_ident.c@{geom/label/g\_label\_disk\_ident.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\+\_\+disk.\+h$>$}\newline
{\ttfamily \#include $<$geom/label/g\+\_\+label.\+h$>$}\newline
{\ttfamily \#include $<$geom/multipath/g\+\_\+multipath.\+h$>$}\newline
Include dependency graph for g\+\_\+label\+\_\+disk\+\_\+ident.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d0/db0/g__label__disk__ident_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{g__label__disk__ident_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static void \mbox{\hyperlink{g__label__disk__ident_8c_a35dcc1205546a5ff29efd3c9d37759b8}{g\+\_\+label\+\_\+disk\+\_\+ident\+\_\+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__disk__ident_8c_ab23fb721ae60fe61d0aadc371663f996}{G\+\_\+\+LABEL\+\_\+\+INIT}} (disk\+\_\+ident, \mbox{\hyperlink{g__label__disk__ident_8c_a0314b7a0dd527ba2cacc12f1d49e003d}{g\+\_\+label\+\_\+disk\+\_\+ident}}, \char`\"{}Create device nodes for drives \char`\"{} \char`\"{}which export a \mbox{\hyperlink{structdisk}{disk}} identification string\char`\"{})
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static char $\ast$ \mbox{\hyperlink{g__label__disk__ident_8c_ab7641428505f9f188f5c824f44fd988d}{classes\+\_\+pass}} \mbox{[}$\,$\mbox{]}
\item 
struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} \mbox{\hyperlink{g__label__disk__ident_8c_a0314b7a0dd527ba2cacc12f1d49e003d}{g\+\_\+label\+\_\+disk\+\_\+ident}}
\end{DoxyCompactItemize}


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

\mbox{\Hypertarget{g__label__disk__ident_8c_a35dcc1205546a5ff29efd3c9d37759b8}\label{g__label__disk__ident_8c_a35dcc1205546a5ff29efd3c9d37759b8}} 
\index{g\_label\_disk\_ident.c@{g\_label\_disk\_ident.c}!g\_label\_disk\_ident\_taste@{g\_label\_disk\_ident\_taste}}
\index{g\_label\_disk\_ident\_taste@{g\_label\_disk\_ident\_taste}!g\_label\_disk\_ident.c@{g\_label\_disk\_ident.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_disk\_ident\_taste()}{g\_label\_disk\_ident\_taste()}}
{\footnotesize\ttfamily static void g\+\_\+label\+\_\+disk\+\_\+ident\+\_\+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__disk__ident_8c_source_l00046}{46}} of file \mbox{\hyperlink{g__label__disk__ident_8c_source}{g\+\_\+label\+\_\+disk\+\_\+ident.\+c}}.



References \mbox{\hyperlink{geom_8h_source_l00133}{g\+\_\+geom\+::class}}, \mbox{\hyperlink{g__label__disk__ident_8c_source_l00042}{classes\+\_\+pass}}, \mbox{\hyperlink{g__part__if_8m_source_l00233}{cp}}, \mbox{\hyperlink{geom__io_8c_source_l00284}{g\+\_\+io\+\_\+getattr()}}, \mbox{\hyperlink{geom_8h_source_l00408}{g\+\_\+topology\+\_\+assert\+\_\+not}}, \mbox{\hyperlink{geom_8h_source_l00209}{g\+\_\+provider\+::geom}}, \mbox{\hyperlink{geom_8h_source_l00095}{g\+\_\+class\+::name}}, and \mbox{\hyperlink{geom_8h_source_l00178}{g\+\_\+consumer\+::provider}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/d17/g__label__disk__ident_8c_a35dcc1205546a5ff29efd3c9d37759b8_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__label__disk__ident_8c_ab23fb721ae60fe61d0aadc371663f996}\label{g__label__disk__ident_8c_ab23fb721ae60fe61d0aadc371663f996}} 
\index{g\_label\_disk\_ident.c@{g\_label\_disk\_ident.c}!G\_LABEL\_INIT@{G\_LABEL\_INIT}}
\index{G\_LABEL\_INIT@{G\_LABEL\_INIT}!g\_label\_disk\_ident.c@{g\_label\_disk\_ident.c}}
\doxysubsubsection{\texorpdfstring{G\_LABEL\_INIT()}{G\_LABEL\_INIT()}}
{\footnotesize\ttfamily G\+\_\+\+LABEL\+\_\+\+INIT (\begin{DoxyParamCaption}\item[{disk\+\_\+ident}]{,  }\item[{\mbox{\hyperlink{g__label__disk__ident_8c_a0314b7a0dd527ba2cacc12f1d49e003d}{g\+\_\+label\+\_\+disk\+\_\+ident}}}]{,  }\item[{\char`\"{}Create device nodes for drives \char`\"{} \char`\"{}which export a \mbox{\hyperlink{structdisk}{disk}} identification string\char`\"{}}]{ }\end{DoxyParamCaption})}



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{g__label__disk__ident_8c_ab7641428505f9f188f5c824f44fd988d}\label{g__label__disk__ident_8c_ab7641428505f9f188f5c824f44fd988d}} 
\index{g\_label\_disk\_ident.c@{g\_label\_disk\_ident.c}!classes\_pass@{classes\_pass}}
\index{classes\_pass@{classes\_pass}!g\_label\_disk\_ident.c@{g\_label\_disk\_ident.c}}
\doxysubsubsection{\texorpdfstring{classes\_pass}{classes\_pass}}
{\footnotesize\ttfamily char$\ast$ classes\+\_\+pass\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{ \mbox{\hyperlink{geom__disk_8h_aac7ca1f61277efbe4ebd68536dba04ba}{G\_DISK\_CLASS\_NAME}}, \mbox{\hyperlink{g__multipath_8h_a14a8e22fa7a7b9fb426260504ee48a7c}{G\_MULTIPATH\_CLASS\_NAME}},}
\DoxyCodeLine{    NULL \}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{g__label__disk__ident_8c_source_l00042}{42}} of file \mbox{\hyperlink{g__label__disk__ident_8c_source}{g\+\_\+label\+\_\+disk\+\_\+ident.\+c}}.



Referenced by \mbox{\hyperlink{g__label__disk__ident_8c_source_l00046}{g\+\_\+label\+\_\+disk\+\_\+ident\+\_\+taste()}}.

\mbox{\Hypertarget{g__label__disk__ident_8c_a0314b7a0dd527ba2cacc12f1d49e003d}\label{g__label__disk__ident_8c_a0314b7a0dd527ba2cacc12f1d49e003d}} 
\index{g\_label\_disk\_ident.c@{g\_label\_disk\_ident.c}!g\_label\_disk\_ident@{g\_label\_disk\_ident}}
\index{g\_label\_disk\_ident@{g\_label\_disk\_ident}!g\_label\_disk\_ident.c@{g\_label\_disk\_ident.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_disk\_ident}{g\_label\_disk\_ident}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} g\+\_\+label\+\_\+disk\+\_\+ident}

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

\end{DoxyCode}


Definition at line \mbox{\hyperlink{g__label__disk__ident_8c_source_l00080}{80}} of file \mbox{\hyperlink{g__label__disk__ident_8c_source}{g\+\_\+label\+\_\+disk\+\_\+ident.\+c}}.

