\hypertarget{mpool__rdma_8h}{\section{ompi/mca/mpool/rdma/mpool\+\_\+rdma.h File Reference}
\label{mpool__rdma_8h}\index{ompi/mca/mpool/rdma/mpool\+\_\+rdma.\+h@{ompi/mca/mpool/rdma/mpool\+\_\+rdma.\+h}}
}
{\ttfamily \#include \char`\"{}ompi\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/class/opal\+\_\+list.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}ompi/class/ompi\+\_\+free\+\_\+list.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/event/event.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}ompi/mca/mpool/mpool.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structmca__mpool__rdma__component__t}{mca\+\_\+mpool\+\_\+rdma\+\_\+component\+\_\+t}
\item 
struct \hyperlink{structmca__mpool__base__resources__t}{mca\+\_\+mpool\+\_\+base\+\_\+resources\+\_\+t}
\item 
struct \hyperlink{structmca__mpool__rdma__module__t}{mca\+\_\+mpool\+\_\+rdma\+\_\+module\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{mpool__rdma_8h_a073254f20483a198ef9f72222f7af595}{typedef struct \\*
\hyperlink{structmca__mpool__rdma__component__t}{mca\+\_\+mpool\+\_\+rdma\+\_\+component\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+rdma\+\_\+component\+\_\+t}}\label{mpool__rdma_8h_a073254f20483a198ef9f72222f7af595}

\item 
\hypertarget{mpool__rdma_8h_ac6116af4c78b7e936612272bd2fbe91e}{typedef struct \\*
\hyperlink{structmca__mpool__base__resources__t}{mca\+\_\+mpool\+\_\+base\+\_\+resources\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+resources\+\_\+t}}\label{mpool__rdma_8h_ac6116af4c78b7e936612272bd2fbe91e}

\item 
\hypertarget{mpool__rdma_8h_af42d584917efd025b7c5d44127bcc6f5}{typedef struct \\*
\hyperlink{structmca__mpool__rdma__module__t}{mca\+\_\+mpool\+\_\+rdma\+\_\+module\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+rdma\+\_\+module\+\_\+t}}\label{mpool__rdma_8h_af42d584917efd025b7c5d44127bcc6f5}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{mpool__rdma_8h_adb76393e949f1d44fce9316978dead79}{void {\bfseries mca\+\_\+mpool\+\_\+rdma\+\_\+module\+\_\+init} (\hyperlink{structmca__mpool__rdma__module__t}{mca\+\_\+mpool\+\_\+rdma\+\_\+module\+\_\+t} $\ast$mpool)}\label{mpool__rdma_8h_adb76393e949f1d44fce9316978dead79}

\item 
\hypertarget{mpool__rdma_8h_a5085d6b1581c326fb7a7525f47f9dae2}{void $\ast$ {\bfseries mca\+\_\+mpool\+\_\+rdma\+\_\+base} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool)}\label{mpool__rdma_8h_a5085d6b1581c326fb7a7525f47f9dae2}

\item 
void $\ast$ \hyperlink{mpool__rdma_8h_a91984dccc56c096a7e3b4a87ab6aaf51}{mca\+\_\+mpool\+\_\+rdma\+\_\+alloc} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, size\+\_\+t size, size\+\_\+t align, uint32\+\_\+t flags, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$$\ast$registration)
\begin{DoxyCompactList}\small\item\em Allocate block of registered memory. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{mpool__rdma_8h_a7018786514a7d04839153855657cf994}{mca\+\_\+mpool\+\_\+rdma\+\_\+realloc} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, void $\ast$addr, size\+\_\+t size, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$$\ast$registration)
\begin{DoxyCompactList}\small\item\em realloc block of registered memory \end{DoxyCompactList}\item 
\hypertarget{mpool__rdma_8h_a372cdd8942a7bdf68fd35ee3fbf0e354}{int \hyperlink{mpool__rdma_8h_a372cdd8942a7bdf68fd35ee3fbf0e354}{mca\+\_\+mpool\+\_\+rdma\+\_\+register} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, void $\ast$addr, size\+\_\+t size, uint32\+\_\+t flags, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$$\ast$reg)}\label{mpool__rdma_8h_a372cdd8942a7bdf68fd35ee3fbf0e354}

\begin{DoxyCompactList}\small\item\em register block of memory \end{DoxyCompactList}\item 
\hypertarget{mpool__rdma_8h_add8c5746f6f4fb4f137784898a377154}{int \hyperlink{mpool__rdma_8h_add8c5746f6f4fb4f137784898a377154}{mca\+\_\+mpool\+\_\+rdma\+\_\+deregister} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$reg)}\label{mpool__rdma_8h_add8c5746f6f4fb4f137784898a377154}

\begin{DoxyCompactList}\small\item\em deregister memory \end{DoxyCompactList}\item 
void \hyperlink{mpool__rdma_8h_a9da1dae2b65c56b30e8843d06181dced}{mca\+\_\+mpool\+\_\+rdma\+\_\+free} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, void $\ast$addr, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$reg)
\begin{DoxyCompactList}\small\item\em free memory allocated by alloc function \end{DoxyCompactList}\item 
\hypertarget{mpool__rdma_8h_af513302410b701d99cb9e9418e6231f8}{int \hyperlink{mpool__rdma_8h_af513302410b701d99cb9e9418e6231f8}{mca\+\_\+mpool\+\_\+rdma\+\_\+find} (struct \hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, void $\ast$addr, size\+\_\+t size, \hyperlink{structmca__mpool__base__registration__t}{mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$$\ast$reg)}\label{mpool__rdma_8h_af513302410b701d99cb9e9418e6231f8}

\begin{DoxyCompactList}\small\item\em find registration for a given block of memory \end{DoxyCompactList}\item 
\hypertarget{mpool__rdma_8h_a9906e3295a27d834d1dee32332a52c12}{int \hyperlink{mpool__rdma_8h_a9906e3295a27d834d1dee32332a52c12}{mca\+\_\+mpool\+\_\+rdma\+\_\+release\+\_\+memory} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool, void $\ast$base, size\+\_\+t size)}\label{mpool__rdma_8h_a9906e3295a27d834d1dee32332a52c12}

\begin{DoxyCompactList}\small\item\em unregister all registration covering the block of memory \end{DoxyCompactList}\item 
\hypertarget{mpool__rdma_8h_a57ad9f4d171acbe9f6843d1015b12d4c}{void \hyperlink{mpool__rdma_8h_a57ad9f4d171acbe9f6843d1015b12d4c}{mca\+\_\+mpool\+\_\+rdma\+\_\+finalize} (struct \hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$mpool)}\label{mpool__rdma_8h_a57ad9f4d171acbe9f6843d1015b12d4c}

\begin{DoxyCompactList}\small\item\em finalize mpool \end{DoxyCompactList}\item 
int \hyperlink{mpool__rdma_8h_a9fa8805ef5eda9349844f9b9db610743}{mca\+\_\+mpool\+\_\+rdma\+\_\+ft\+\_\+event} (int state)
\begin{DoxyCompactList}\small\item\em Fault Tolerance Event Notification \hyperlink{structFunction}{Function}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{mpool__rdma_8h_af4ccd0d565a11c3355a5934d2ee4ce1c}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \\*
\hyperlink{structmca__mpool__rdma__component__t}{mca\+\_\+mpool\+\_\+rdma\+\_\+component\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+rdma\+\_\+component}}\label{mpool__rdma_8h_af4ccd0d565a11c3355a5934d2ee4ce1c}

\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{mpool__rdma_8h_a91984dccc56c096a7e3b4a87ab6aaf51}{\index{mpool\+\_\+rdma.\+h@{mpool\+\_\+rdma.\+h}!mca\+\_\+mpool\+\_\+rdma\+\_\+alloc@{mca\+\_\+mpool\+\_\+rdma\+\_\+alloc}}
\index{mca\+\_\+mpool\+\_\+rdma\+\_\+alloc@{mca\+\_\+mpool\+\_\+rdma\+\_\+alloc}!mpool\+\_\+rdma.\+h@{mpool\+\_\+rdma.\+h}}
\subsubsection[{mca\+\_\+mpool\+\_\+rdma\+\_\+alloc}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ mca\+\_\+mpool\+\_\+rdma\+\_\+alloc (
\begin{DoxyParamCaption}
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$}]{mpool, }
\item[{size\+\_\+t}]{size, }
\item[{size\+\_\+t}]{align, }
\item[{uint32\+\_\+t}]{flags, }
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$$\ast$}]{reg}
\end{DoxyParamCaption}
)}}\label{mpool__rdma_8h_a91984dccc56c096a7e3b4a87ab6aaf51}


Allocate block of registered memory. 

Allocate block of registered memory. 

References mca\+\_\+mpool\+\_\+rdma\+\_\+register().



Referenced by mca\+\_\+mpool\+\_\+rdma\+\_\+realloc().

\hypertarget{mpool__rdma_8h_a9da1dae2b65c56b30e8843d06181dced}{\index{mpool\+\_\+rdma.\+h@{mpool\+\_\+rdma.\+h}!mca\+\_\+mpool\+\_\+rdma\+\_\+free@{mca\+\_\+mpool\+\_\+rdma\+\_\+free}}
\index{mca\+\_\+mpool\+\_\+rdma\+\_\+free@{mca\+\_\+mpool\+\_\+rdma\+\_\+free}!mpool\+\_\+rdma.\+h@{mpool\+\_\+rdma.\+h}}
\subsubsection[{mca\+\_\+mpool\+\_\+rdma\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}void mca\+\_\+mpool\+\_\+rdma\+\_\+free (
\begin{DoxyParamCaption}
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$}]{mpool, }
\item[{void $\ast$}]{addr, }
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$}]{registration}
\end{DoxyParamCaption}
)}}\label{mpool__rdma_8h_a9da1dae2b65c56b30e8843d06181dced}


free memory allocated by alloc function 

free memory allocated by alloc function 

References mca\+\_\+mpool\+\_\+rdma\+\_\+deregister().



Referenced by mca\+\_\+mpool\+\_\+rdma\+\_\+realloc().

\hypertarget{mpool__rdma_8h_a9fa8805ef5eda9349844f9b9db610743}{\index{mpool\+\_\+rdma.\+h@{mpool\+\_\+rdma.\+h}!mca\+\_\+mpool\+\_\+rdma\+\_\+ft\+\_\+event@{mca\+\_\+mpool\+\_\+rdma\+\_\+ft\+\_\+event}}
\index{mca\+\_\+mpool\+\_\+rdma\+\_\+ft\+\_\+event@{mca\+\_\+mpool\+\_\+rdma\+\_\+ft\+\_\+event}!mpool\+\_\+rdma.\+h@{mpool\+\_\+rdma.\+h}}
\subsubsection[{mca\+\_\+mpool\+\_\+rdma\+\_\+ft\+\_\+event}]{\setlength{\rightskip}{0pt plus 5cm}int mca\+\_\+mpool\+\_\+rdma\+\_\+ft\+\_\+event (
\begin{DoxyParamCaption}
\item[{int}]{state}
\end{DoxyParamCaption}
)}}\label{mpool__rdma_8h_a9fa8805ef5eda9349844f9b9db610743}


Fault Tolerance Event Notification \hyperlink{structFunction}{Function}. 


\begin{DoxyParams}{Parameters}
{\em state} & Checkpoint Stae \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+M\+P\+I\+\_\+\+S\+U\+C\+C\+E\+S\+S or failure status 
\end{DoxyReturn}
\hypertarget{mpool__rdma_8h_a7018786514a7d04839153855657cf994}{\index{mpool\+\_\+rdma.\+h@{mpool\+\_\+rdma.\+h}!mca\+\_\+mpool\+\_\+rdma\+\_\+realloc@{mca\+\_\+mpool\+\_\+rdma\+\_\+realloc}}
\index{mca\+\_\+mpool\+\_\+rdma\+\_\+realloc@{mca\+\_\+mpool\+\_\+rdma\+\_\+realloc}!mpool\+\_\+rdma.\+h@{mpool\+\_\+rdma.\+h}}
\subsubsection[{mca\+\_\+mpool\+\_\+rdma\+\_\+realloc}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ mca\+\_\+mpool\+\_\+rdma\+\_\+realloc (
\begin{DoxyParamCaption}
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$}]{mpool, }
\item[{void $\ast$}]{addr, }
\item[{size\+\_\+t}]{size, }
\item[{{\bf mca\+\_\+mpool\+\_\+base\+\_\+registration\+\_\+t} $\ast$$\ast$}]{reg}
\end{DoxyParamCaption}
)}}\label{mpool__rdma_8h_a7018786514a7d04839153855657cf994}


realloc block of registered memory 

realloc block of registered memory 

References mca\+\_\+mpool\+\_\+rdma\+\_\+alloc(), and mca\+\_\+mpool\+\_\+rdma\+\_\+free().

