'\" t .\" Title: mpt_get_msg_frame .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MPT_GET_MSG_FRAME" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Message-based devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mpt_get_msg_frame \- Obtain an MPT request frame from the pool .SH "SYNOPSIS" .HP \w'MPT_FRAME_HDR*\ mpt_get_msg_frame('u .BI "MPT_FRAME_HDR* mpt_get_msg_frame(u8\ " "cb_idx" ", MPT_ADAPTER\ *\ " "ioc" ");" .SH "ARGUMENTS" .PP \fIcb_idx\fR .RS 4 Handle of registered MPT protocol driver .RE .PP \fIioc\fR .RS 4 Pointer to MPT adapter structure .RE .SH "DESCRIPTION" .PP Obtain an MPT request frame from the pool (of 1024) that are allocated per MPT adapter\&. .PP Returns pointer to a MPT request frame or \fBNULL\fR if none are available or IOC is not active\&. .SH "COPYRIGHT" .br