'\" t .\" Title: mpt_host_page_alloc .\" 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_HOST_PAGE_ALLOC" "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_host_page_alloc \- allocate system memory for the fw .SH "SYNOPSIS" .HP \w'int\ mpt_host_page_alloc('u .BI "int mpt_host_page_alloc(MPT_ADAPTER\ *\ " "ioc" ", pIOCInit_t\ " "ioc_init" ");" .SH "ARGUMENTS" .PP \fIioc\fR .RS 4 Pointer to pointer to IOC adapter .RE .PP \fIioc_init\fR .RS 4 Pointer to ioc init config page .RE .SH "DESCRIPTION" .PP If we already allocated memory in past, then resend the same pointer\&. Returns 0 for success, non\-zero for failure\&. .SH "COPYRIGHT" .br