\hypertarget{usb__mbuf_8c}{}\doxysection{dev/usb/usb\+\_\+mbuf.c File Reference}
\label{usb__mbuf_8c}\index{dev/usb/usb\_mbuf.c@{dev/usb/usb\_mbuf.c}}
{\ttfamily \#include $<$sys/stdint.\+h$>$}\newline
{\ttfamily \#include $<$sys/stddef.\+h$>$}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/queue.\+h$>$}\newline
{\ttfamily \#include $<$sys/types.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/lock.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$sys/condvar.\+h$>$}\newline
{\ttfamily \#include $<$sys/sysctl.\+h$>$}\newline
{\ttfamily \#include $<$sys/sx.\+h$>$}\newline
{\ttfamily \#include $<$sys/unistd.\+h$>$}\newline
{\ttfamily \#include $<$sys/callout.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$sys/priv.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usbdi.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb\+\_\+dev.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb\+\_\+mbuf.\+h$>$}\newline
Include dependency graph for usb\+\_\+mbuf.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/dcf/usb__mbuf_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void $\ast$ \mbox{\hyperlink{usb__mbuf_8c_a956d7e2ac8bfec14073b3ffdceae89ec}{usb\+\_\+alloc\+\_\+mbufs}} (struct malloc\+\_\+type $\ast$\textbf{ type}, struct \mbox{\hyperlink{structusb__ifqueue}{usb\+\_\+ifqueue}} $\ast$ifq, \mbox{\hyperlink{usb__freebsd_8h_aef76bd5158b84c44681a07bc5f22aff1}{usb\+\_\+size\+\_\+t}} block\+\_\+size, uint16\+\_\+t nblocks)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{usb__mbuf_8c_a956d7e2ac8bfec14073b3ffdceae89ec}\label{usb__mbuf_8c_a956d7e2ac8bfec14073b3ffdceae89ec}} 
\index{usb\_mbuf.c@{usb\_mbuf.c}!usb\_alloc\_mbufs@{usb\_alloc\_mbufs}}
\index{usb\_alloc\_mbufs@{usb\_alloc\_mbufs}!usb\_mbuf.c@{usb\_mbuf.c}}
\doxysubsubsection{\texorpdfstring{usb\_alloc\_mbufs()}{usb\_alloc\_mbufs()}}
{\footnotesize\ttfamily void $\ast$ usb\+\_\+alloc\+\_\+mbufs (\begin{DoxyParamCaption}\item[{struct malloc\+\_\+type $\ast$}]{type,  }\item[{struct \mbox{\hyperlink{structusb__ifqueue}{usb\+\_\+ifqueue}} $\ast$}]{ifq,  }\item[{\mbox{\hyperlink{usb__freebsd_8h_aef76bd5158b84c44681a07bc5f22aff1}{usb\+\_\+size\+\_\+t}}}]{block\+\_\+size,  }\item[{uint16\+\_\+t}]{nblocks }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{usb__mbuf_8c_source_l00065}{65}} of file \mbox{\hyperlink{usb__mbuf_8c_source}{usb\+\_\+mbuf.\+c}}.



References \mbox{\hyperlink{usb__mbuf_8h_source_l00042}{usb\+\_\+mbuf\+::cur\+\_\+data\+\_\+len}}, \mbox{\hyperlink{usb__mbuf_8h_source_l00037}{usb\+\_\+mbuf\+::cur\+\_\+data\+\_\+ptr}}, \mbox{\hyperlink{usb__mbuf_8h_source_l00043}{usb\+\_\+mbuf\+::max\+\_\+data\+\_\+len}}, \mbox{\hyperlink{usb__mbuf_8h_source_l00038}{usb\+\_\+mbuf\+::min\+\_\+data\+\_\+ptr}}, \textbf{ type}, \mbox{\hyperlink{usb__freebsd_8h_source_l00070}{USB\+\_\+\+HOST\+\_\+\+ALIGN}}, and \mbox{\hyperlink{usb__mbuf_8h_source_l00048}{USB\+\_\+\+IF\+\_\+\+ENQUEUE}}.

