\hypertarget{structmlx5__cache__ent}{}\doxysection{mlx5\+\_\+cache\+\_\+ent Struct Reference}
\label{structmlx5__cache__ent}\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}}


{\ttfamily \#include $<$mlx5\+\_\+ib.\+h$>$}



Collaboration diagram for mlx5\+\_\+cache\+\_\+ent\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{de/d31/structmlx5__cache__ent__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
struct list\+\_\+head \mbox{\hyperlink{structmlx5__cache__ent_a53daca9ba0ddf10da1a2a45ce9aa8961}{head}}
\item 
spinlock\+\_\+t \mbox{\hyperlink{structmlx5__cache__ent_af356c69015af6f7501976c3e245756d7}{lock}}
\item 
struct dentry $\ast$ \mbox{\hyperlink{structmlx5__cache__ent_ac9b2b34afa8256d4a704983ed5096976}{dir}}
\item 
char \mbox{\hyperlink{structmlx5__cache__ent_a740f25593747c419090866c20268dc2c}{name}} \mbox{[}4\mbox{]}
\item 
u32 \mbox{\hyperlink{structmlx5__cache__ent_ab0549a2e8eb9791c01405acee2c96764}{order}}
\item 
u32 \mbox{\hyperlink{structmlx5__cache__ent_a3a645df8fe0c9abd9ccda55cb82bf7e2}{size}}
\item 
u32 \mbox{\hyperlink{structmlx5__cache__ent_a5a44e55a91c039c659494f498e7237ce}{cur}}
\item 
u32 \mbox{\hyperlink{structmlx5__cache__ent_a727235710bd0f4fd3d03daf22f94d71a}{miss}}
\item 
u32 \mbox{\hyperlink{structmlx5__cache__ent_ac97b1399e1e6886a59f7da2f5b4ec432}{limit}}
\item 
struct dentry $\ast$ \mbox{\hyperlink{structmlx5__cache__ent_a090401d7cc595de9bf4b8010f21f88a7}{fsize}}
\item 
struct dentry $\ast$ \mbox{\hyperlink{structmlx5__cache__ent_a4921f7ed2dd2b136725f5446d1df24da}{fcur}}
\item 
struct dentry $\ast$ \mbox{\hyperlink{structmlx5__cache__ent_a70c1338442f68ccb2a65ce6b627b9775}{fmiss}}
\item 
struct dentry $\ast$ \mbox{\hyperlink{structmlx5__cache__ent_a179044bcde7401cdfe0ad1cddf84ee16}{flimit}}
\item 
struct \mbox{\hyperlink{structmlx5__ib__dev}{mlx5\+\_\+ib\+\_\+dev}} $\ast$ \mbox{\hyperlink{structmlx5__cache__ent_a1623aaec0cbfb93b058d24b3c3bf751f}{dev}}
\item 
struct work\+\_\+struct \mbox{\hyperlink{structmlx5__cache__ent_a428c24b133871e685a4fb92c4897a129}{work}}
\item 
struct delayed\+\_\+work \mbox{\hyperlink{structmlx5__cache__ent_a2270717158881be9eb4e35f92c19dbc8}{dwork}}
\item 
int \mbox{\hyperlink{structmlx5__cache__ent_ad1646bfaadb0ce7d3a3e1cfad27500b8}{pending}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00590}{590}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



\doxysubsection{Field Documentation}
\mbox{\Hypertarget{structmlx5__cache__ent_a5a44e55a91c039c659494f498e7237ce}\label{structmlx5__cache__ent_a5a44e55a91c039c659494f498e7237ce}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!cur@{cur}}
\index{cur@{cur}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{cur}{cur}}
{\footnotesize\ttfamily u32 mlx5\+\_\+cache\+\_\+ent\+::cur}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00601}{601}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00255}{\+\_\+\+\_\+cache\+\_\+work\+\_\+func()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00323}{alloc\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00388}{clean\+\_\+keys()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00364}{free\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00110}{reg\+\_\+mr\+\_\+callback()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00216}{remove\+\_\+keys()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00243}{someone\+\_\+adding()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a1623aaec0cbfb93b058d24b3c3bf751f}\label{structmlx5__cache__ent_a1623aaec0cbfb93b058d24b3c3bf751f}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!dev@{dev}}
\index{dev@{dev}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{dev}{dev}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structmlx5__ib__dev}{mlx5\+\_\+ib\+\_\+dev}}$\ast$ mlx5\+\_\+cache\+\_\+ent\+::dev}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00610}{610}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00255}{\+\_\+\+\_\+cache\+\_\+work\+\_\+func()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00323}{alloc\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00364}{free\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00462}{mlx5\+\_\+mr\+\_\+cache\+\_\+cleanup()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00422}{mlx5\+\_\+mr\+\_\+cache\+\_\+init()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_ac9b2b34afa8256d4a704983ed5096976}\label{structmlx5__cache__ent_ac9b2b34afa8256d4a704983ed5096976}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!dir@{dir}}
\index{dir@{dir}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{dir}{dir}}
{\footnotesize\ttfamily struct dentry$\ast$ mlx5\+\_\+cache\+\_\+ent\+::dir}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00597}{597}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a2270717158881be9eb4e35f92c19dbc8}\label{structmlx5__cache__ent_a2270717158881be9eb4e35f92c19dbc8}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!dwork@{dwork}}
\index{dwork@{dwork}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{dwork}{dwork}}
{\footnotesize\ttfamily struct delayed\+\_\+work mlx5\+\_\+cache\+\_\+ent\+::dwork}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00612}{612}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00255}{\+\_\+\+\_\+cache\+\_\+work\+\_\+func()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00388}{clean\+\_\+keys()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00307}{delayed\+\_\+cache\+\_\+work\+\_\+func()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00422}{mlx5\+\_\+mr\+\_\+cache\+\_\+init()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a4921f7ed2dd2b136725f5446d1df24da}\label{structmlx5__cache__ent_a4921f7ed2dd2b136725f5446d1df24da}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!fcur@{fcur}}
\index{fcur@{fcur}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{fcur}{fcur}}
{\footnotesize\ttfamily struct dentry$\ast$ mlx5\+\_\+cache\+\_\+ent\+::fcur}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00606}{606}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a179044bcde7401cdfe0ad1cddf84ee16}\label{structmlx5__cache__ent_a179044bcde7401cdfe0ad1cddf84ee16}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!flimit@{flimit}}
\index{flimit@{flimit}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{flimit}{flimit}}
{\footnotesize\ttfamily struct dentry$\ast$ mlx5\+\_\+cache\+\_\+ent\+::flimit}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00608}{608}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a70c1338442f68ccb2a65ce6b627b9775}\label{structmlx5__cache__ent_a70c1338442f68ccb2a65ce6b627b9775}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!fmiss@{fmiss}}
\index{fmiss@{fmiss}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{fmiss}{fmiss}}
{\footnotesize\ttfamily struct dentry$\ast$ mlx5\+\_\+cache\+\_\+ent\+::fmiss}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00607}{607}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a090401d7cc595de9bf4b8010f21f88a7}\label{structmlx5__cache__ent_a090401d7cc595de9bf4b8010f21f88a7}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!fsize@{fsize}}
\index{fsize@{fsize}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{fsize}{fsize}}
{\footnotesize\ttfamily struct dentry$\ast$ mlx5\+\_\+cache\+\_\+ent\+::fsize}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00605}{605}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a53daca9ba0ddf10da1a2a45ce9aa8961}\label{structmlx5__cache__ent_a53daca9ba0ddf10da1a2a45ce9aa8961}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!head@{head}}
\index{head@{head}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{head}{head}}
{\footnotesize\ttfamily struct list\+\_\+head mlx5\+\_\+cache\+\_\+ent\+::head}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00591}{591}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00323}{alloc\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00388}{clean\+\_\+keys()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00364}{free\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00422}{mlx5\+\_\+mr\+\_\+cache\+\_\+init()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00110}{reg\+\_\+mr\+\_\+callback()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00216}{remove\+\_\+keys()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_ac97b1399e1e6886a59f7da2f5b4ec432}\label{structmlx5__cache__ent_ac97b1399e1e6886a59f7da2f5b4ec432}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!limit@{limit}}
\index{limit@{limit}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{limit}{limit}}
{\footnotesize\ttfamily u32 mlx5\+\_\+cache\+\_\+ent\+::limit}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00603}{603}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00255}{\+\_\+\+\_\+cache\+\_\+work\+\_\+func()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00323}{alloc\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00364}{free\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00422}{mlx5\+\_\+mr\+\_\+cache\+\_\+init()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00243}{someone\+\_\+adding()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_af356c69015af6f7501976c3e245756d7}\label{structmlx5__cache__ent_af356c69015af6f7501976c3e245756d7}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!lock@{lock}}
\index{lock@{lock}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{lock}{lock}}
{\footnotesize\ttfamily spinlock\+\_\+t mlx5\+\_\+cache\+\_\+ent\+::lock}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00594}{594}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00155}{add\+\_\+keys()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00323}{alloc\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00388}{clean\+\_\+keys()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00364}{free\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00422}{mlx5\+\_\+mr\+\_\+cache\+\_\+init()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00110}{reg\+\_\+mr\+\_\+callback()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00216}{remove\+\_\+keys()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a727235710bd0f4fd3d03daf22f94d71a}\label{structmlx5__cache__ent_a727235710bd0f4fd3d03daf22f94d71a}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!miss@{miss}}
\index{miss@{miss}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{miss}{miss}}
{\footnotesize\ttfamily u32 mlx5\+\_\+cache\+\_\+ent\+::miss}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00602}{602}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00323}{alloc\+\_\+cached\+\_\+mr()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a740f25593747c419090866c20268dc2c}\label{structmlx5__cache__ent_a740f25593747c419090866c20268dc2c}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!name@{name}}
\index{name@{name}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{name}{name}}
{\footnotesize\ttfamily char mlx5\+\_\+cache\+\_\+ent\+::name\mbox{[}4\mbox{]}}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00598}{598}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.

\mbox{\Hypertarget{structmlx5__cache__ent_ab0549a2e8eb9791c01405acee2c96764}\label{structmlx5__cache__ent_ab0549a2e8eb9791c01405acee2c96764}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!order@{order}}
\index{order@{order}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{order}{order}}
{\footnotesize\ttfamily u32 mlx5\+\_\+cache\+\_\+ent\+::order}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00599}{599}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00255}{\+\_\+\+\_\+cache\+\_\+work\+\_\+func()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00155}{add\+\_\+keys()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00323}{alloc\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00422}{mlx5\+\_\+mr\+\_\+cache\+\_\+init()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00066}{order2idx()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_ad1646bfaadb0ce7d3a3e1cfad27500b8}\label{structmlx5__cache__ent_ad1646bfaadb0ce7d3a3e1cfad27500b8}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!pending@{pending}}
\index{pending@{pending}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{pending}{pending}}
{\footnotesize\ttfamily int mlx5\+\_\+cache\+\_\+ent\+::pending}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00613}{613}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00155}{add\+\_\+keys()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00110}{reg\+\_\+mr\+\_\+callback()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a3a645df8fe0c9abd9ccda55cb82bf7e2}\label{structmlx5__cache__ent_a3a645df8fe0c9abd9ccda55cb82bf7e2}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!size@{size}}
\index{size@{size}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{size}{size}}
{\footnotesize\ttfamily u32 mlx5\+\_\+cache\+\_\+ent\+::size}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00600}{600}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00388}{clean\+\_\+keys()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00110}{reg\+\_\+mr\+\_\+callback()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00216}{remove\+\_\+keys()}}.

\mbox{\Hypertarget{structmlx5__cache__ent_a428c24b133871e685a4fb92c4897a129}\label{structmlx5__cache__ent_a428c24b133871e685a4fb92c4897a129}} 
\index{mlx5\_cache\_ent@{mlx5\_cache\_ent}!work@{work}}
\index{work@{work}!mlx5\_cache\_ent@{mlx5\_cache\_ent}}
\doxysubsubsection{\texorpdfstring{work}{work}}
{\footnotesize\ttfamily struct work\+\_\+struct mlx5\+\_\+cache\+\_\+ent\+::work}



Definition at line \mbox{\hyperlink{mlx5__ib_8h_source_l00611}{611}} of file \mbox{\hyperlink{mlx5__ib_8h_source}{mlx5\+\_\+ib.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00255}{\+\_\+\+\_\+cache\+\_\+work\+\_\+func()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00323}{alloc\+\_\+cached\+\_\+mr()}}, \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00364}{free\+\_\+cached\+\_\+mr()}}, and \mbox{\hyperlink{mlx5__ib__mr_8c_source_l00422}{mlx5\+\_\+mr\+\_\+cache\+\_\+init()}}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
dev/mlx5/mlx5\+\_\+ib/\mbox{\hyperlink{mlx5__ib_8h}{mlx5\+\_\+ib.\+h}}\end{DoxyCompactItemize}
