'\" t .\" Title: snd_malloc_pages .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Management of Cards and Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_MALLOC_PAGES" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Management of Cards and Device" .\" ----------------------------------------------------------------- .\" * 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" snd_malloc_pages \- allocate pages with the given size .SH "SYNOPSIS" .HP \w'void\ *\ snd_malloc_pages('u .BI "void * snd_malloc_pages(size_t\ " "size" ", gfp_t\ " "gfp_flags" ");" .SH "ARGUMENTS" .PP \fIsize\fR .RS 4 the size to allocate in bytes .RE .PP \fIgfp_flags\fR .RS 4 the allocation conditions, GFP_XXX .RE .SH "DESCRIPTION" .PP Allocates the physically contiguous pages with the given size\&. .SH "RETURN" .PP The pointer of the buffer, or \fBNULL\fR if no enough memory\&. .SH "COPYRIGHT" .br