.\" 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" "9" "09 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, int \fItype\fB, void * \fIdata\fB, size_t \fIsize\fB, size_t \fImax\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpcm\fB\fR -- undescribed -- .TP \fB\fItype\fB\fR DMA type (SNDRV_DMA_TYPE_*) .TP \fB\fIdata\fB\fR DMA type dependant data .TP \fB\fIsize\fB\fR the requested pre-allocation size in bytes .TP \fB\fImax\fB\fR the max. allowed pre-allocation size .SH "DESCRIPTION" .PP Do pre-allocation to all substreams of the given pcm for the specified DMA type. .PP Returns zero if successful, or a negative error code on failure.