\hypertarget{g__eli__privacy_8c}{}\doxysection{geom/eli/g\+\_\+eli\+\_\+privacy.c File Reference}
\label{g__eli__privacy_8c}\index{geom/eli/g\_eli\_privacy.c@{geom/eli/g\_eli\_privacy.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/linker.\+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/kthread.\+h$>$}\newline
{\ttfamily \#include $<$sys/proc.\+h$>$}\newline
{\ttfamily \#include $<$sys/sched.\+h$>$}\newline
{\ttfamily \#include $<$sys/smp.\+h$>$}\newline
{\ttfamily \#include $<$sys/vnode.\+h$>$}\newline
{\ttfamily \#include $<$vm/uma.\+h$>$}\newline
{\ttfamily \#include $<$geom/geom.\+h$>$}\newline
{\ttfamily \#include $<$geom/geom\+\_\+dbg.\+h$>$}\newline
{\ttfamily \#include $<$geom/eli/g\+\_\+eli.\+h$>$}\newline
{\ttfamily \#include $<$geom/eli/pkcs5v2.\+h$>$}\newline
Include dependency graph for g\+\_\+eli\+\_\+privacy.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{de/dde/g__eli__privacy_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{g__eli__privacy_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static void \mbox{\hyperlink{g__eli__privacy_8c_a12d04dd560a490a8673e9dde6d3c1e39}{g\+\_\+eli\+\_\+bio\+\_\+copyin}} (struct bio $\ast$\mbox{\hyperlink{g__raid__tr__if_8m_a09ac99485c68908acb7b8767e2b93e80}{bp}}, void $\ast$kaddr)
\item 
static int \mbox{\hyperlink{g__eli__privacy_8c_a4b525caf5da428b0843cc3dfb85ac32c}{g\+\_\+eli\+\_\+crypto\+\_\+read\+\_\+done}} (struct cryptop $\ast$crp)
\item 
static int \mbox{\hyperlink{g__eli__privacy_8c_ac9be89e41813c7fc725c8b14374d4f0d}{g\+\_\+eli\+\_\+crypto\+\_\+write\+\_\+done}} (struct cryptop $\ast$crp)
\item 
void \mbox{\hyperlink{g__eli__privacy_8c_a1123e9dfa9a2097f498b75477f1af88c}{g\+\_\+eli\+\_\+crypto\+\_\+read}} (struct \mbox{\hyperlink{structg__eli__softc}{g\+\_\+eli\+\_\+softc}} $\ast$sc, struct bio $\ast$\mbox{\hyperlink{g__raid__tr__if_8m_a09ac99485c68908acb7b8767e2b93e80}{bp}}, boolean\+\_\+t fromworker)
\item 
void \mbox{\hyperlink{g__eli__privacy_8c_aac374e76e8e4f30d0e3db0cadddb15cb}{g\+\_\+eli\+\_\+crypto\+\_\+run}} (struct \mbox{\hyperlink{structg__eli__worker}{g\+\_\+eli\+\_\+worker}} $\ast$wr, struct bio $\ast$\mbox{\hyperlink{g__raid__tr__if_8m_a09ac99485c68908acb7b8767e2b93e80}{bp}})
\end{DoxyCompactItemize}


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

\mbox{\Hypertarget{g__eli__privacy_8c_a12d04dd560a490a8673e9dde6d3c1e39}\label{g__eli__privacy_8c_a12d04dd560a490a8673e9dde6d3c1e39}} 
\index{g\_eli\_privacy.c@{g\_eli\_privacy.c}!g\_eli\_bio\_copyin@{g\_eli\_bio\_copyin}}
\index{g\_eli\_bio\_copyin@{g\_eli\_bio\_copyin}!g\_eli\_privacy.c@{g\_eli\_privacy.c}}
\doxysubsubsection{\texorpdfstring{g\_eli\_bio\_copyin()}{g\_eli\_bio\_copyin()}}
{\footnotesize\ttfamily static void g\+\_\+eli\+\_\+bio\+\_\+copyin (\begin{DoxyParamCaption}\item[{struct bio $\ast$}]{bp,  }\item[{void $\ast$}]{kaddr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__eli__privacy_8c_source_l00068}{68}} of file \mbox{\hyperlink{g__eli__privacy_8c_source}{g\+\_\+eli\+\_\+privacy.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00274}{bp}}.



Referenced by \mbox{\hyperlink{g__eli__privacy_8c_source_l00257}{g\+\_\+eli\+\_\+crypto\+\_\+run()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/d08/g__eli__privacy_8c_a12d04dd560a490a8673e9dde6d3c1e39_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__eli__privacy_8c_a1123e9dfa9a2097f498b75477f1af88c}\label{g__eli__privacy_8c_a1123e9dfa9a2097f498b75477f1af88c}} 
\index{g\_eli\_privacy.c@{g\_eli\_privacy.c}!g\_eli\_crypto\_read@{g\_eli\_crypto\_read}}
\index{g\_eli\_crypto\_read@{g\_eli\_crypto\_read}!g\_eli\_privacy.c@{g\_eli\_privacy.c}}
\doxysubsubsection{\texorpdfstring{g\_eli\_crypto\_read()}{g\_eli\_crypto\_read()}}
{\footnotesize\ttfamily void g\+\_\+eli\+\_\+crypto\+\_\+read (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structg__eli__softc}{g\+\_\+eli\+\_\+softc}} $\ast$}]{sc,  }\item[{struct bio $\ast$}]{bp,  }\item[{boolean\+\_\+t}]{fromworker }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{g__eli__privacy_8c_source_l00209}{209}} of file \mbox{\hyperlink{g__eli__privacy_8c_source}{g\+\_\+eli\+\_\+privacy.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00274}{bp}}, \mbox{\hyperlink{g__part__if_8m_source_l00233}{cp}}, \mbox{\hyperlink{g__eli_8h_source_l00167}{G\+\_\+\+ELI\+\_\+\+DEBUG}}, \mbox{\hyperlink{g__eli_8h_source_l00120}{G\+\_\+\+ELI\+\_\+\+FLAG\+\_\+\+SUSPEND}}, \mbox{\hyperlink{g__eli_8h_source_l00169}{G\+\_\+\+ELI\+\_\+\+LOGREQ}}, \mbox{\hyperlink{g__eli_8c_source_l00282}{g\+\_\+eli\+\_\+read\+\_\+done()}}, \mbox{\hyperlink{g__eli_8h_source_l00130}{G\+\_\+\+ELI\+\_\+\+SETWORKER}}, \mbox{\hyperlink{geom__io_8c_source_l00491}{g\+\_\+io\+\_\+request()}}, \mbox{\hyperlink{geom_8h_source_l00178}{g\+\_\+consumer\+::provider}}, \mbox{\hyperlink{g__eli_8h_source_l00207}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+flags}}, \mbox{\hyperlink{g__eli_8h_source_l00185}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+geom}}, \mbox{\hyperlink{g__eli_8h_source_l00208}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+inflight}}, \mbox{\hyperlink{g__eli_8h_source_l00220}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+queue}}, and \mbox{\hyperlink{g__eli_8h_source_l00221}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+queue\+\_\+mtx}}.



Referenced by \mbox{\hyperlink{g__eli_8c_source_l00454}{g\+\_\+eli\+\_\+start()}}, and \mbox{\hyperlink{g__eli_8c_source_l00655}{g\+\_\+eli\+\_\+worker()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/d08/g__eli__privacy_8c_a1123e9dfa9a2097f498b75477f1af88c_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/d08/g__eli__privacy_8c_a1123e9dfa9a2097f498b75477f1af88c_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__eli__privacy_8c_a4b525caf5da428b0843cc3dfb85ac32c}\label{g__eli__privacy_8c_a4b525caf5da428b0843cc3dfb85ac32c}} 
\index{g\_eli\_privacy.c@{g\_eli\_privacy.c}!g\_eli\_crypto\_read\_done@{g\_eli\_crypto\_read\_done}}
\index{g\_eli\_crypto\_read\_done@{g\_eli\_crypto\_read\_done}!g\_eli\_privacy.c@{g\_eli\_privacy.c}}
\doxysubsubsection{\texorpdfstring{g\_eli\_crypto\_read\_done()}{g\_eli\_crypto\_read\_done()}}
{\footnotesize\ttfamily static int g\+\_\+eli\+\_\+crypto\+\_\+read\+\_\+done (\begin{DoxyParamCaption}\item[{struct cryptop $\ast$}]{crp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__eli__privacy_8c_source_l00090}{90}} of file \mbox{\hyperlink{g__eli__privacy_8c_source}{g\+\_\+eli\+\_\+privacy.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00274}{bp}}, \mbox{\hyperlink{g__eli_8c_source_l00238}{g\+\_\+eli\+\_\+crypto\+\_\+rerun()}}, \mbox{\hyperlink{g__eli_8h_source_l00167}{G\+\_\+\+ELI\+\_\+\+DEBUG}}, \mbox{\hyperlink{g__eli__key__cache_8c_source_l00364}{g\+\_\+eli\+\_\+key\+\_\+drop()}}, \mbox{\hyperlink{g__eli_8h_source_l00169}{G\+\_\+\+ELI\+\_\+\+LOGREQ}}, \mbox{\hyperlink{geom__io_8c_source_l00600}{g\+\_\+io\+\_\+deliver()}}, and \mbox{\hyperlink{g__eli_8h_source_l00208}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+inflight}}.



Referenced by \mbox{\hyperlink{g__eli__privacy_8c_source_l00257}{g\+\_\+eli\+\_\+crypto\+\_\+run()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/d08/g__eli__privacy_8c_a4b525caf5da428b0843cc3dfb85ac32c_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/d08/g__eli__privacy_8c_a4b525caf5da428b0843cc3dfb85ac32c_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__eli__privacy_8c_aac374e76e8e4f30d0e3db0cadddb15cb}\label{g__eli__privacy_8c_aac374e76e8e4f30d0e3db0cadddb15cb}} 
\index{g\_eli\_privacy.c@{g\_eli\_privacy.c}!g\_eli\_crypto\_run@{g\_eli\_crypto\_run}}
\index{g\_eli\_crypto\_run@{g\_eli\_crypto\_run}!g\_eli\_privacy.c@{g\_eli\_privacy.c}}
\doxysubsubsection{\texorpdfstring{g\_eli\_crypto\_run()}{g\_eli\_crypto\_run()}}
{\footnotesize\ttfamily void g\+\_\+eli\+\_\+crypto\+\_\+run (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structg__eli__worker}{g\+\_\+eli\+\_\+worker}} $\ast$}]{wr,  }\item[{struct bio $\ast$}]{bp }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{g__eli__privacy_8c_source_l00257}{257}} of file \mbox{\hyperlink{g__eli__privacy_8c_source}{g\+\_\+eli\+\_\+privacy.\+c}}.



References \mbox{\hyperlink{g__bde_8h_source_l00062}{\+\_\+\+\_\+diagused}}, \mbox{\hyperlink{g__part__if_8m_source_l00274}{bp}}, \mbox{\hyperlink{g__part__if_8m_source_l00180}{data}}, \mbox{\hyperlink{geom__io_8c_source_l00176}{g\+\_\+destroy\+\_\+bio()}}, \mbox{\hyperlink{g__eli_8c_source_l00950}{g\+\_\+eli\+\_\+alloc\+\_\+data()}}, \mbox{\hyperlink{g__eli_8c_source_l00092}{g\+\_\+eli\+\_\+batch}}, \mbox{\hyperlink{g__eli__privacy_8c_source_l00068}{g\+\_\+eli\+\_\+bio\+\_\+copyin()}}, \mbox{\hyperlink{g__eli__hmac_8c_source_l00127}{g\+\_\+eli\+\_\+crypto\+\_\+ivgen()}}, \mbox{\hyperlink{g__eli__privacy_8c_source_l00090}{g\+\_\+eli\+\_\+crypto\+\_\+read\+\_\+done()}}, \mbox{\hyperlink{g__eli__privacy_8c_source_l00141}{g\+\_\+eli\+\_\+crypto\+\_\+write\+\_\+done()}}, \mbox{\hyperlink{g__eli_8h_source_l00118}{G\+\_\+\+ELI\+\_\+\+FLAG\+\_\+\+SINGLE\+\_\+\+KEY}}, \mbox{\hyperlink{g__eli_8h_source_l00591}{g\+\_\+eli\+\_\+ivlen()}}, \mbox{\hyperlink{g__eli__key__cache_8c_source_l00305}{g\+\_\+eli\+\_\+key\+\_\+hold()}}, \mbox{\hyperlink{g__eli_8h_source_l00169}{G\+\_\+\+ELI\+\_\+\+LOGREQ}}, \mbox{\hyperlink{g__eli_8h_source_l00130}{G\+\_\+\+ELI\+\_\+\+SETWORKER}}, \mbox{\hyperlink{geom__io_8c_source_l00600}{g\+\_\+io\+\_\+deliver()}}, \mbox{\hyperlink{g__eli_8h_source_l00197}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+ealgo}}, \mbox{\hyperlink{g__eli_8h_source_l00207}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+flags}}, \mbox{\hyperlink{g__eli_8h_source_l00185}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+geom}}, \mbox{\hyperlink{g__eli_8h_source_l00208}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+inflight}}, \mbox{\hyperlink{g__eli_8h_source_l00176}{g\+\_\+eli\+\_\+worker\+::w\+\_\+number}}, \mbox{\hyperlink{g__eli_8h_source_l00177}{g\+\_\+eli\+\_\+worker\+::w\+\_\+sid}}, and \mbox{\hyperlink{g__eli_8h_source_l00173}{g\+\_\+eli\+\_\+worker\+::w\+\_\+softc}}.



Referenced by \mbox{\hyperlink{g__eli_8c_source_l00655}{g\+\_\+eli\+\_\+worker()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/d08/g__eli__privacy_8c_aac374e76e8e4f30d0e3db0cadddb15cb_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=291pt]{df/d08/g__eli__privacy_8c_aac374e76e8e4f30d0e3db0cadddb15cb_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{g__eli__privacy_8c_ac9be89e41813c7fc725c8b14374d4f0d}\label{g__eli__privacy_8c_ac9be89e41813c7fc725c8b14374d4f0d}} 
\index{g\_eli\_privacy.c@{g\_eli\_privacy.c}!g\_eli\_crypto\_write\_done@{g\_eli\_crypto\_write\_done}}
\index{g\_eli\_crypto\_write\_done@{g\_eli\_crypto\_write\_done}!g\_eli\_privacy.c@{g\_eli\_privacy.c}}
\doxysubsubsection{\texorpdfstring{g\_eli\_crypto\_write\_done()}{g\_eli\_crypto\_write\_done()}}
{\footnotesize\ttfamily static int g\+\_\+eli\+\_\+crypto\+\_\+write\+\_\+done (\begin{DoxyParamCaption}\item[{struct cryptop $\ast$}]{crp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{g__eli__privacy_8c_source_l00141}{141}} of file \mbox{\hyperlink{g__eli__privacy_8c_source}{g\+\_\+eli\+\_\+privacy.\+c}}.



References \mbox{\hyperlink{g__part__if_8m_source_l00274}{bp}}, \mbox{\hyperlink{g__part__if_8m_source_l00233}{cp}}, \mbox{\hyperlink{geom__io_8c_source_l00176}{g\+\_\+destroy\+\_\+bio()}}, \mbox{\hyperlink{g__eli_8c_source_l00238}{g\+\_\+eli\+\_\+crypto\+\_\+rerun()}}, \mbox{\hyperlink{g__eli_8h_source_l00167}{G\+\_\+\+ELI\+\_\+\+DEBUG}}, \mbox{\hyperlink{g__eli_8c_source_l00981}{g\+\_\+eli\+\_\+free\+\_\+data()}}, \mbox{\hyperlink{g__eli__key__cache_8c_source_l00364}{g\+\_\+eli\+\_\+key\+\_\+drop()}}, \mbox{\hyperlink{g__eli_8h_source_l00169}{G\+\_\+\+ELI\+\_\+\+LOGREQ}}, \mbox{\hyperlink{g__eli_8c_source_l00321}{g\+\_\+eli\+\_\+write\+\_\+done()}}, \mbox{\hyperlink{geom__io_8c_source_l00600}{g\+\_\+io\+\_\+deliver()}}, \mbox{\hyperlink{geom__io_8c_source_l00491}{g\+\_\+io\+\_\+request()}}, \mbox{\hyperlink{g__part__if_8m_source_l00195}{gp}}, \mbox{\hyperlink{geom_8h_source_l00178}{g\+\_\+consumer\+::provider}}, \mbox{\hyperlink{g__eli_8h_source_l00208}{g\+\_\+eli\+\_\+softc\+::sc\+\_\+inflight}}, and \mbox{\hyperlink{geom_8h_source_l00150}{g\+\_\+geom\+::softc}}.



Referenced by \mbox{\hyperlink{g__eli__privacy_8c_source_l00257}{g\+\_\+eli\+\_\+crypto\+\_\+run()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/d08/g__eli__privacy_8c_ac9be89e41813c7fc725c8b14374d4f0d_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/d08/g__eli__privacy_8c_ac9be89e41813c7fc725c8b14374d4f0d_icgraph}
\end{center}
\end{figure}
