'\" t .\" Title: kmalloc_array .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: Memory Management in Linux .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "KMALLOC_ARRAY" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "Memory Management in Linux" .\" ----------------------------------------------------------------- .\" * 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" kmalloc_array \- allocate memory for an array\&. .SH "SYNOPSIS" .HP \w'void\ *\ kmalloc_array('u .BI "void * kmalloc_array(size_t\ " "n" ", size_t\ " "size" ", gfp_t\ " "flags" ");" .SH "ARGUMENTS" .PP \fIn\fR .RS 4 number of elements\&. .RE .PP \fIsize\fR .RS 4 element size\&. .RE .PP \fIflags\fR .RS 4 the type of memory to allocate (see kmalloc)\&. .RE .SH "COPYRIGHT" .br