\hypertarget{mlx5__ib__mem_8c}{}\doxysection{dev/mlx5/mlx5\+\_\+ib/mlx5\+\_\+ib\+\_\+mem.c File Reference}
\label{mlx5__ib__mem_8c}\index{dev/mlx5/mlx5\_ib/mlx5\_ib\_mem.c@{dev/mlx5/mlx5\_ib/mlx5\_ib\_mem.c}}
{\ttfamily \#include \char`\"{}opt\+\_\+rss.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}opt\+\_\+ratelimit.\+h\char`\"{}}\newline
{\ttfamily \#include $<$linux/module.\+h$>$}\newline
{\ttfamily \#include $<$rdma/ib\+\_\+umem.\+h$>$}\newline
{\ttfamily \#include $<$rdma/ib\+\_\+umem\+\_\+odp.\+h$>$}\newline
{\ttfamily \#include $<$dev/mlx5/mlx5\+\_\+ib/mlx5\+\_\+ib.\+h$>$}\newline
Include dependency graph for mlx5\+\_\+ib\+\_\+mem.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dbd/mlx5__ib__mem_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{mlx5__ib__mem_8c_a078af05e9a50b56546252df6754917b9}{mlx5\+\_\+ib\+\_\+cont\+\_\+pages}} (struct ib\+\_\+umem $\ast$umem, u64 addr, unsigned long max\+\_\+page\+\_\+shift, int $\ast$count, int $\ast$shift, int $\ast$ncont, int $\ast$order)
\item 
void \mbox{\hyperlink{mlx5__ib__mem_8c_afbe5e36aecf0ca4446f6f7fadc61cc9e}{\+\_\+\+\_\+mlx5\+\_\+ib\+\_\+populate\+\_\+pas}} (struct \mbox{\hyperlink{structmlx5__ib__dev}{mlx5\+\_\+ib\+\_\+dev}} $\ast$dev, struct ib\+\_\+umem $\ast$umem, int page\+\_\+shift, size\+\_\+t offset, size\+\_\+t num\+\_\+pages, \+\_\+\+\_\+be64 $\ast$pas, int access\+\_\+flags)
\item 
void \mbox{\hyperlink{mlx5__ib__mem_8c_aa632996b34ed7613321620a079856f8e}{mlx5\+\_\+ib\+\_\+populate\+\_\+pas}} (struct \mbox{\hyperlink{structmlx5__ib__dev}{mlx5\+\_\+ib\+\_\+dev}} $\ast$dev, struct ib\+\_\+umem $\ast$umem, int page\+\_\+shift, \+\_\+\+\_\+be64 $\ast$pas, int access\+\_\+flags)
\item 
int \mbox{\hyperlink{mlx5__ib__mem_8c_a9b17666205e6b30a0ebe8ce4850861e6}{mlx5\+\_\+ib\+\_\+get\+\_\+buf\+\_\+offset}} (u64 addr, int page\+\_\+shift, u32 $\ast$offset)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{mlx5__ib__mem_8c_afbe5e36aecf0ca4446f6f7fadc61cc9e}\label{mlx5__ib__mem_8c_afbe5e36aecf0ca4446f6f7fadc61cc9e}} 
\index{mlx5\_ib\_mem.c@{mlx5\_ib\_mem.c}!\_\_mlx5\_ib\_populate\_pas@{\_\_mlx5\_ib\_populate\_pas}}
\index{\_\_mlx5\_ib\_populate\_pas@{\_\_mlx5\_ib\_populate\_pas}!mlx5\_ib\_mem.c@{mlx5\_ib\_mem.c}}
\doxysubsubsection{\texorpdfstring{\_\_mlx5\_ib\_populate\_pas()}{\_\_mlx5\_ib\_populate\_pas()}}
{\footnotesize\ttfamily void \+\_\+\+\_\+mlx5\+\_\+ib\+\_\+populate\+\_\+pas (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmlx5__ib__dev}{mlx5\+\_\+ib\+\_\+dev}} $\ast$}]{dev,  }\item[{struct ib\+\_\+umem $\ast$}]{umem,  }\item[{int}]{page\+\_\+shift,  }\item[{size\+\_\+t}]{offset,  }\item[{size\+\_\+t}]{num\+\_\+pages,  }\item[{\+\_\+\+\_\+be64 $\ast$}]{pas,  }\item[{int}]{access\+\_\+flags }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__ib__mem_8c_source_l00128}{128}} of file \mbox{\hyperlink{mlx5__ib__mem_8c_source}{mlx5\+\_\+ib\+\_\+mem.\+c}}.



References \mbox{\hyperlink{mlx5__ib_8h_source_l00047}{mlx5\+\_\+ib\+\_\+dbg}}, \mbox{\hyperlink{mlx5__ib_8h_source_l00522}{MLX5\+\_\+\+IB\+\_\+\+MTT\+\_\+\+READ}}, and \mbox{\hyperlink{mlx5__ib_8h_source_l00523}{MLX5\+\_\+\+IB\+\_\+\+MTT\+\_\+\+WRITE}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mem_8c_source_l00177}{mlx5\+\_\+ib\+\_\+populate\+\_\+pas()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d61/mlx5__ib__mem_8c_afbe5e36aecf0ca4446f6f7fadc61cc9e_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mlx5__ib__mem_8c_a078af05e9a50b56546252df6754917b9}\label{mlx5__ib__mem_8c_a078af05e9a50b56546252df6754917b9}} 
\index{mlx5\_ib\_mem.c@{mlx5\_ib\_mem.c}!mlx5\_ib\_cont\_pages@{mlx5\_ib\_cont\_pages}}
\index{mlx5\_ib\_cont\_pages@{mlx5\_ib\_cont\_pages}!mlx5\_ib\_mem.c@{mlx5\_ib\_mem.c}}
\doxysubsubsection{\texorpdfstring{mlx5\_ib\_cont\_pages()}{mlx5\_ib\_cont\_pages()}}
{\footnotesize\ttfamily void mlx5\+\_\+ib\+\_\+cont\+\_\+pages (\begin{DoxyParamCaption}\item[{struct ib\+\_\+umem $\ast$}]{umem,  }\item[{u64}]{addr,  }\item[{unsigned long}]{max\+\_\+page\+\_\+shift,  }\item[{int $\ast$}]{count,  }\item[{int $\ast$}]{shift,  }\item[{int $\ast$}]{ncont,  }\item[{int $\ast$}]{order }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__ib__mem_8c_source_l00044}{44}} of file \mbox{\hyperlink{mlx5__ib__mem_8c_source}{mlx5\+\_\+ib\+\_\+mem.\+c}}.



Referenced by \mbox{\hyperlink{mlx5__ib__cq_8c_source_l00747}{create\+\_\+cq\+\_\+user()}}, \mbox{\hyperlink{mlx5__ib__srq_8c_source_l00071}{create\+\_\+srq\+\_\+user()}}, \mbox{\hyperlink{mlx5__ib__qp_8c_source_l00700}{create\+\_\+user\+\_\+rq()}}, \mbox{\hyperlink{mlx5__ib__devx_8c_source_l02088}{devx\+\_\+umem\+\_\+get()}}, \mbox{\hyperlink{mlx5__ib__qp_8c_source_l00651}{mlx5\+\_\+ib\+\_\+umem\+\_\+get()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00626}{mr\+\_\+umem\+\_\+get()}}, and \mbox{\hyperlink{mlx5__ib__cq_8c_source_l01114}{resize\+\_\+user()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d61/mlx5__ib__mem_8c_a078af05e9a50b56546252df6754917b9_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mlx5__ib__mem_8c_a9b17666205e6b30a0ebe8ce4850861e6}\label{mlx5__ib__mem_8c_a9b17666205e6b30a0ebe8ce4850861e6}} 
\index{mlx5\_ib\_mem.c@{mlx5\_ib\_mem.c}!mlx5\_ib\_get\_buf\_offset@{mlx5\_ib\_get\_buf\_offset}}
\index{mlx5\_ib\_get\_buf\_offset@{mlx5\_ib\_get\_buf\_offset}!mlx5\_ib\_mem.c@{mlx5\_ib\_mem.c}}
\doxysubsubsection{\texorpdfstring{mlx5\_ib\_get\_buf\_offset()}{mlx5\_ib\_get\_buf\_offset()}}
{\footnotesize\ttfamily int mlx5\+\_\+ib\+\_\+get\+\_\+buf\+\_\+offset (\begin{DoxyParamCaption}\item[{u64}]{addr,  }\item[{int}]{page\+\_\+shift,  }\item[{u32 $\ast$}]{offset }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__ib__mem_8c_source_l00184}{184}} of file \mbox{\hyperlink{mlx5__ib__mem_8c_source}{mlx5\+\_\+ib\+\_\+mem.\+c}}.



Referenced by \mbox{\hyperlink{mlx5__ib__srq_8c_source_l00071}{create\+\_\+srq\+\_\+user()}}, \mbox{\hyperlink{mlx5__ib__qp_8c_source_l00700}{create\+\_\+user\+\_\+rq()}}, and \mbox{\hyperlink{mlx5__ib__qp_8c_source_l00651}{mlx5\+\_\+ib\+\_\+umem\+\_\+get()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d61/mlx5__ib__mem_8c_a9b17666205e6b30a0ebe8ce4850861e6_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mlx5__ib__mem_8c_aa632996b34ed7613321620a079856f8e}\label{mlx5__ib__mem_8c_aa632996b34ed7613321620a079856f8e}} 
\index{mlx5\_ib\_mem.c@{mlx5\_ib\_mem.c}!mlx5\_ib\_populate\_pas@{mlx5\_ib\_populate\_pas}}
\index{mlx5\_ib\_populate\_pas@{mlx5\_ib\_populate\_pas}!mlx5\_ib\_mem.c@{mlx5\_ib\_mem.c}}
\doxysubsubsection{\texorpdfstring{mlx5\_ib\_populate\_pas()}{mlx5\_ib\_populate\_pas()}}
{\footnotesize\ttfamily void mlx5\+\_\+ib\+\_\+populate\+\_\+pas (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmlx5__ib__dev}{mlx5\+\_\+ib\+\_\+dev}} $\ast$}]{dev,  }\item[{struct ib\+\_\+umem $\ast$}]{umem,  }\item[{int}]{page\+\_\+shift,  }\item[{\+\_\+\+\_\+be64 $\ast$}]{pas,  }\item[{int}]{access\+\_\+flags }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__ib__mem_8c_source_l00177}{177}} of file \mbox{\hyperlink{mlx5__ib__mem_8c_source}{mlx5\+\_\+ib\+\_\+mem.\+c}}.



References \mbox{\hyperlink{mlx5__ib__mem_8c_source_l00128}{\+\_\+\+\_\+mlx5\+\_\+ib\+\_\+populate\+\_\+pas()}}.



Referenced by \mbox{\hyperlink{mlx5__ib__cq_8c_source_l00747}{create\+\_\+cq\+\_\+user()}}, \mbox{\hyperlink{mlx5__ib__qp_8c_source_l01081}{create\+\_\+raw\+\_\+packet\+\_\+qp\+\_\+sq()}}, \mbox{\hyperlink{mlx5__ib__qp_8c_source_l04702}{create\+\_\+rq()}}, \mbox{\hyperlink{mlx5__ib__srq_8c_source_l00071}{create\+\_\+srq\+\_\+user()}}, \mbox{\hyperlink{mlx5__ib__qp_8c_source_l00762}{create\+\_\+user\+\_\+qp()}}, \mbox{\hyperlink{mlx5__ib__devx_8c_source_l02144}{devx\+\_\+umem\+\_\+reg\+\_\+cmd\+\_\+build()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00548}{dma\+\_\+map\+\_\+mr\+\_\+pas()}}, \mbox{\hyperlink{mlx5__ib__cq_8c_source_l01241}{mlx5\+\_\+ib\+\_\+resize\+\_\+cq()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00872}{reg\+\_\+create()}}.

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