\hypertarget{g__raid__ctl_8c}{}\doxysection{geom/raid/g\+\_\+raid\+\_\+ctl.c File Reference}
\label{g__raid__ctl_8c}\index{geom/raid/g\_raid\_ctl.c@{geom/raid/g\_raid\_ctl.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/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/lock.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$sys/bio.\+h$>$}\newline
{\ttfamily \#include $<$sys/sysctl.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$sys/bitstring.\+h$>$}\newline
{\ttfamily \#include $<$vm/uma.\+h$>$}\newline
{\ttfamily \#include $<$machine/atomic.\+h$>$}\newline
{\ttfamily \#include $<$geom/geom.\+h$>$}\newline
{\ttfamily \#include $<$sys/proc.\+h$>$}\newline
{\ttfamily \#include $<$sys/kthread.\+h$>$}\newline
{\ttfamily \#include $<$geom/raid/g\+\_\+raid.\+h$>$}\newline
{\ttfamily \#include \char`\"{}g\+\_\+raid\+\_\+md\+\_\+if.\+h\char`\"{}}\newline
Include dependency graph for g\+\_\+raid\+\_\+ctl.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d6/d60/g__raid__ctl_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{g__raid__ctl_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static struct \mbox{\hyperlink{structg__raid__softc}{g\+\_\+raid\+\_\+softc}} $\ast$ \mbox{\hyperlink{g__raid__ctl_8c_a7ae8245b8c16fd8c5091de0fa625ac84}{g\+\_\+raid\+\_\+find\+\_\+node}} (struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_a4f7502795edfd2493d3d223d0df33e1d}{mp}}, const char $\ast$\mbox{\hyperlink{g__part__if_8m_aff5d3acc33944ecb11914d04ef06bb54}{name}})
\item 
static void \mbox{\hyperlink{g__raid__ctl_8c_a64b8f1fafbf229e0a6f83712cb876d3f}{g\+\_\+raid\+\_\+ctl\+\_\+label}} (struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_ac3f02080343d005bc245831006856ea4}{req}}, struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_a4f7502795edfd2493d3d223d0df33e1d}{mp}})
\item 
static void \mbox{\hyperlink{g__raid__ctl_8c_adc7dfcda7858bd438f888f5986f90b85}{g\+\_\+raid\+\_\+ctl\+\_\+stop}} (struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_ac3f02080343d005bc245831006856ea4}{req}}, struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_a4f7502795edfd2493d3d223d0df33e1d}{mp}})
\item 
static void \mbox{\hyperlink{g__raid__ctl_8c_afacfbf7f429ddcf9a59bc6248d956081}{g\+\_\+raid\+\_\+ctl\+\_\+other}} (struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_ac3f02080343d005bc245831006856ea4}{req}}, struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_a4f7502795edfd2493d3d223d0df33e1d}{mp}})
\item 
void \mbox{\hyperlink{g__raid__ctl_8c_a135fcfa20b22430d4405e50b8514a0ec}{g\+\_\+raid\+\_\+ctl}} (struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_ac3f02080343d005bc245831006856ea4}{req}}, struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_a4f7502795edfd2493d3d223d0df33e1d}{mp}}, const char $\ast$verb)
\end{DoxyCompactItemize}


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

\mbox{\Hypertarget{g__raid__ctl_8c_a135fcfa20b22430d4405e50b8514a0ec}\label{g__raid__ctl_8c_a135fcfa20b22430d4405e50b8514a0ec}} 
\index{g\_raid\_ctl.c@{g\_raid\_ctl.c}!g\_raid\_ctl@{g\_raid\_ctl}}
\index{g\_raid\_ctl@{g\_raid\_ctl}!g\_raid\_ctl.c@{g\_raid\_ctl.c}}
\doxysubsubsection{\texorpdfstring{g\_raid\_ctl()}{g\_raid\_ctl()}}
{\footnotesize\ttfamily void g\+\_\+raid\+\_\+ctl (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$}]{req,  }\item[{struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$}]{mp,  }\item[{const char $\ast$}]{verb }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{g__raid__ctl_8c_source_l00228}{228}} of file \mbox{\hyperlink{g__raid__ctl_8c_source}{g\+\_\+raid\+\_\+ctl.\+c}}.



References \mbox{\hyperlink{g__raid__ctl_8c_source_l00101}{g\+\_\+raid\+\_\+ctl\+\_\+label()}}, \mbox{\hyperlink{g__raid__ctl_8c_source_l00190}{g\+\_\+raid\+\_\+ctl\+\_\+other()}}, \mbox{\hyperlink{g__raid__ctl_8c_source_l00150}{g\+\_\+raid\+\_\+ctl\+\_\+stop()}}, \mbox{\hyperlink{g__raid_8h_source_l00046}{G\+\_\+\+RAID\+\_\+\+VERSION}}, \mbox{\hyperlink{geom_8h_source_l00403}{g\+\_\+topology\+\_\+assert}}, \mbox{\hyperlink{geom_8h_a1d51201471b52be7e19a98b0fcb144de}{gctl\+\_\+error()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00429}{gctl\+\_\+get\+\_\+paraml()}}, \mbox{\hyperlink{g__raid__md__if_8m_source_l00103}{mp}}, and \mbox{\hyperlink{g__part__if_8m_source_l00225}{req}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/d2e/g__raid__ctl_8c_a135fcfa20b22430d4405e50b8514a0ec_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__raid__ctl_8c_a64b8f1fafbf229e0a6f83712cb876d3f}\label{g__raid__ctl_8c_a64b8f1fafbf229e0a6f83712cb876d3f}} 
\index{g\_raid\_ctl.c@{g\_raid\_ctl.c}!g\_raid\_ctl\_label@{g\_raid\_ctl\_label}}
\index{g\_raid\_ctl\_label@{g\_raid\_ctl\_label}!g\_raid\_ctl.c@{g\_raid\_ctl.c}}
\doxysubsubsection{\texorpdfstring{g\_raid\_ctl\_label()}{g\_raid\_ctl\_label()}}
{\footnotesize\ttfamily static void g\+\_\+raid\+\_\+ctl\+\_\+label (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$}]{req,  }\item[{struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$}]{mp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__raid__ctl_8c_source_l00101}{101}} of file \mbox{\hyperlink{g__raid__ctl_8c_source}{g\+\_\+raid\+\_\+ctl.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00212}{buf}}, \mbox{\hyperlink{g__raid_8c_source_l02263}{g\+\_\+raid\+\_\+create\+\_\+node\+\_\+format()}}, \mbox{\hyperlink{g__raid_8c_source_l02024}{g\+\_\+raid\+\_\+destroy\+\_\+node()}}, \mbox{\hyperlink{g__raid__md__if_8m_ae3e40a1a8689841d6d6f54a441d53d43}{G\+\_\+\+RAID\+\_\+\+MD\+\_\+\+TASTE\+\_\+\+FAIL}}, \mbox{\hyperlink{g__raid__md__if_8m_aa5340dcca98f524650a3aa3675073120}{G\+\_\+\+RAID\+\_\+\+MD\+\_\+\+TASTE\+\_\+\+NEW}}, \mbox{\hyperlink{geom_8h_source_l00389}{g\+\_\+topology\+\_\+lock}}, \mbox{\hyperlink{geom_8h_source_l00396}{g\+\_\+topology\+\_\+unlock}}, \mbox{\hyperlink{geom_8h_a1d51201471b52be7e19a98b0fcb144de}{gctl\+\_\+error()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00395}{gctl\+\_\+get\+\_\+asciiparam()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00429}{gctl\+\_\+get\+\_\+paraml()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00349}{gctl\+\_\+set\+\_\+param\+\_\+err()}}, \mbox{\hyperlink{g__part__if_8m_source_l00225}{req}}, \mbox{\hyperlink{g__raid_8h_source_l00299}{g\+\_\+raid\+\_\+softc\+::sc\+\_\+lock}}, \mbox{\hyperlink{g__raid_8h_source_l00294}{g\+\_\+raid\+\_\+softc\+::sc\+\_\+md}}, and \mbox{\hyperlink{geom_8h_source_l00150}{g\+\_\+geom\+::softc}}.



Referenced by \mbox{\hyperlink{g__raid__ctl_8c_source_l00228}{g\+\_\+raid\+\_\+ctl()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/d2e/g__raid__ctl_8c_a64b8f1fafbf229e0a6f83712cb876d3f_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=273pt]{d4/d2e/g__raid__ctl_8c_a64b8f1fafbf229e0a6f83712cb876d3f_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__raid__ctl_8c_afacfbf7f429ddcf9a59bc6248d956081}\label{g__raid__ctl_8c_afacfbf7f429ddcf9a59bc6248d956081}} 
\index{g\_raid\_ctl.c@{g\_raid\_ctl.c}!g\_raid\_ctl\_other@{g\_raid\_ctl\_other}}
\index{g\_raid\_ctl\_other@{g\_raid\_ctl\_other}!g\_raid\_ctl.c@{g\_raid\_ctl.c}}
\doxysubsubsection{\texorpdfstring{g\_raid\_ctl\_other()}{g\_raid\_ctl\_other()}}
{\footnotesize\ttfamily static void g\+\_\+raid\+\_\+ctl\+\_\+other (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$}]{req,  }\item[{struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$}]{mp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__raid__ctl_8c_source_l00190}{190}} of file \mbox{\hyperlink{g__raid__ctl_8c_source}{g\+\_\+raid\+\_\+ctl.\+c}}.



References \mbox{\hyperlink{g__raid__ctl_8c_source_l00051}{g\+\_\+raid\+\_\+find\+\_\+node()}}, \mbox{\hyperlink{geom_8h_source_l00389}{g\+\_\+topology\+\_\+lock}}, \mbox{\hyperlink{geom_8h_source_l00396}{g\+\_\+topology\+\_\+unlock}}, \mbox{\hyperlink{geom_8h_a1d51201471b52be7e19a98b0fcb144de}{gctl\+\_\+error()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00395}{gctl\+\_\+get\+\_\+asciiparam()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00429}{gctl\+\_\+get\+\_\+paraml()}}, \mbox{\hyperlink{g__raid__md__if_8m_source_l00103}{mp}}, \mbox{\hyperlink{g__part__if_8m_source_l00225}{req}}, \mbox{\hyperlink{g__raid_8h_source_l00299}{g\+\_\+raid\+\_\+softc\+::sc\+\_\+lock}}, and \mbox{\hyperlink{g__raid_8h_source_l00294}{g\+\_\+raid\+\_\+softc\+::sc\+\_\+md}}.



Referenced by \mbox{\hyperlink{g__raid__ctl_8c_source_l00228}{g\+\_\+raid\+\_\+ctl()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/d2e/g__raid__ctl_8c_afacfbf7f429ddcf9a59bc6248d956081_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=275pt]{d4/d2e/g__raid__ctl_8c_afacfbf7f429ddcf9a59bc6248d956081_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__raid__ctl_8c_adc7dfcda7858bd438f888f5986f90b85}\label{g__raid__ctl_8c_adc7dfcda7858bd438f888f5986f90b85}} 
\index{g\_raid\_ctl.c@{g\_raid\_ctl.c}!g\_raid\_ctl\_stop@{g\_raid\_ctl\_stop}}
\index{g\_raid\_ctl\_stop@{g\_raid\_ctl\_stop}!g\_raid\_ctl.c@{g\_raid\_ctl.c}}
\doxysubsubsection{\texorpdfstring{g\_raid\_ctl\_stop()}{g\_raid\_ctl\_stop()}}
{\footnotesize\ttfamily static void g\+\_\+raid\+\_\+ctl\+\_\+stop (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$}]{req,  }\item[{struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$}]{mp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__raid__ctl_8c_source_l00150}{150}} of file \mbox{\hyperlink{g__raid__ctl_8c_source}{g\+\_\+raid\+\_\+ctl.\+c}}.



References \mbox{\hyperlink{g__raid_8c_source_l02155}{g\+\_\+raid\+\_\+destroy()}}, \mbox{\hyperlink{g__raid_8h_source_l00437}{G\+\_\+\+RAID\+\_\+\+DESTROY\+\_\+\+HARD}}, \mbox{\hyperlink{g__raid_8h_source_l00435}{G\+\_\+\+RAID\+\_\+\+DESTROY\+\_\+\+SOFT}}, \mbox{\hyperlink{g__raid__ctl_8c_source_l00051}{g\+\_\+raid\+\_\+find\+\_\+node()}}, \mbox{\hyperlink{geom_8h_source_l00389}{g\+\_\+topology\+\_\+lock}}, \mbox{\hyperlink{geom_8h_source_l00396}{g\+\_\+topology\+\_\+unlock}}, \mbox{\hyperlink{geom_8h_a1d51201471b52be7e19a98b0fcb144de}{gctl\+\_\+error()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00395}{gctl\+\_\+get\+\_\+asciiparam()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00429}{gctl\+\_\+get\+\_\+paraml()}}, \mbox{\hyperlink{g__raid__md__if_8m_source_l00103}{mp}}, \mbox{\hyperlink{g__part__if_8m_source_l00225}{req}}, and \mbox{\hyperlink{g__raid_8h_source_l00299}{g\+\_\+raid\+\_\+softc\+::sc\+\_\+lock}}.



Referenced by \mbox{\hyperlink{g__raid__ctl_8c_source_l00228}{g\+\_\+raid\+\_\+ctl()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/d2e/g__raid__ctl_8c_adc7dfcda7858bd438f888f5986f90b85_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=270pt]{d4/d2e/g__raid__ctl_8c_adc7dfcda7858bd438f888f5986f90b85_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__raid__ctl_8c_a7ae8245b8c16fd8c5091de0fa625ac84}\label{g__raid__ctl_8c_a7ae8245b8c16fd8c5091de0fa625ac84}} 
\index{g\_raid\_ctl.c@{g\_raid\_ctl.c}!g\_raid\_find\_node@{g\_raid\_find\_node}}
\index{g\_raid\_find\_node@{g\_raid\_find\_node}!g\_raid\_ctl.c@{g\_raid\_ctl.c}}
\doxysubsubsection{\texorpdfstring{g\_raid\_find\_node()}{g\_raid\_find\_node()}}
{\footnotesize\ttfamily static struct \mbox{\hyperlink{structg__raid__softc}{g\+\_\+raid\+\_\+softc}} $\ast$ g\+\_\+raid\+\_\+find\+\_\+node (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structg__class}{g\+\_\+class}} $\ast$}]{mp,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__raid__ctl_8c_source_l00051}{51}} of file \mbox{\hyperlink{g__raid__ctl_8c_source}{g\+\_\+raid\+\_\+ctl.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00195}{gp}}, \mbox{\hyperlink{g__raid__md__if_8m_source_l00103}{mp}}, \mbox{\hyperlink{geom_8h_source_l00207}{g\+\_\+provider\+::name}}, \mbox{\hyperlink{g__part__if_8m_source_l00209}{name}}, \mbox{\hyperlink{g__part__if_8m_source_l00130}{pp}}, \mbox{\hyperlink{g__raid_8h_source_l00304}{g\+\_\+raid\+\_\+softc\+::sc\+\_\+stopping}}, \mbox{\hyperlink{geom_8h_source_l00150}{g\+\_\+geom\+::softc}}, \mbox{\hyperlink{g__raid_8h_source_l00257}{g\+\_\+raid\+\_\+volume\+::v\+\_\+name}}, and \mbox{\hyperlink{g__raid__md__if_8m_source_l00139}{vol}}.



Referenced by \mbox{\hyperlink{g__raid__ctl_8c_source_l00190}{g\+\_\+raid\+\_\+ctl\+\_\+other()}}, and \mbox{\hyperlink{g__raid__ctl_8c_source_l00150}{g\+\_\+raid\+\_\+ctl\+\_\+stop()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/d2e/g__raid__ctl_8c_a7ae8245b8c16fd8c5091de0fa625ac84_icgraph}
\end{center}
\end{figure}
