\hypertarget{g__label__ntfs_8c}{}\doxysection{geom/label/g\+\_\+label\+\_\+ntfs.c File Reference}
\label{g__label__ntfs_8c}\index{geom/label/g\_label\_ntfs.c@{geom/label/g\_label\_ntfs.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/label/g\+\_\+label.\+h$>$}\newline
Include dependency graph for g\+\_\+label\+\_\+ntfs.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/dd3/g__label__ntfs_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structntfs__attr}{ntfs\+\_\+attr}}
\item 
struct \mbox{\hyperlink{structntfs__filerec}{ntfs\+\_\+filerec}}
\item 
struct \mbox{\hyperlink{structntfs__bootfile}{ntfs\+\_\+bootfile}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{g__label__ntfs_8c_a296c225f2d8dbc21c05df85734a2ac60}{NTFS\+\_\+\+A\+\_\+\+VOLUMENAME}}~0x60
\item 
\#define \mbox{\hyperlink{g__label__ntfs_8c_a52dde2db265675527628b7d517f96b74}{NTFS\+\_\+\+FILEMAGIC}}~((uint32\+\_\+t)(0x454\+C4946))
\item 
\#define \mbox{\hyperlink{g__label__ntfs_8c_ae14efeb04707783372d68b05dbdea87e}{NTFS\+\_\+\+VOLUMEINO}}~3
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{g__label__ntfs_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static void \mbox{\hyperlink{g__label__ntfs_8c_a0e94db4b8828545a32135316ab10a8a4}{g\+\_\+label\+\_\+ntfs\+\_\+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__ntfs_8c_a1bb5163ce1cac6641a06daba3b028944}{G\+\_\+\+LABEL\+\_\+\+INIT}} (ntfs, \mbox{\hyperlink{g__label__ntfs_8c_aa16b0837cf9d07aaf79b69b0eb9d7b4e}{g\+\_\+label\+\_\+ntfs}}, \char`\"{}Create device nodes for NTFS volumes\char`\"{})
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structntfs__attr}{ntfs\+\_\+attr}} \mbox{\hyperlink{g__label__ntfs_8c_ad3a3998cd3cc881d924b3835c00c96d8}{\+\_\+\+\_\+packed}}
\item 
struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} \mbox{\hyperlink{g__label__ntfs_8c_aa16b0837cf9d07aaf79b69b0eb9d7b4e}{g\+\_\+label\+\_\+ntfs}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{g__label__ntfs_8c_a296c225f2d8dbc21c05df85734a2ac60}\label{g__label__ntfs_8c_a296c225f2d8dbc21c05df85734a2ac60}} 
\index{g\_label\_ntfs.c@{g\_label\_ntfs.c}!NTFS\_A\_VOLUMENAME@{NTFS\_A\_VOLUMENAME}}
\index{NTFS\_A\_VOLUMENAME@{NTFS\_A\_VOLUMENAME}!g\_label\_ntfs.c@{g\_label\_ntfs.c}}
\doxysubsubsection{\texorpdfstring{NTFS\_A\_VOLUMENAME}{NTFS\_A\_VOLUMENAME}}
{\footnotesize\ttfamily \#define NTFS\+\_\+\+A\+\_\+\+VOLUMENAME~0x60}



Definition at line \mbox{\hyperlink{g__label__ntfs_8c_source_l00040}{40}} of file \mbox{\hyperlink{g__label__ntfs_8c_source}{g\+\_\+label\+\_\+ntfs.\+c}}.

\mbox{\Hypertarget{g__label__ntfs_8c_a52dde2db265675527628b7d517f96b74}\label{g__label__ntfs_8c_a52dde2db265675527628b7d517f96b74}} 
\index{g\_label\_ntfs.c@{g\_label\_ntfs.c}!NTFS\_FILEMAGIC@{NTFS\_FILEMAGIC}}
\index{NTFS\_FILEMAGIC@{NTFS\_FILEMAGIC}!g\_label\_ntfs.c@{g\_label\_ntfs.c}}
\doxysubsubsection{\texorpdfstring{NTFS\_FILEMAGIC}{NTFS\_FILEMAGIC}}
{\footnotesize\ttfamily \#define NTFS\+\_\+\+FILEMAGIC~((uint32\+\_\+t)(0x454\+C4946))}



Definition at line \mbox{\hyperlink{g__label__ntfs_8c_source_l00041}{41}} of file \mbox{\hyperlink{g__label__ntfs_8c_source}{g\+\_\+label\+\_\+ntfs.\+c}}.

\mbox{\Hypertarget{g__label__ntfs_8c_ae14efeb04707783372d68b05dbdea87e}\label{g__label__ntfs_8c_ae14efeb04707783372d68b05dbdea87e}} 
\index{g\_label\_ntfs.c@{g\_label\_ntfs.c}!NTFS\_VOLUMEINO@{NTFS\_VOLUMEINO}}
\index{NTFS\_VOLUMEINO@{NTFS\_VOLUMEINO}!g\_label\_ntfs.c@{g\_label\_ntfs.c}}
\doxysubsubsection{\texorpdfstring{NTFS\_VOLUMEINO}{NTFS\_VOLUMEINO}}
{\footnotesize\ttfamily \#define NTFS\+\_\+\+VOLUMEINO~3}



Definition at line \mbox{\hyperlink{g__label__ntfs_8c_source_l00042}{42}} of file \mbox{\hyperlink{g__label__ntfs_8c_source}{g\+\_\+label\+\_\+ntfs.\+c}}.



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

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

\mbox{\Hypertarget{g__label__ntfs_8c_a0e94db4b8828545a32135316ab10a8a4}\label{g__label__ntfs_8c_a0e94db4b8828545a32135316ab10a8a4}} 
\index{g\_label\_ntfs.c@{g\_label\_ntfs.c}!g\_label\_ntfs\_taste@{g\_label\_ntfs\_taste}}
\index{g\_label\_ntfs\_taste@{g\_label\_ntfs\_taste}!g\_label\_ntfs.c@{g\_label\_ntfs.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_ntfs\_taste()}{g\_label\_ntfs\_taste()}}
{\footnotesize\ttfamily static void g\+\_\+label\+\_\+ntfs\+\_\+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__ntfs_8c_source_l00095}{95}} of file \mbox{\hyperlink{g__label__ntfs_8c_source}{g\+\_\+label\+\_\+ntfs.\+c}}.



References \mbox{\hyperlink{g__label__ntfs_8c_source_l00054}{ntfs\+\_\+attr\+::a\+\_\+datalen}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00056}{ntfs\+\_\+attr\+::a\+\_\+dataoff}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00045}{ntfs\+\_\+attr\+::a\+\_\+type}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00078}{ntfs\+\_\+bootfile\+::bf\+\_\+bps}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00087}{ntfs\+\_\+bootfile\+::bf\+\_\+mftcn}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00089}{ntfs\+\_\+bootfile\+::bf\+\_\+mftrecsz}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00079}{ntfs\+\_\+bootfile\+::bf\+\_\+spc}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00077}{ntfs\+\_\+bootfile\+::bf\+\_\+sysid}}, \mbox{\hyperlink{g__part__if_8m_source_l00233}{cp}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00067}{ntfs\+\_\+filerec\+::fr\+\_\+attroff}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00061}{ntfs\+\_\+filerec\+::fr\+\_\+hdrmagic}}, \mbox{\hyperlink{geom_8h_source_l00376}{g\+\_\+free()}}, \mbox{\hyperlink{geom__io_8c_source_l00870}{g\+\_\+read\+\_\+data()}}, \mbox{\hyperlink{geom_8h_source_l00408}{g\+\_\+topology\+\_\+assert\+\_\+not}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00040}{NTFS\+\_\+\+A\+\_\+\+VOLUMENAME}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00041}{NTFS\+\_\+\+FILEMAGIC}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00042}{NTFS\+\_\+\+VOLUMEINO}}, \mbox{\hyperlink{g__part__if_8m_source_l00130}{pp}}, \mbox{\hyperlink{geom_8h_source_l00178}{g\+\_\+consumer\+::provider}}, \mbox{\hyperlink{g__label__ntfs_8c_source_l00046}{ntfs\+\_\+attr\+::reclen}}, 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]{d2/dad/g__label__ntfs_8c_a0e94db4b8828545a32135316ab10a8a4_cgraph}
\end{center}
\end{figure}


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{g__label__ntfs_8c_ad3a3998cd3cc881d924b3835c00c96d8}\label{g__label__ntfs_8c_ad3a3998cd3cc881d924b3835c00c96d8}} 
\index{g\_label\_ntfs.c@{g\_label\_ntfs.c}!\_\_packed@{\_\_packed}}
\index{\_\_packed@{\_\_packed}!g\_label\_ntfs.c@{g\_label\_ntfs.c}}
\doxysubsubsection{\texorpdfstring{\_\_packed}{\_\_packed}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structntfs__bootfile}{ntfs\+\_\+bootfile}} \+\_\+\+\_\+packed}

\mbox{\Hypertarget{g__label__ntfs_8c_aa16b0837cf9d07aaf79b69b0eb9d7b4e}\label{g__label__ntfs_8c_aa16b0837cf9d07aaf79b69b0eb9d7b4e}} 
\index{g\_label\_ntfs.c@{g\_label\_ntfs.c}!g\_label\_ntfs@{g\_label\_ntfs}}
\index{g\_label\_ntfs@{g\_label\_ntfs}!g\_label\_ntfs.c@{g\_label\_ntfs.c}}
\doxysubsubsection{\texorpdfstring{g\_label\_ntfs}{g\_label\_ntfs}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structg__label__desc}{g\+\_\+label\+\_\+desc}} g\+\_\+label\+\_\+ntfs}

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

\end{DoxyCode}


Definition at line \mbox{\hyperlink{g__label__ntfs_8c_source_l00184}{184}} of file \mbox{\hyperlink{g__label__ntfs_8c_source}{g\+\_\+label\+\_\+ntfs.\+c}}.

