\hypertarget{geom__vinum__state_8c}{}\doxysection{geom/vinum/geom\+\_\+vinum\+\_\+state.c File Reference}
\label{geom__vinum__state_8c}\index{geom/vinum/geom\_vinum\_state.c@{geom/vinum/geom\_vinum\_state.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$sys/libkern.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$geom/geom.\+h$>$}\newline
{\ttfamily \#include $<$geom/geom\+\_\+dbg.\+h$>$}\newline
{\ttfamily \#include $<$geom/vinum/geom\+\_\+vinum\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$geom/vinum/geom\+\_\+vinum.\+h$>$}\newline
{\ttfamily \#include $<$geom/vinum/geom\+\_\+vinum\+\_\+share.\+h$>$}\newline
Include dependency graph for geom\+\_\+vinum\+\_\+state.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{db/d4e/geom__vinum__state_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{geom__vinum__state_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
void \mbox{\hyperlink{geom__vinum__state_8c_a4beae3e7bd2a2a77afbaa95bb88094ad}{gv\+\_\+setstate}} (struct \mbox{\hyperlink{structg__geom}{g\+\_\+geom}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_a2e19b314cc992e25ba4ea6cddd4b36aa}{gp}}, struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$\mbox{\hyperlink{g__raid__md__if_8m_ac3f02080343d005bc245831006856ea4}{req}})
\item 
int \mbox{\hyperlink{geom__vinum__state_8c_ad1ff55d598fa8c9ca9b22a286afec1db}{gv\+\_\+set\+\_\+drive\+\_\+state}} (struct \mbox{\hyperlink{structgv__drive}{gv\+\_\+drive}} $\ast$d, int newstate, int flags)
\item 
int \mbox{\hyperlink{geom__vinum__state_8c_abdd92b0c27d426f08d519df658766077}{gv\+\_\+set\+\_\+sd\+\_\+state}} (struct \mbox{\hyperlink{structgv__sd}{gv\+\_\+sd}} $\ast$s, int newstate, int flags)
\item 
int \mbox{\hyperlink{geom__vinum__state_8c_a6b14164511737c5388057b53686bec38}{gv\+\_\+set\+\_\+plex\+\_\+state}} (struct \mbox{\hyperlink{structgv__plex}{gv\+\_\+plex}} $\ast$p, int newstate, int flags)
\item 
int \mbox{\hyperlink{geom__vinum__state_8c_a06cb68e5927a0af769eed74c90855d13}{gv\+\_\+set\+\_\+vol\+\_\+state}} (struct \mbox{\hyperlink{structgv__volume}{gv\+\_\+volume}} $\ast$v, int newstate, int flags)
\item 
void \mbox{\hyperlink{geom__vinum__state_8c_aa5552d786d1a63e63cbde767f73cd92b}{gv\+\_\+update\+\_\+sd\+\_\+state}} (struct \mbox{\hyperlink{structgv__sd}{gv\+\_\+sd}} $\ast$s)
\item 
void \mbox{\hyperlink{geom__vinum__state_8c_ad6945700d37176c46ad81f34c0d25e67}{gv\+\_\+update\+\_\+plex\+\_\+state}} (struct \mbox{\hyperlink{structgv__plex}{gv\+\_\+plex}} $\ast$p)
\item 
void \mbox{\hyperlink{geom__vinum__state_8c_a594b665b349eaa0dc8871172ad747c43}{gv\+\_\+update\+\_\+vol\+\_\+state}} (struct \mbox{\hyperlink{structgv__volume}{gv\+\_\+volume}} $\ast$v)
\item 
int \mbox{\hyperlink{geom__vinum__state_8c_a389b3825c7c812ebe5f1e1748105ad98}{gv\+\_\+sdstatemap}} (struct \mbox{\hyperlink{structgv__plex}{gv\+\_\+plex}} $\ast$p)
\end{DoxyCompactItemize}


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

\mbox{\Hypertarget{geom__vinum__state_8c_a389b3825c7c812ebe5f1e1748105ad98}\label{geom__vinum__state_8c_a389b3825c7c812ebe5f1e1748105ad98}} 
\index{geom\_vinum\_state.c@{geom\_vinum\_state.c}!gv\_sdstatemap@{gv\_sdstatemap}}
\index{gv\_sdstatemap@{gv\_sdstatemap}!geom\_vinum\_state.c@{geom\_vinum\_state.c}}
\doxysubsubsection{\texorpdfstring{gv\_sdstatemap()}{gv\_sdstatemap()}}
{\footnotesize\ttfamily int gv\+\_\+sdstatemap (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgv__plex}{gv\+\_\+plex}} $\ast$}]{p }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{geom__vinum__state_8c_source_l00503}{503}} of file \mbox{\hyperlink{geom__vinum__state_8c_source}{geom\+\_\+vinum\+\_\+state.\+c}}.



References \mbox{\hyperlink{geom__vinum__var_8h_source_l00283}{GV\+\_\+\+SD\+\_\+\+DOWN}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00102}{GV\+\_\+\+SD\+\_\+\+DOWNSTATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00285}{GV\+\_\+\+SD\+\_\+\+INITIALIZING}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00104}{GV\+\_\+\+SD\+\_\+\+INITSTATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00286}{GV\+\_\+\+SD\+\_\+\+REVIVING}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00284}{GV\+\_\+\+SD\+\_\+\+STALE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00287}{GV\+\_\+\+SD\+\_\+\+UP}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00105}{GV\+\_\+\+SD\+\_\+\+UPSTATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00337}{gv\+\_\+plex\+::sddown}}, and \mbox{\hyperlink{geom__vinum__var_8h_source_l00282}{gv\+\_\+sd\+::state}}.



Referenced by \mbox{\hyperlink{geom__vinum__state_8c_source_l00416}{gv\+\_\+update\+\_\+plex\+\_\+state()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_a389b3825c7c812ebe5f1e1748105ad98_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{geom__vinum__state_8c_ad1ff55d598fa8c9ca9b22a286afec1db}\label{geom__vinum__state_8c_ad1ff55d598fa8c9ca9b22a286afec1db}} 
\index{geom\_vinum\_state.c@{geom\_vinum\_state.c}!gv\_set\_drive\_state@{gv\_set\_drive\_state}}
\index{gv\_set\_drive\_state@{gv\_set\_drive\_state}!geom\_vinum\_state.c@{geom\_vinum\_state.c}}
\doxysubsubsection{\texorpdfstring{gv\_set\_drive\_state()}{gv\_set\_drive\_state()}}
{\footnotesize\ttfamily int gv\+\_\+set\+\_\+drive\+\_\+state (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgv__drive}{gv\+\_\+drive}} $\ast$}]{d,  }\item[{int}]{newstate,  }\item[{int}]{flags }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{geom__vinum__state_8c_source_l00125}{125}} of file \mbox{\hyperlink{geom__vinum__state_8c_source}{geom\+\_\+vinum\+\_\+state.\+c}}.



References \mbox{\hyperlink{geom__vinum__var_8h_source_l00265}{gv\+\_\+drive\+::consumer}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00294}{gv\+\_\+sd\+::flags}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l00952}{gv\+\_\+consumer\+\_\+is\+\_\+open()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00252}{GV\+\_\+\+DRIVE\+\_\+\+DOWN}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00129}{GV\+\_\+\+ERR\+\_\+\+ISBUSY}}, \mbox{\hyperlink{geom__vinum__drive_8c_source_l00264}{gv\+\_\+save\+\_\+config()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00099}{GV\+\_\+\+SETSTATE\+\_\+\+CONFIG}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00098}{GV\+\_\+\+SETSTATE\+\_\+\+FORCE}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00378}{gv\+\_\+update\+\_\+sd\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00251}{gv\+\_\+drive\+::state}}, and \mbox{\hyperlink{geom__vinum__var_8h_source_l00273}{gv\+\_\+drive\+::vinumconf}}.



Referenced by \mbox{\hyperlink{geom__vinum__create_8c_source_l00053}{gv\+\_\+create\+\_\+drive()}}, \mbox{\hyperlink{geom__vinum__events_8c_source_l00218}{gv\+\_\+drive\+\_\+lost()}}, \mbox{\hyperlink{geom__vinum__events_8c_source_l00102}{gv\+\_\+drive\+\_\+tasted()}}, and \mbox{\hyperlink{geom__vinum_8c_source_l00629}{gv\+\_\+worker()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_ad1ff55d598fa8c9ca9b22a286afec1db_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_ad1ff55d598fa8c9ca9b22a286afec1db_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{geom__vinum__state_8c_a6b14164511737c5388057b53686bec38}\label{geom__vinum__state_8c_a6b14164511737c5388057b53686bec38}} 
\index{geom\_vinum\_state.c@{geom\_vinum\_state.c}!gv\_set\_plex\_state@{gv\_set\_plex\_state}}
\index{gv\_set\_plex\_state@{gv\_set\_plex\_state}!geom\_vinum\_state.c@{geom\_vinum\_state.c}}
\doxysubsubsection{\texorpdfstring{gv\_set\_plex\_state()}{gv\_set\_plex\_state()}}
{\footnotesize\ttfamily int gv\+\_\+set\+\_\+plex\+\_\+state (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgv__plex}{gv\+\_\+plex}} $\ast$}]{p,  }\item[{int}]{newstate,  }\item[{int}]{flags }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{geom__vinum__state_8c_source_l00285}{285}} of file \mbox{\hyperlink{geom__vinum__state_8c_source}{geom\+\_\+vinum\+\_\+state.\+c}}.



References \mbox{\hyperlink{geom__vinum__var_8h_source_l00373}{gv\+\_\+volume\+::flags}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00125}{GV\+\_\+\+ERR\+\_\+\+SETSTATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00320}{GV\+\_\+\+PLEX\+\_\+\+DEGRADED}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00318}{GV\+\_\+\+PLEX\+\_\+\+DOWN}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00322}{GV\+\_\+\+PLEX\+\_\+\+UP}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l00261}{gv\+\_\+plexdown()}}, \mbox{\hyperlink{geom__vinum__drive_8c_source_l00264}{gv\+\_\+save\+\_\+config()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00099}{GV\+\_\+\+SETSTATE\+\_\+\+CONFIG}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00098}{GV\+\_\+\+SETSTATE\+\_\+\+FORCE}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00416}{gv\+\_\+update\+\_\+plex\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00471}{gv\+\_\+update\+\_\+vol\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00368}{gv\+\_\+volume\+::plexcount}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00317}{gv\+\_\+plex\+::state}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00361}{gv\+\_\+plex\+::vinumconf}}, and \mbox{\hyperlink{geom__vinum__var_8h_source_l00333}{gv\+\_\+plex\+::vol\+\_\+sc}}.



Referenced by \mbox{\hyperlink{geom__vinum__subr_8c_source_l01124}{gv\+\_\+attach\+\_\+plex()}}, \mbox{\hyperlink{geom__vinum__plex_8c_source_l00715}{gv\+\_\+grow\+\_\+complete()}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l00481}{gv\+\_\+update\+\_\+plex\+\_\+config()}}, and \mbox{\hyperlink{geom__vinum_8c_source_l00629}{gv\+\_\+worker()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_a6b14164511737c5388057b53686bec38_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_a6b14164511737c5388057b53686bec38_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{geom__vinum__state_8c_abdd92b0c27d426f08d519df658766077}\label{geom__vinum__state_8c_abdd92b0c27d426f08d519df658766077}} 
\index{geom\_vinum\_state.c@{geom\_vinum\_state.c}!gv\_set\_sd\_state@{gv\_set\_sd\_state}}
\index{gv\_set\_sd\_state@{gv\_set\_sd\_state}!geom\_vinum\_state.c@{geom\_vinum\_state.c}}
\doxysubsubsection{\texorpdfstring{gv\_set\_sd\_state()}{gv\_set\_sd\_state()}}
{\footnotesize\ttfamily int gv\+\_\+set\+\_\+sd\+\_\+state (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgv__sd}{gv\+\_\+sd}} $\ast$}]{s,  }\item[{int}]{newstate,  }\item[{int}]{flags }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{geom__vinum__state_8c_source_l00157}{157}} of file \mbox{\hyperlink{geom__vinum__state_8c_source}{geom\+\_\+vinum\+\_\+state.\+c}}.



References \mbox{\hyperlink{geom__vinum__var_8h_source_l00303}{gv\+\_\+sd\+::drive\+\_\+sc}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00294}{gv\+\_\+sd\+::flags}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00338}{gv\+\_\+plex\+::flags}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00253}{GV\+\_\+\+DRIVE\+\_\+\+UP}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00132}{GV\+\_\+\+ERR\+\_\+\+INVSTATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00130}{GV\+\_\+\+ERR\+\_\+\+ISATTACHED}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00125}{GV\+\_\+\+ERR\+\_\+\+SETSTATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00328}{GV\+\_\+\+PLEX\+\_\+\+RAID5}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00340}{GV\+\_\+\+PLEX\+\_\+\+SYNCING}}, \mbox{\hyperlink{geom__vinum__drive_8c_source_l00264}{gv\+\_\+save\+\_\+config()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00297}{GV\+\_\+\+SD\+\_\+\+CANGOUP}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00283}{GV\+\_\+\+SD\+\_\+\+DOWN}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00285}{GV\+\_\+\+SD\+\_\+\+INITIALIZING}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00286}{GV\+\_\+\+SD\+\_\+\+REVIVING}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00284}{GV\+\_\+\+SD\+\_\+\+STALE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00287}{GV\+\_\+\+SD\+\_\+\+UP}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00099}{GV\+\_\+\+SETSTATE\+\_\+\+CONFIG}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00098}{GV\+\_\+\+SETSTATE\+\_\+\+FORCE}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00416}{gv\+\_\+update\+\_\+plex\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00324}{gv\+\_\+plex\+::org}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00304}{gv\+\_\+sd\+::plex\+\_\+sc}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00368}{gv\+\_\+volume\+::plexcount}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00251}{gv\+\_\+drive\+::state}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00282}{gv\+\_\+sd\+::state}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00345}{gv\+\_\+plex\+::synced}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00310}{gv\+\_\+sd\+::vinumconf}}, and \mbox{\hyperlink{geom__vinum__var_8h_source_l00333}{gv\+\_\+plex\+::vol\+\_\+sc}}.



Referenced by \mbox{\hyperlink{geom__vinum__subr_8c_source_l01124}{gv\+\_\+attach\+\_\+plex()}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l01168}{gv\+\_\+attach\+\_\+sd()}}, \mbox{\hyperlink{geom__vinum__plex_8c_source_l00715}{gv\+\_\+grow\+\_\+complete()}}, \mbox{\hyperlink{geom__vinum__plex_8c_source_l00828}{gv\+\_\+init\+\_\+complete()}}, \mbox{\hyperlink{geom__vinum__init_8c_source_l00352}{gv\+\_\+init\+\_\+plex()}}, \mbox{\hyperlink{geom__vinum__move_8c_source_l00105}{gv\+\_\+move\+\_\+sd()}}, \mbox{\hyperlink{geom__vinum__plex_8c_source_l00199}{gv\+\_\+plex\+\_\+normal\+\_\+request()}}, \mbox{\hyperlink{geom__vinum__raid5_8c_source_l00257}{gv\+\_\+raid5\+\_\+rebuild()}}, \mbox{\hyperlink{geom__vinum__rm_8c_source_l00303}{gv\+\_\+rm\+\_\+drive()}}, \mbox{\hyperlink{geom__vinum__plex_8c_source_l00602}{gv\+\_\+sync\+\_\+complete()}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l00481}{gv\+\_\+update\+\_\+plex\+\_\+config()}}, and \mbox{\hyperlink{geom__vinum_8c_source_l00629}{gv\+\_\+worker()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_abdd92b0c27d426f08d519df658766077_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_abdd92b0c27d426f08d519df658766077_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{geom__vinum__state_8c_a06cb68e5927a0af769eed74c90855d13}\label{geom__vinum__state_8c_a06cb68e5927a0af769eed74c90855d13}} 
\index{geom\_vinum\_state.c@{geom\_vinum\_state.c}!gv\_set\_vol\_state@{gv\_set\_vol\_state}}
\index{gv\_set\_vol\_state@{gv\_set\_vol\_state}!geom\_vinum\_state.c@{geom\_vinum\_state.c}}
\doxysubsubsection{\texorpdfstring{gv\_set\_vol\_state()}{gv\_set\_vol\_state()}}
{\footnotesize\ttfamily int gv\+\_\+set\+\_\+vol\+\_\+state (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgv__volume}{gv\+\_\+volume}} $\ast$}]{v,  }\item[{int}]{newstate,  }\item[{int}]{flags }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{geom__vinum__state_8c_source_l00340}{340}} of file \mbox{\hyperlink{geom__vinum__state_8c_source}{geom\+\_\+vinum\+\_\+state.\+c}}.



References \mbox{\hyperlink{geom__vinum__var_8h_source_l00373}{gv\+\_\+volume\+::flags}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00129}{GV\+\_\+\+ERR\+\_\+\+ISBUSY}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00125}{GV\+\_\+\+ERR\+\_\+\+SETSTATE}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l00964}{gv\+\_\+provider\+\_\+is\+\_\+open()}}, \mbox{\hyperlink{geom__vinum__drive_8c_source_l00264}{gv\+\_\+save\+\_\+config()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00099}{GV\+\_\+\+SETSTATE\+\_\+\+CONFIG}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00098}{GV\+\_\+\+SETSTATE\+\_\+\+FORCE}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00471}{gv\+\_\+update\+\_\+vol\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00370}{GV\+\_\+\+VOL\+\_\+\+DOWN}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00371}{GV\+\_\+\+VOL\+\_\+\+UP}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00379}{gv\+\_\+volume\+::provider}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00369}{gv\+\_\+volume\+::state}}, and \mbox{\hyperlink{geom__vinum__var_8h_source_l00388}{gv\+\_\+volume\+::vinumconf}}.



Referenced by \mbox{\hyperlink{geom__vinum_8c_source_l00629}{gv\+\_\+worker()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_a06cb68e5927a0af769eed74c90855d13_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_a06cb68e5927a0af769eed74c90855d13_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{geom__vinum__state_8c_a4beae3e7bd2a2a77afbaa95bb88094ad}\label{geom__vinum__state_8c_a4beae3e7bd2a2a77afbaa95bb88094ad}} 
\index{geom\_vinum\_state.c@{geom\_vinum\_state.c}!gv\_setstate@{gv\_setstate}}
\index{gv\_setstate@{gv\_setstate}!geom\_vinum\_state.c@{geom\_vinum\_state.c}}
\doxysubsubsection{\texorpdfstring{gv\_setstate()}{gv\_setstate()}}
{\footnotesize\ttfamily void gv\+\_\+setstate (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structg__geom}{g\+\_\+geom}} $\ast$}]{gp,  }\item[{struct \mbox{\hyperlink{structgctl__req}{gctl\+\_\+req}} $\ast$}]{req }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{geom__vinum__state_8c_source_l00042}{42}} of file \mbox{\hyperlink{geom__vinum__state_8c_source}{geom\+\_\+vinum\+\_\+state.\+c}}.



References \mbox{\hyperlink{geom__vinum__var_8h_source_l00338}{gv\+\_\+plex\+::flags}}, \mbox{\hyperlink{geom_8h_a1d51201471b52be7e19a98b0fcb144de}{gctl\+\_\+error()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00388}{gctl\+\_\+get\+\_\+param()}}, \mbox{\hyperlink{geom__ctl_8c_source_l00429}{gctl\+\_\+get\+\_\+paraml()}}, \mbox{\hyperlink{g__part__if_8m_source_l00195}{gp}}, \mbox{\hyperlink{geom__vinum__share_8c_source_l00219}{gv\+\_\+drivestatei()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00197}{GV\+\_\+\+EVENT\+\_\+\+SET\+\_\+\+DRIVE\+\_\+\+STATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00199}{GV\+\_\+\+EVENT\+\_\+\+SET\+\_\+\+PLEX\+\_\+\+STATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00196}{GV\+\_\+\+EVENT\+\_\+\+SET\+\_\+\+SD\+\_\+\+STATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00198}{GV\+\_\+\+EVENT\+\_\+\+SET\+\_\+\+VOL\+\_\+\+STATE}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l00924}{gv\+\_\+find\+\_\+drive()}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l00896}{gv\+\_\+find\+\_\+plex()}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l00910}{gv\+\_\+find\+\_\+sd()}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l00882}{gv\+\_\+find\+\_\+vol()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00089}{GV\+\_\+\+FLAG\+\_\+F}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l01003}{gv\+\_\+object\+\_\+type()}}, \mbox{\hyperlink{geom__vinum__share_8c_source_l00265}{gv\+\_\+plexstatei()}}, \mbox{\hyperlink{geom__vinum__events_8c_source_l00046}{gv\+\_\+post\+\_\+event()}}, \mbox{\hyperlink{geom__vinum__share_8c_source_l00229}{gv\+\_\+sdstatei()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00098}{GV\+\_\+\+SETSTATE\+\_\+\+FORCE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00095}{GV\+\_\+\+TYPE\+\_\+\+DRIVE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00093}{GV\+\_\+\+TYPE\+\_\+\+PLEX}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00094}{GV\+\_\+\+TYPE\+\_\+\+SD}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00092}{GV\+\_\+\+TYPE\+\_\+\+VOL}}, \mbox{\hyperlink{geom__vinum__share_8c_source_l00314}{gv\+\_\+volstatei()}}, \mbox{\hyperlink{g__part__if_8m_source_l00225}{req}}, \mbox{\hyperlink{geom_8h_source_l00150}{g\+\_\+geom\+::softc}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00317}{gv\+\_\+plex\+::state}}, and \mbox{\hyperlink{geom__flashmap_8c_source_l00057}{type}}.



Referenced by \mbox{\hyperlink{geom__vinum_8c_source_l00452}{gv\+\_\+config()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_a4beae3e7bd2a2a77afbaa95bb88094ad_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=253pt]{d8/d61/geom__vinum__state_8c_a4beae3e7bd2a2a77afbaa95bb88094ad_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{geom__vinum__state_8c_ad6945700d37176c46ad81f34c0d25e67}\label{geom__vinum__state_8c_ad6945700d37176c46ad81f34c0d25e67}} 
\index{geom\_vinum\_state.c@{geom\_vinum\_state.c}!gv\_update\_plex\_state@{gv\_update\_plex\_state}}
\index{gv\_update\_plex\_state@{gv\_update\_plex\_state}!geom\_vinum\_state.c@{geom\_vinum\_state.c}}
\doxysubsubsection{\texorpdfstring{gv\_update\_plex\_state()}{gv\_update\_plex\_state()}}
{\footnotesize\ttfamily void gv\+\_\+update\+\_\+plex\+\_\+state (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgv__plex}{gv\+\_\+plex}} $\ast$}]{p }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{geom__vinum__state_8c_source_l00416}{416}} of file \mbox{\hyperlink{geom__vinum__state_8c_source}{geom\+\_\+vinum\+\_\+state.\+c}}.



References \mbox{\hyperlink{geom__vinum__var_8h_source_l00294}{gv\+\_\+sd\+::flags}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00338}{gv\+\_\+plex\+::flags}}, \mbox{\hyperlink{geom__vinum_8h_source_l00160}{G\+\_\+\+VINUM\+\_\+\+DEBUG}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00320}{GV\+\_\+\+PLEX\+\_\+\+DEGRADED}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00318}{GV\+\_\+\+PLEX\+\_\+\+DOWN}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00321}{GV\+\_\+\+PLEX\+\_\+\+GROWABLE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00328}{GV\+\_\+\+PLEX\+\_\+\+RAID5}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00342}{GV\+\_\+\+PLEX\+\_\+\+REBUILDING}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00340}{GV\+\_\+\+PLEX\+\_\+\+SYNCING}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00322}{GV\+\_\+\+PLEX\+\_\+\+UP}}, \mbox{\hyperlink{geom__vinum__share_8c_source_l00281}{gv\+\_\+plexstate()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00102}{GV\+\_\+\+SD\+\_\+\+DOWNSTATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00298}{GV\+\_\+\+SD\+\_\+\+GROW}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00104}{GV\+\_\+\+SD\+\_\+\+INITSTATE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00105}{GV\+\_\+\+SD\+\_\+\+UPSTATE}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00503}{gv\+\_\+sdstatemap()}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00471}{gv\+\_\+update\+\_\+vol\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00315}{gv\+\_\+plex\+::name}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00324}{gv\+\_\+plex\+::org}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00337}{gv\+\_\+plex\+::sddown}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00317}{gv\+\_\+plex\+::state}}, and \mbox{\hyperlink{geom__vinum__var_8h_source_l00333}{gv\+\_\+plex\+::vol\+\_\+sc}}.



Referenced by \mbox{\hyperlink{geom__vinum__state_8c_source_l00285}{gv\+\_\+set\+\_\+plex\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00157}{gv\+\_\+set\+\_\+sd\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__plex_8c_source_l00602}{gv\+\_\+sync\+\_\+complete()}}, and \mbox{\hyperlink{geom__vinum__state_8c_source_l00378}{gv\+\_\+update\+\_\+sd\+\_\+state()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_ad6945700d37176c46ad81f34c0d25e67_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_ad6945700d37176c46ad81f34c0d25e67_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{geom__vinum__state_8c_aa5552d786d1a63e63cbde767f73cd92b}\label{geom__vinum__state_8c_aa5552d786d1a63e63cbde767f73cd92b}} 
\index{geom\_vinum\_state.c@{geom\_vinum\_state.c}!gv\_update\_sd\_state@{gv\_update\_sd\_state}}
\index{gv\_update\_sd\_state@{gv\_update\_sd\_state}!geom\_vinum\_state.c@{geom\_vinum\_state.c}}
\doxysubsubsection{\texorpdfstring{gv\_update\_sd\_state()}{gv\_update\_sd\_state()}}
{\footnotesize\ttfamily void gv\+\_\+update\+\_\+sd\+\_\+state (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgv__sd}{gv\+\_\+sd}} $\ast$}]{s }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{geom__vinum__state_8c_source_l00378}{378}} of file \mbox{\hyperlink{geom__vinum__state_8c_source}{geom\+\_\+vinum\+\_\+state.\+c}}.



References \mbox{\hyperlink{geom__vinum__var_8h_source_l00303}{gv\+\_\+sd\+::drive\+\_\+sc}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00294}{gv\+\_\+sd\+::flags}}, \mbox{\hyperlink{geom__vinum_8h_source_l00160}{G\+\_\+\+VINUM\+\_\+\+DEBUG}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00253}{GV\+\_\+\+DRIVE\+\_\+\+UP}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00297}{GV\+\_\+\+SD\+\_\+\+CANGOUP}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00283}{GV\+\_\+\+SD\+\_\+\+DOWN}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00295}{GV\+\_\+\+SD\+\_\+\+NEWBORN}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00284}{GV\+\_\+\+SD\+\_\+\+STALE}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00287}{GV\+\_\+\+SD\+\_\+\+UP}}, \mbox{\hyperlink{geom__vinum__share_8c_source_l00245}{gv\+\_\+sdstate()}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00416}{gv\+\_\+update\+\_\+plex\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00278}{gv\+\_\+sd\+::name}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00304}{gv\+\_\+sd\+::plex\+\_\+sc}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00251}{gv\+\_\+drive\+::state}}, and \mbox{\hyperlink{geom__vinum__var_8h_source_l00282}{gv\+\_\+sd\+::state}}.



Referenced by \mbox{\hyperlink{geom__vinum__plex_8c_source_l00994}{gv\+\_\+rebuild\+\_\+complete()}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00125}{gv\+\_\+set\+\_\+drive\+\_\+state()}}, and \mbox{\hyperlink{geom__vinum__subr_8c_source_l01034}{gv\+\_\+setup\+\_\+objects()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_aa5552d786d1a63e63cbde767f73cd92b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/d61/geom__vinum__state_8c_aa5552d786d1a63e63cbde767f73cd92b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{geom__vinum__state_8c_a594b665b349eaa0dc8871172ad747c43}\label{geom__vinum__state_8c_a594b665b349eaa0dc8871172ad747c43}} 
\index{geom\_vinum\_state.c@{geom\_vinum\_state.c}!gv\_update\_vol\_state@{gv\_update\_vol\_state}}
\index{gv\_update\_vol\_state@{gv\_update\_vol\_state}!geom\_vinum\_state.c@{geom\_vinum\_state.c}}
\doxysubsubsection{\texorpdfstring{gv\_update\_vol\_state()}{gv\_update\_vol\_state()}}
{\footnotesize\ttfamily void gv\+\_\+update\+\_\+vol\+\_\+state (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structgv__volume}{gv\+\_\+volume}} $\ast$}]{v }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{geom__vinum__state_8c_source_l00471}{471}} of file \mbox{\hyperlink{geom__vinum__state_8c_source}{geom\+\_\+vinum\+\_\+state.\+c}}.



References \mbox{\hyperlink{geom__vinum__var_8h_source_l00320}{GV\+\_\+\+PLEX\+\_\+\+DEGRADED}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00328}{GV\+\_\+\+PLEX\+\_\+\+RAID5}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00370}{GV\+\_\+\+VOL\+\_\+\+DOWN}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00371}{GV\+\_\+\+VOL\+\_\+\+UP}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00324}{gv\+\_\+plex\+::org}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00368}{gv\+\_\+volume\+::plexcount}}, \mbox{\hyperlink{geom__vinum__var_8h_source_l00317}{gv\+\_\+plex\+::state}}, and \mbox{\hyperlink{geom__vinum__var_8h_source_l00369}{gv\+\_\+volume\+::state}}.



Referenced by \mbox{\hyperlink{geom__vinum__state_8c_source_l00285}{gv\+\_\+set\+\_\+plex\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__state_8c_source_l00340}{gv\+\_\+set\+\_\+vol\+\_\+state()}}, \mbox{\hyperlink{geom__vinum__subr_8c_source_l01034}{gv\+\_\+setup\+\_\+objects()}}, and \mbox{\hyperlink{geom__vinum__state_8c_source_l00416}{gv\+\_\+update\+\_\+plex\+\_\+state()}}.

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