.\" 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_FOR_ALL" "" "06 October 2005" "" "" .SH NAME snd_pcm_lib_preallocate_pages_for_all \- pre-allocation for continous memory type (all substreams) .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_pcm_lib_preallocate_pages_for_all (snd_pcm_t * \fIpcm\fB, size_t \fIsize\fB, size_t \fImax\fB, unsigned int \fIflags\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpcm\fB\fR pcm to assign the buffer .TP \fB\fIsize\fB\fR the requested pre-allocation size in bytes .TP \fB\fImax\fB\fR max. buffer size acceptable for the changes via proc file .TP \fB\fIflags\fB\fR allocation condition, GFP_XXX .SH "DESCRIPTION" .PP Do pre-allocation to all substreams of the given pcm for the continuous memory type. .PP Returns zero if successful, or a negative error code on failure.