SND_PCM_LIB_PREALLOCATE_PAGES

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

snd_pcm_lib_preallocate_pages - pre-allocation for the continuous memory type  

SYNOPSIS

"SYNOPSIS"

int snd_pcm_lib_preallocate_pages (snd_pcm_substream_t * substream, size_t size, size_t max, unsigned int flags);  

ARGUMENTS

substream
the pcm substream instance
size
the requested pre-allocation size in bytes
max
the max. allowed pre-allocation size
flags
allocation condition, GFP_XXX
 

DESCRIPTION

Do pre-allocation for the continuous memory type.

Returns zero if successful, or a negative error code on failure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:58 GMT, October 06, 2005