\hypertarget{g__label__gpt_8c}{}\doxysection{geom/label/g\+\_\+label\+\_\+gpt.c File Reference}
\label{g__label__gpt_8c}\index{geom/label/g\_label\_gpt.c@{geom/label/g\_label\_gpt.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 $<$sys/kobj.\+h$>$}\newline
{\ttfamily \#include $<$sys/gpt.\+h$>$}\newline
{\ttfamily \#include $<$sys/sbuf.\+h$>$}\newline
{\ttfamily \#include $<$geom/geom.\+h$>$}\newline
{\ttfamily \#include $<$geom/label/g\+\_\+label.\+h$>$}\newline
{\ttfamily \#include $<$geom/part/g\+\_\+part.\+h$>$}\newline
Include dependency graph for g\+\_\+label\+\_\+gpt.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{db/d3e/g__label__gpt_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structg__part__gpt__entry}{g\+\_\+part\+\_\+gpt\+\_\+entry}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{g__label__gpt_8c_a466e75ad4dee4823f635879e53391f4e}{PART\+\_\+\+CLASS\+\_\+\+NAME}}~\char`\"{}PART\char`\"{}
\item 
\#define \mbox{\hyperlink{g__label__gpt_8c_a7cbbc17a6a074c4df7c530ad5582db52}{SCHEME\+\_\+\+NAME}}~\char`\"{}GPT\char`\"{}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{g__label__gpt_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static void \mbox{\hyperlink{g__label__gpt_8c_a8f0442c9c3bc15bc67eac9546f262798}{sbuf\+\_\+nprintf\+\_\+utf16}} (struct sbuf $\ast$\mbox{\hyperlink{g__part__if_8m_a4c23eb4bab5aa5d69bd84384b94d1f79}{sb}}, uint16\+\_\+t $\ast$str, size\+\_\+t len)
\item 
static void \mbox{\hyperlink{g__label__gpt_8c_a736445b90e37fa31bbd08a5005e85858}{g\+\_\+label\+\_\+gpt\+\_\+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 
static void \mbox{\hyperlink{g__label__gpt_8c_a154e11427aafe76b1f71a1b952255fa8}{g\+\_\+label\+\_\+gpt\+\_\+uuid\+\_\+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__gpt_8c_ad1d82ebeaf26eaa2a530373c9375496b}{G\+\_\+\+LABEL\+\_\+\+INIT}} (gpt, \mbox{\hyperlink{g__label__gpt_8c_aa77227c8bfbb3b94cfa29d12c43ec1d3}{g\+\_\+label\+\_\+gpt}}, \char`\"{}Create device nodes for GPT labels\char`\"{})
\item 
\mbox{\hyperlink{g__label__gpt_8c_afec49c5a5694bf280444f6fc95230b34}{G\+\_\+\+LABEL\+\_\+\+INIT}} (gptid, \mbox{\hyperlink{g__label__gpt_8c_a6283a3f2ecad6bf8fa82755dc2b94be6}{g\+\_\+label\+\_\+gpt\+\_\+uuid}}, \char`\"{}Create device nodes for GPT UUIDs\char`\"{})
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} \mbox{\hyperlink{g__label__gpt_8c_aa77227c8bfbb3b94cfa29d12c43ec1d3}{g\+\_\+label\+\_\+gpt}}
\item 
struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} \mbox{\hyperlink{g__label__gpt_8c_a6283a3f2ecad6bf8fa82755dc2b94be6}{g\+\_\+label\+\_\+gpt\+\_\+uuid}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{g__label__gpt_8c_a466e75ad4dee4823f635879e53391f4e}\label{g__label__gpt_8c_a466e75ad4dee4823f635879e53391f4e}} 
\index{g\_label\_gpt.c@{g\_label\_gpt.c}!PART\_CLASS\_NAME@{PART\_CLASS\_NAME}}
\index{PART\_CLASS\_NAME@{PART\_CLASS\_NAME}!g\_label\_gpt.c@{g\_label\_gpt.c}}
\doxysubsubsection{\texorpdfstring{PART\_CLASS\_NAME}{PART\_CLASS\_NAME}}
{\footnotesize\ttfamily \#define PART\+\_\+\+CLASS\+\_\+\+NAME~\char`\"{}PART\char`\"{}}



Definition at line \mbox{\hyperlink{g__label__gpt_8c_source_l00044}{44}} of file \mbox{\hyperlink{g__label__gpt_8c_source}{g\+\_\+label\+\_\+gpt.\+c}}.

\mbox{\Hypertarget{g__label__gpt_8c_a7cbbc17a6a074c4df7c530ad5582db52}\label{g__label__gpt_8c_a7cbbc17a6a074c4df7c530ad5582db52}} 
\index{g\_label\_gpt.c@{g\_label\_gpt.c}!SCHEME\_NAME@{SCHEME\_NAME}}
\index{SCHEME\_NAME@{SCHEME\_NAME}!g\_label\_gpt.c@{g\_label\_gpt.c}}
\doxysubsubsection{\texorpdfstring{SCHEME\_NAME}{SCHEME\_NAME}}
{\footnotesize\ttfamily \#define SCHEME\+\_\+\+NAME~\char`\"{}GPT\char`\"{}}



Definition at line \mbox{\hyperlink{g__label__gpt_8c_source_l00045}{45}} of file \mbox{\hyperlink{g__label__gpt_8c_source}{g\+\_\+label\+\_\+gpt.\+c}}.



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

\mbox{\Hypertarget{g__label__gpt_8c_a736445b90e37fa31bbd08a5005e85858}\label{g__label__gpt_8c_a736445b90e37fa31bbd08a5005e85858}} 
\index{g\_label\_gpt.c@{g\_label\_gpt.c}!g\_label\_gpt\_taste@{g\_label\_gpt\_taste}}
\index{g\_label\_gpt\_taste@{g\_label\_gpt\_taste}!g\_label\_gpt.c@{g\_label\_gpt.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_gpt\_taste()}{g\_label\_gpt\_taste()}}
{\footnotesize\ttfamily static void g\+\_\+label\+\_\+gpt\+\_\+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__gpt_8c_source_l00100}{100}} of file \mbox{\hyperlink{g__label__gpt_8c_source}{g\+\_\+label\+\_\+gpt.\+c}}.



References \mbox{\hyperlink{geom_8h_source_l00133}{g\+\_\+geom\+::class}}, \mbox{\hyperlink{g__part__if_8m_source_l00233}{cp}}, \mbox{\hyperlink{g__label__gpt_8c_source_l00050}{g\+\_\+part\+\_\+gpt\+\_\+entry\+::ent}}, \mbox{\hyperlink{geom_8h_source_l00408}{g\+\_\+topology\+\_\+assert\+\_\+not}}, \mbox{\hyperlink{geom_8h_source_l00209}{g\+\_\+provider\+::geom}}, \mbox{\hyperlink{g__part_8h_source_l00144}{g\+\_\+part\+\_\+table\+::gpt\+\_\+scheme}}, \mbox{\hyperlink{geom_8h_source_l00095}{g\+\_\+class\+::name}}, \mbox{\hyperlink{g__label__gpt_8c_source_l00044}{PART\+\_\+\+CLASS\+\_\+\+NAME}}, \mbox{\hyperlink{g__part__if_8m_source_l00130}{pp}}, \mbox{\hyperlink{geom_8h_source_l00230}{g\+\_\+provider\+::private}}, \mbox{\hyperlink{geom_8h_source_l00178}{g\+\_\+consumer\+::provider}}, \mbox{\hyperlink{g__label__gpt_8c_source_l00055}{sbuf\+\_\+nprintf\+\_\+utf16()}}, \mbox{\hyperlink{g__label__gpt_8c_source_l00045}{SCHEME\+\_\+\+NAME}}, and \mbox{\hyperlink{geom_8h_source_l00150}{g\+\_\+geom\+::softc}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=325pt]{dc/d3d/g__label__gpt_8c_a736445b90e37fa31bbd08a5005e85858_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__label__gpt_8c_a154e11427aafe76b1f71a1b952255fa8}\label{g__label__gpt_8c_a154e11427aafe76b1f71a1b952255fa8}} 
\index{g\_label\_gpt.c@{g\_label\_gpt.c}!g\_label\_gpt\_uuid\_taste@{g\_label\_gpt\_uuid\_taste}}
\index{g\_label\_gpt\_uuid\_taste@{g\_label\_gpt\_uuid\_taste}!g\_label\_gpt.c@{g\_label\_gpt.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_gpt\_uuid\_taste()}{g\_label\_gpt\_uuid\_taste()}}
{\footnotesize\ttfamily static void g\+\_\+label\+\_\+gpt\+\_\+uuid\+\_\+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__gpt_8c_source_l00134}{134}} of file \mbox{\hyperlink{g__label__gpt_8c_source}{g\+\_\+label\+\_\+gpt.\+c}}.



References \mbox{\hyperlink{geom_8h_source_l00133}{g\+\_\+geom\+::class}}, \mbox{\hyperlink{g__part__if_8m_source_l00233}{cp}}, \mbox{\hyperlink{g__label__gpt_8c_source_l00050}{g\+\_\+part\+\_\+gpt\+\_\+entry\+::ent}}, \mbox{\hyperlink{geom_8h_source_l00408}{g\+\_\+topology\+\_\+assert\+\_\+not}}, \mbox{\hyperlink{geom_8h_source_l00209}{g\+\_\+provider\+::geom}}, \mbox{\hyperlink{g__part_8h_source_l00144}{g\+\_\+part\+\_\+table\+::gpt\+\_\+scheme}}, \mbox{\hyperlink{geom_8h_source_l00095}{g\+\_\+class\+::name}}, \mbox{\hyperlink{g__label__gpt_8c_source_l00044}{PART\+\_\+\+CLASS\+\_\+\+NAME}}, \mbox{\hyperlink{g__part__if_8m_source_l00130}{pp}}, \mbox{\hyperlink{geom_8h_source_l00230}{g\+\_\+provider\+::private}}, \mbox{\hyperlink{geom_8h_source_l00178}{g\+\_\+consumer\+::provider}}, \mbox{\hyperlink{g__label__gpt_8c_source_l00045}{SCHEME\+\_\+\+NAME}}, and \mbox{\hyperlink{geom_8h_source_l00150}{g\+\_\+geom\+::softc}}.

\mbox{\Hypertarget{g__label__gpt_8c_ad1d82ebeaf26eaa2a530373c9375496b}\label{g__label__gpt_8c_ad1d82ebeaf26eaa2a530373c9375496b}} 
\index{g\_label\_gpt.c@{g\_label\_gpt.c}!G\_LABEL\_INIT@{G\_LABEL\_INIT}}
\index{G\_LABEL\_INIT@{G\_LABEL\_INIT}!g\_label\_gpt.c@{g\_label\_gpt.c}}
\doxysubsubsection{\texorpdfstring{G\_LABEL\_INIT()}{G\_LABEL\_INIT()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily G\+\_\+\+LABEL\+\_\+\+INIT (\begin{DoxyParamCaption}\item[{gpt}]{,  }\item[{\mbox{\hyperlink{g__label__gpt_8c_aa77227c8bfbb3b94cfa29d12c43ec1d3}{g\+\_\+label\+\_\+gpt}}}]{,  }\item[{\char`\"{}Create device nodes for GPT labels\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{g__label__gpt_8c_afec49c5a5694bf280444f6fc95230b34}\label{g__label__gpt_8c_afec49c5a5694bf280444f6fc95230b34}} 
\index{g\_label\_gpt.c@{g\_label\_gpt.c}!G\_LABEL\_INIT@{G\_LABEL\_INIT}}
\index{G\_LABEL\_INIT@{G\_LABEL\_INIT}!g\_label\_gpt.c@{g\_label\_gpt.c}}
\doxysubsubsection{\texorpdfstring{G\_LABEL\_INIT()}{G\_LABEL\_INIT()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily G\+\_\+\+LABEL\+\_\+\+INIT (\begin{DoxyParamCaption}\item[{gptid}]{,  }\item[{\mbox{\hyperlink{g__label__gpt_8c_a6283a3f2ecad6bf8fa82755dc2b94be6}{g\+\_\+label\+\_\+gpt\+\_\+uuid}}}]{,  }\item[{\char`\"{}Create device nodes for GPT UUIDs\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{g__label__gpt_8c_a8f0442c9c3bc15bc67eac9546f262798}\label{g__label__gpt_8c_a8f0442c9c3bc15bc67eac9546f262798}} 
\index{g\_label\_gpt.c@{g\_label\_gpt.c}!sbuf\_nprintf\_utf16@{sbuf\_nprintf\_utf16}}
\index{sbuf\_nprintf\_utf16@{sbuf\_nprintf\_utf16}!g\_label\_gpt.c@{g\_label\_gpt.c}}
\doxysubsubsection{\texorpdfstring{sbuf\_nprintf\_utf16()}{sbuf\_nprintf\_utf16()}}
{\footnotesize\ttfamily static void sbuf\+\_\+nprintf\+\_\+utf16 (\begin{DoxyParamCaption}\item[{struct sbuf $\ast$}]{sb,  }\item[{uint16\+\_\+t $\ast$}]{str,  }\item[{size\+\_\+t}]{len }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__label__gpt_8c_source_l00055}{55}} of file \mbox{\hyperlink{g__label__gpt_8c_source}{g\+\_\+label\+\_\+gpt.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00157}{sb}}.



Referenced by \mbox{\hyperlink{g__label__gpt_8c_source_l00100}{g\+\_\+label\+\_\+gpt\+\_\+taste()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=325pt]{dc/d3d/g__label__gpt_8c_a8f0442c9c3bc15bc67eac9546f262798_icgraph}
\end{center}
\end{figure}


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

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

\end{DoxyCode}


Definition at line \mbox{\hyperlink{g__label__gpt_8c_source_l00156}{156}} of file \mbox{\hyperlink{g__label__gpt_8c_source}{g\+\_\+label\+\_\+gpt.\+c}}.

\mbox{\Hypertarget{g__label__gpt_8c_a6283a3f2ecad6bf8fa82755dc2b94be6}\label{g__label__gpt_8c_a6283a3f2ecad6bf8fa82755dc2b94be6}} 
\index{g\_label\_gpt.c@{g\_label\_gpt.c}!g\_label\_gpt\_uuid@{g\_label\_gpt\_uuid}}
\index{g\_label\_gpt\_uuid@{g\_label\_gpt\_uuid}!g\_label\_gpt.c@{g\_label\_gpt.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_gpt\_uuid}{g\_label\_gpt\_uuid}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} g\+\_\+label\+\_\+gpt\+\_\+uuid}

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

\end{DoxyCode}


Definition at line \mbox{\hyperlink{g__label__gpt_8c_source_l00162}{162}} of file \mbox{\hyperlink{g__label__gpt_8c_source}{g\+\_\+label\+\_\+gpt.\+c}}.

