.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SND_PCM_LIB_PREALLOCATE_PAGES" "" "06 October 2005" "" "" .SH NAME snd_pcm_lib_preallocate_pages \- pre-allocation for the continuous memory type .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_pcm_lib_preallocate_pages (snd_pcm_substream_t * \fIsubstream\fB, size_t \fIsize\fB, size_t \fImax\fB, unsigned int \fIflags\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsubstream\fB\fR the pcm substream instance .TP \fB\fIsize\fB\fR the requested pre-allocation size in bytes .TP \fB\fImax\fB\fR the max. allowed pre-allocation size .TP \fB\fIflags\fB\fR allocation condition, GFP_XXX .SH "DESCRIPTION" .PP Do pre-allocation for the continuous memory type. .PP Returns zero if successful, or a negative error code on failure.